1 #ifndef EDepSim_RooTrackerKinematicsGenerator_hh 2 #define EDepSim_RooTrackerKinematicsGenerator_hh 17 namespace EDepSim {
class RooTrackerKinematicsGenerator;}
36 const G4String& treeName,
37 const G4String& order,
double fStdHepX4[kNPmax][4]
double fStdHepP4[kNPmax][4]
The 4-momentum (px, py, pz, E) of the particle in the LAB frame (GeV)
int fNuParentPdg
The PDG code of the particle which created the parent neutrino.
int fStdHepN
The number of particles in the particle arrays to track.
std::vector< int > fEntryVector
virtual ~RooTrackerKinematicsGenerator()
std::string fFilename
The static part of the file name field.
TObjString * fEvtCode
The generator-specific string with the 'event code'.
int fNuParentProNVtx
The vertex ID of the parent particle vertex.
int fStdHepLd[kNPmax]
The index last daughter of the particle in the arrays.
GeneratorStatus
A status value that can be returned by GeneratePrimaryVertex.
TBits * fEvtFlags
The generator-specific event flags.
int fStdHepFd[kNPmax]
The index of the first daughter of the particle in the arrays.
TFile * fInput
The RooTracker file to read.
double fEvtXSec
The cross section for the event (1E-38 cm2)
double fStdHepPolz[kNPmax][3]
The particle polarization vector.
Construct a module from components.
double fEvtWght
The weight for the event.
int fEvtNum
The sequence number of the event (the event number).
TTree * fTree
The event tree that contains the output events.
static const int kNPmax
The maximum number of particles that can be in the particle arrays.
int fStdHepStatus[kNPmax]
RooTrackerKinematicsGenerator(const G4String &name, const G4String &fileName, const G4String &treeName, const G4String &order, int firstEvent)
int fStdHepFm[kNPmax]
The index of the first mother of the particle in there arrays.
virtual G4String GetInputName()
Get the name of the open kinematics file.
int fStdHepLm[kNPmax]
The index of the last mother of the particle in the arrays.
virtual GeneratorStatus GeneratePrimaryVertex(G4Event *evt, const G4LorentzVector &position)
Add a primary vertex to the event.