![]() |
FairShip
|
#include <NewMuDISGenerator.h>
Public Member Functions | |
| NewMuDISGenerator () | |
| ~NewMuDISGenerator () override | |
| Bool_t | ReadEvent (FairPrimaryGenerator *) override |
| Bool_t | Init (const char *, int) override |
| Bool_t | Init (const char *) override |
| Bool_t | Init (const std::vector< std::string > &, int) override |
| Bool_t | Init (const std::vector< std::string > &) override |
| Int_t | GetNevents () |
| void | SetNevents (int nMuons=-1) |
| Bool_t | RegisterOutputBranches (TTree *tree) |
| Int_t | GetMaterial () const |
| Public Member Functions inherited from SHiP::Generator | |
| Generator ()=default | |
| ~Generator () override | |
| virtual void | UseExternalFile (std::string x, Int_t i) |
| virtual void | UseExternalFile (std::vector< std::string > &inFiles, Int_t i) |
| void | SetMaxTheta (Double_t thetaX, Double_t thetaY) |
| Int_t | nrOfGeoRejections () const |
| Long64_t | GetCounter (const std::string &name) const |
| void | SetCounter (const std::string &name, Long64_t value) |
| void | IncrementCounter (const std::string &name, Long64_t delta=1) |
Static Public Member Functions | |
| static std::vector< std::string > | GetMaterialNames () |
Protected Member Functions | |
| bool | ValidateEntry (Long64_t entry) const |
| void | ResetOutputBranches () |
| Protected Member Functions inherited from SHiP::Generator | |
| bool | IsInVesselAcceptance (Double_t px, Double_t py, Double_t pz) const |
Protected Attributes | |
| FairLogger * | fLogger |
| TChain * | fTree |
| int | fNevents |
| int | fStartEvent = 0 |
| int | fMaxMuons = -1 |
| Long64_t | fEndEvent = 0 |
| bool | fEntryLoaded = false |
| ShipMuDIS::MuonInBranches | finEv |
| int | fn |
| Long64_t | fnmu |
| unsigned | fMat |
| Int_t | fDISMaterial = -1 |
| TString | fMaterialLabel |
| Int_t | fMuonEntry = -1 |
| Int_t | fDISIndex = -1 |
| Double_t | fDISXsec = -1. |
| Double_t | fPythiaP |
| std::vector< Int_t > | fNGenerated |
| int | fnmuDis |
| std::size_t | fnmuDisDau |
| Protected Attributes inherited from SHiP::Generator | |
| std::optional< std::string > | fextFile |
| Int_t | firstEvent = 0 |
| Double_t | fMaxThetaX = 0 |
| Double_t | fMaxThetaY = 0 |
| bool | fUseVesselAcceptance = false |
| Int_t | fnGeoRejects = 0 |
| std::unordered_map< std::string, int64_t > | fCounters |
Definition at line 19 of file NewMuDISGenerator.h.
| NewMuDISGenerator::NewMuDISGenerator | ( | ) |
default constructor
Definition at line 26 of file NewMuDISGenerator.cxx.
|
inlineoverride |
|
inline |
Definition at line 45 of file NewMuDISGenerator.h.
|
static |
Definition at line 37 of file NewMuDISGenerator.cxx.
| Int_t NewMuDISGenerator::GetNevents | ( | ) |
Definition at line 300 of file NewMuDISGenerator.cxx.
|
overridevirtual |
|
overridevirtual |
Implements SHiP::Generator.
Definition at line 128 of file NewMuDISGenerator.cxx.
|
overridevirtual |
Reimplemented from SHiP::Generator.
Definition at line 50 of file NewMuDISGenerator.cxx.
|
overridevirtual |
Reimplemented from SHiP::Generator.
Definition at line 54 of file NewMuDISGenerator.cxx.
|
override |
Definition at line 134 of file NewMuDISGenerator.cxx.
| Bool_t NewMuDISGenerator::RegisterOutputBranches | ( | TTree * | tree | ) |
Definition at line 302 of file NewMuDISGenerator.cxx.
|
protected |
Definition at line 322 of file NewMuDISGenerator.cxx.
| void NewMuDISGenerator::SetNevents | ( | int | nMuons = -1 | ) |
Definition at line 347 of file NewMuDISGenerator.cxx.
|
protected |
Definition at line 332 of file NewMuDISGenerator.cxx.
|
protected |
Definition at line 64 of file NewMuDISGenerator.h.
|
protected |
Definition at line 61 of file NewMuDISGenerator.h.
|
protected |
Definition at line 65 of file NewMuDISGenerator.h.
|
protected |
Definition at line 53 of file NewMuDISGenerator.h.
|
protected |
Definition at line 54 of file NewMuDISGenerator.h.
|
protected |
Definition at line 57 of file NewMuDISGenerator.h.
|
protected |
Definition at line 48 of file NewMuDISGenerator.h.
|
protected |
Definition at line 60 of file NewMuDISGenerator.h.
|
protected |
Definition at line 62 of file NewMuDISGenerator.h.
|
protected |
Definition at line 52 of file NewMuDISGenerator.h.
|
protected |
Definition at line 63 of file NewMuDISGenerator.h.
|
protected |
Definition at line 58 of file NewMuDISGenerator.h.
|
protected |
Definition at line 50 of file NewMuDISGenerator.h.
|
protected |
Definition at line 68 of file NewMuDISGenerator.h.
|
protected |
Definition at line 59 of file NewMuDISGenerator.h.
|
protected |
Definition at line 69 of file NewMuDISGenerator.h.
|
protected |
Definition at line 70 of file NewMuDISGenerator.h.
|
protected |
Definition at line 66 of file NewMuDISGenerator.h.
|
protected |
Definition at line 51 of file NewMuDISGenerator.h.
|
protected |
Definition at line 49 of file NewMuDISGenerator.h.