ACTARSim
ACTAR TPC Simulation Reference Guide
|
The information from the primaries generated in the reaction vertex. Information to be accessed in the ROOT file per event
Definition at line 19 of file ActarSimPrimaryInfo.hh.
Public Member Functions | |
ActarSimPrimaryInfo () | |
ActarSimPrimaryInfo (G4PrimaryParticle *) | |
Constructor from a primary. More... | |
~ActarSimPrimaryInfo () | |
Destructor. Makes nothing. More... | |
Int_t | GetNbPrimariesInEvent () const |
Double_t | GetKineticEnergy () const |
Double_t | GetTheta () const |
Double_t | GetPhi () const |
Int_t | GetPDGcode () const |
Double_t | GetPx () const |
Double_t | GetPy () const |
Double_t | GetPz () const |
Int_t | GetTrackID () const |
Double_t | GetMass () const |
Double_t | GetCharge () const |
Double_t | GetPolX () const |
Double_t | GetPolY () const |
Double_t | GetPolZ () const |
Double_t | GetWeight () const |
Double_t | GetProperTime () const |
Double_t | GetEventID () const |
Double_t | GetRunID () const |
Double_t | GetX0 () const |
Double_t | GetY0 () const |
Double_t | GetZ0 () const |
void | SetNbPrimariesInEvent (Int_t nb) |
void | SetKineticEnergy (Double_t kin) |
void | SetTheta (Double_t t) |
void | SetPhi (Double_t p) |
void | SetPDGcode (Int_t PDG) |
void | SetPx (Double_t val) |
void | SetPy (Double_t val) |
void | SetPz (Double_t val) |
void | SetTrackID (Int_t tr) |
void | SetMass (Double_t m) |
void | SetCharge (Double_t c) |
void | SetPolX (Double_t p) |
void | SetPolY (Double_t p) |
void | SetPolZ (Double_t p) |
void | SetWeight (Double_t w) |
void | SetProperTime (Double_t pt) |
void | SetEventID (UInt_t eID) |
void | SetRunID (UInt_t rID) |
void | SetX0 (UInt_t x) |
void | SetY0 (UInt_t y) |
void | SetZ0 (UInt_t z) |
void | SetVertexPosition (Double_t x, Double_t y, Double_t z) |
Sets the position of the vertex (origin of the primary particle) More... | |
void | SetMomentum (Double_t px, Double_t py, Double_t pz) |
Sets the momentum. More... | |
void | Set4Momentum (Double_t px, Double_t py, Double_t pz, Double_t E) |
Sets the 4momentum. More... | |
void | SetPolarization (Double_t px, Double_t py, Double_t pz) |
Sets the polarization. More... | |
void | print (void) |
Prints info. More... | |
Private Attributes | |
UInt_t | nbPrimariesInEvent |
Number of primaries in the event. More... | |
Double_t | kineticEnergy |
Kinetic energy. More... | |
Double_t | theta |
Theta emission angle. More... | |
Double_t | phi |
Phi emission angle. More... | |
Int_t | PDGcode |
PDG code. Datamembers copied from G4PrimaryParticle. More... | |
Double_t | Px |
X component of the momentum. More... | |
Double_t | Py |
Y component of the momentum. More... | |
Double_t | Pz |
Z component of the momentum. More... | |
Int_t | trackID |
Rrack ID. More... | |
Double_t | mass |
Particle mass. More... | |
Double_t | charge |
Partcile charge. More... | |
Double_t | polX |
Particle polarization along X. More... | |
Double_t | polY |
Particle polarization along Y. More... | |
Double_t | polZ |
Particle polarization along Z. More... | |
Double_t | Weight0 |
Particle weight. More... | |
Double_t | properTime |
Partice proper time. More... | |
Double_t | x0 |
Vertex position in X. More... | |
Double_t | y0 |
Vertex position in X. More... | |
Double_t | z0 |
Vertex position in X. More... | |
UInt_t | eventID |
Event ID. More... | |
UInt_t | runID |
Run ID. More... | |
#include <ActarSimPrimaryInfo.hh>
ActarSimPrimaryInfo::ActarSimPrimaryInfo | ( | ) |
ActarSimPrimaryInfo::ActarSimPrimaryInfo | ( | G4PrimaryParticle * | prim | ) |
Constructor from a primary.
Definition at line 54 of file ActarSimPrimaryInfo.cc.
ActarSimPrimaryInfo::~ActarSimPrimaryInfo | ( | ) |
Destructor. Makes nothing.
Definition at line 81 of file ActarSimPrimaryInfo.cc.
|
inline |
Definition at line 62 of file ActarSimPrimaryInfo.hh.
|
inline |
Definition at line 68 of file ActarSimPrimaryInfo.hh.
|
inline |
Definition at line 53 of file ActarSimPrimaryInfo.hh.
|
inline |
Definition at line 61 of file ActarSimPrimaryInfo.hh.
|
inline |
Definition at line 52 of file ActarSimPrimaryInfo.hh.
|
inline |
Definition at line 56 of file ActarSimPrimaryInfo.hh.
|
inline |
Definition at line 55 of file ActarSimPrimaryInfo.hh.
|
inline |
Definition at line 63 of file ActarSimPrimaryInfo.hh.
|
inline |
Definition at line 64 of file ActarSimPrimaryInfo.hh.
|
inline |
Definition at line 65 of file ActarSimPrimaryInfo.hh.
|
inline |
Definition at line 67 of file ActarSimPrimaryInfo.hh.
|
inline |
Definition at line 57 of file ActarSimPrimaryInfo.hh.
|
inline |
Definition at line 58 of file ActarSimPrimaryInfo.hh.
|
inline |
Definition at line 59 of file ActarSimPrimaryInfo.hh.
|
inline |
Definition at line 69 of file ActarSimPrimaryInfo.hh.
|
inline |
Definition at line 54 of file ActarSimPrimaryInfo.hh.
|
inline |
Definition at line 60 of file ActarSimPrimaryInfo.hh.
|
inline |
Definition at line 66 of file ActarSimPrimaryInfo.hh.
|
inline |
Definition at line 70 of file ActarSimPrimaryInfo.hh.
|
inline |
Definition at line 71 of file ActarSimPrimaryInfo.hh.
|
inline |
Definition at line 72 of file ActarSimPrimaryInfo.hh.
void ActarSimPrimaryInfo::print | ( | void | ) |
void ActarSimPrimaryInfo::Set4Momentum | ( | Double_t | px, |
Double_t | py, | ||
Double_t | pz, | ||
Double_t | E | ||
) |
|
inline |
Definition at line 84 of file ActarSimPrimaryInfo.hh.
|
inline |
Definition at line 90 of file ActarSimPrimaryInfo.hh.
Referenced by ActarSimROOTAnalysis::GeneratePrimaries().
|
inline |
Definition at line 75 of file ActarSimPrimaryInfo.hh.
|
inline |
Definition at line 83 of file ActarSimPrimaryInfo.hh.
void ActarSimPrimaryInfo::SetMomentum | ( | Double_t | px, |
Double_t | py, | ||
Double_t | pz | ||
) |
|
inline |
Definition at line 74 of file ActarSimPrimaryInfo.hh.
Referenced by ActarSimROOTAnalysis::GeneratePrimaries().
|
inline |
Definition at line 78 of file ActarSimPrimaryInfo.hh.
|
inline |
Definition at line 77 of file ActarSimPrimaryInfo.hh.
void ActarSimPrimaryInfo::SetPolarization | ( | Double_t | px, |
Double_t | py, | ||
Double_t | pz | ||
) |
Sets the polarization.
Definition at line 148 of file ActarSimPrimaryInfo.cc.
Referenced by SetZ0().
|
inline |
Definition at line 85 of file ActarSimPrimaryInfo.hh.
|
inline |
Definition at line 86 of file ActarSimPrimaryInfo.hh.
|
inline |
Definition at line 87 of file ActarSimPrimaryInfo.hh.
|
inline |
Definition at line 89 of file ActarSimPrimaryInfo.hh.
|
inline |
Definition at line 79 of file ActarSimPrimaryInfo.hh.
|
inline |
Definition at line 80 of file ActarSimPrimaryInfo.hh.
|
inline |
Definition at line 81 of file ActarSimPrimaryInfo.hh.
|
inline |
Definition at line 91 of file ActarSimPrimaryInfo.hh.
Referenced by ActarSimROOTAnalysis::GeneratePrimaries().
|
inline |
Definition at line 76 of file ActarSimPrimaryInfo.hh.
|
inline |
Definition at line 82 of file ActarSimPrimaryInfo.hh.
void ActarSimPrimaryInfo::SetVertexPosition | ( | Double_t | x, |
Double_t | y, | ||
Double_t | z | ||
) |
Sets the position of the vertex (origin of the primary particle)
Definition at line 114 of file ActarSimPrimaryInfo.cc.
Referenced by ActarSimROOTAnalysis::GeneratePrimaries(), and SetZ0().
|
inline |
Definition at line 88 of file ActarSimPrimaryInfo.hh.
|
inline |
Definition at line 92 of file ActarSimPrimaryInfo.hh.
|
inline |
Definition at line 93 of file ActarSimPrimaryInfo.hh.
|
inline |
Definition at line 94 of file ActarSimPrimaryInfo.hh.
|
private |
Partcile charge.
Definition at line 32 of file ActarSimPrimaryInfo.hh.
Referenced by ActarSimPrimaryInfo(), GetCharge(), and print().
|
private |
Event ID.
Definition at line 44 of file ActarSimPrimaryInfo.hh.
Referenced by GetEventID(), and print().
|
private |
Kinetic energy.
Definition at line 22 of file ActarSimPrimaryInfo.hh.
Referenced by ActarSimPrimaryInfo(), GetKineticEnergy(), and print().
|
private |
Particle mass.
Definition at line 31 of file ActarSimPrimaryInfo.hh.
Referenced by ActarSimPrimaryInfo(), GetMass(), print(), and Set4Momentum().
|
private |
Number of primaries in the event.
Definition at line 21 of file ActarSimPrimaryInfo.hh.
Referenced by GetNbPrimariesInEvent(), and print().
|
private |
PDG code. Datamembers copied from G4PrimaryParticle.
Definition at line 26 of file ActarSimPrimaryInfo.hh.
Referenced by ActarSimPrimaryInfo(), GetPDGcode(), and print().
|
private |
Phi emission angle.
Definition at line 24 of file ActarSimPrimaryInfo.hh.
Referenced by ActarSimPrimaryInfo(), GetPhi(), print(), and SetMomentum().
|
private |
Particle polarization along X.
Definition at line 33 of file ActarSimPrimaryInfo.hh.
Referenced by ActarSimPrimaryInfo(), GetPolX(), print(), and SetPolarization().
|
private |
Particle polarization along Y.
Definition at line 34 of file ActarSimPrimaryInfo.hh.
Referenced by ActarSimPrimaryInfo(), GetPolY(), print(), and SetPolarization().
|
private |
Particle polarization along Z.
Definition at line 35 of file ActarSimPrimaryInfo.hh.
Referenced by ActarSimPrimaryInfo(), GetPolZ(), print(), and SetPolarization().
|
private |
Partice proper time.
Definition at line 37 of file ActarSimPrimaryInfo.hh.
Referenced by ActarSimPrimaryInfo(), GetProperTime(), and print().
|
private |
X component of the momentum.
Definition at line 27 of file ActarSimPrimaryInfo.hh.
Referenced by ActarSimPrimaryInfo(), GetPx(), print(), Set4Momentum(), and SetMomentum().
|
private |
Y component of the momentum.
Definition at line 28 of file ActarSimPrimaryInfo.hh.
Referenced by ActarSimPrimaryInfo(), GetPy(), print(), Set4Momentum(), and SetMomentum().
|
private |
Z component of the momentum.
Definition at line 29 of file ActarSimPrimaryInfo.hh.
Referenced by ActarSimPrimaryInfo(), GetPz(), print(), Set4Momentum(), and SetMomentum().
|
private |
Run ID.
Definition at line 45 of file ActarSimPrimaryInfo.hh.
Referenced by GetRunID(), and print().
|
private |
Theta emission angle.
Definition at line 23 of file ActarSimPrimaryInfo.hh.
Referenced by ActarSimPrimaryInfo(), GetTheta(), print(), and SetMomentum().
|
private |
Rrack ID.
Definition at line 30 of file ActarSimPrimaryInfo.hh.
Referenced by ActarSimPrimaryInfo(), GetTrackID(), and print().
|
private |
Particle weight.
Definition at line 36 of file ActarSimPrimaryInfo.hh.
Referenced by ActarSimPrimaryInfo(), GetWeight(), and print().
|
private |
Vertex position in X.
Definition at line 39 of file ActarSimPrimaryInfo.hh.
Referenced by GetX0(), print(), and SetVertexPosition().
|
private |
Vertex position in X.
Definition at line 40 of file ActarSimPrimaryInfo.hh.
Referenced by GetY0(), print(), and SetVertexPosition().
|
private |
Vertex position in X.
Definition at line 41 of file ActarSimPrimaryInfo.hh.
Referenced by GetZ0(), print(), and SetVertexPosition().