10 #ifndef ActarSimPrimaryInfo_h 11 #define ActarSimPrimaryInfo_h 1 17 class G4PrimaryParticle;
57 inline Double_t
GetPx()
const {
return Px; }
58 inline Double_t
GetPy()
const {
return Py; }
59 inline Double_t
GetPz()
const {
return Pz; }
70 inline Double_t
GetX0()
const {
return x0; }
71 inline Double_t
GetY0()
const {
return y0; }
72 inline Double_t
GetZ0()
const {
return z0; }
76 inline void SetTheta(Double_t t) { theta = t; }
77 inline void SetPhi(Double_t p) { phi = p; }
79 inline void SetPx(Double_t val) { Px = val; }
80 inline void SetPy(Double_t val) { Py = val; }
81 inline void SetPz(Double_t val) { Pz = val; }
83 inline void SetMass(Double_t m) { mass = m; }
85 inline void SetPolX(Double_t p) { polX = p; }
86 inline void SetPolY(Double_t p) { polY = p; }
87 inline void SetPolZ(Double_t p) { polZ = p; }
91 inline void SetRunID(UInt_t rID) { runID = rID; }
92 inline void SetX0(UInt_t x) { x0 = x; }
93 inline void SetY0(UInt_t y) { y0 = y; }
94 inline void SetZ0(UInt_t z) { z0 = z; }
97 void SetMomentum(Double_t px,Double_t py,Double_t pz);
98 void Set4Momentum(Double_t px,Double_t py,Double_t pz,Double_t E);
Double_t GetRunID() const
Double_t y0
Vertex position in X.
Double_t GetProperTime() const
void SetNbPrimariesInEvent(Int_t nb)
Double_t x0
Vertex position in X.
Double_t kineticEnergy
Kinetic energy.
Int_t GetNbPrimariesInEvent() const
Double_t properTime
Partice proper time.
Double_t GetKineticEnergy() const
void SetWeight(Double_t w)
Double_t GetTheta() const
Double_t Weight0
Particle weight.
Double_t Px
X component of the momentum.
Double_t Pz
Z component of the momentum.
Double_t theta
Theta emission angle.
void SetMomentum(Double_t px, Double_t py, Double_t pz)
Sets the momentum.
Double_t mass
Particle mass.
void SetEventID(UInt_t eID)
Double_t Py
Y component of the momentum.
void Set4Momentum(Double_t px, Double_t py, Double_t pz, Double_t E)
Sets the 4momentum.
void SetProperTime(Double_t pt)
Int_t PDGcode
PDG code. Datamembers copied from G4PrimaryParticle.
void SetTrackID(Int_t tr)
void SetPDGcode(Int_t PDG)
Double_t GetWeight() const
Double_t GetCharge() const
void SetCharge(Double_t c)
Double_t polZ
Particle polarization along Z.
void SetRunID(UInt_t rID)
Double_t polX
Particle polarization along X.
Double_t GetEventID() const
void SetVertexPosition(Double_t x, Double_t y, Double_t z)
Sets the position of the vertex (origin of the primary particle)
Double_t polY
Particle polarization along Y.
Double_t phi
Phi emission angle.
UInt_t nbPrimariesInEvent
Number of primaries in the event.
void print(void)
Prints info.
~ActarSimPrimaryInfo()
Destructor. Makes nothing.
Double_t charge
Partcile charge.
void SetPolarization(Double_t px, Double_t py, Double_t pz)
Sets the polarization.
void SetKineticEnergy(Double_t kin)
void SetTheta(Double_t t)
Double_t z0
Vertex position in X.