18#ifndef BDSOUTPUTROOTEVENTSAMPLERS_H
19#define BDSOUTPUTROOTEVENTSAMPLERS_H
46 std::string samplerName;
49 std::vector<float> totalEnergy;
50 std::vector<float> theta;
51 std::vector<float> phi;
52 std::vector<float> rp;
53 std::vector<float> thetap;
54 std::vector<float> phip;
58 std::vector<float> weight;
59 std::vector<int> partID;
60 std::vector<int> parentID;
61 std::vector<int> trackID;
63 std::vector<int> turnNumber;
92 G4bool storeMass =
false,
93 G4bool storeCharge =
false,
94 G4bool storeElectrons =
false,
95 G4bool storeRigidity =
false,
96 G4bool storeKineticEnergy =
false);
104 void SetBranchAddress(TTree*);
105 virtual void Flush();
The information recorded from a particle impacting a sampler.
Information stored per spherical sampler per event.
std::vector< int > getIonZ()
Function to calculate on the fly the parameters.
std::vector< bool > isIon
These are not filled by default.
void FillIon()
Calculate and fill calculated variables.
std::vector< int > ionA
These are not filled by default.
std::vector< int > getIonA()
Function to calculate on the fly the parameters.
std::vector< int > charge
These are not filled by default.
std::vector< int > ionZ
These are not filled by default.
std::vector< float > rigidity
These are not filled by default.
virtual void Flush()
Clean Sampler.
std::vector< float > getKineticEnergy()
Function to calculate on the fly the parameters.
std::vector< float > kineticEnergy
These are not filled by default.
std::vector< bool > getIsIon()
Function to calculate on the fly the parameters.
std::vector< float > getMass()
Function to calculate on the fly the parameters.
std::vector< float > mass
These are not filled by default.
std::vector< float > getRigidity()
Function to calculate on the fly the parameters.
std::vector< int > nElectrons
These are not filled by default.
Geant4 particle data for particles used in simulation.
A set of spherical particle coordinates.