![]() |
PandaRoot
|
#include <PndDskFLGHit.h>
Public Member Functions | |
PndDskFLGHit () | |
PndDskFLGHit (Int_t trackID, Int_t detectorID, TVector3 position, TVector3 momentum, Double_t time, Int_t pdgCode, TString pdgName, Double_t energy, Int_t motherTrackID, Int_t motherPdgCode, TString motherPdgName, Double_t mass, Double_t angIn, Double_t thetaC, TVector3 mom_cherenkov_photon, Int_t num_light_guide, Int_t num_pixel) | |
PndDskFLGHit (Int_t trackID, Int_t detectorID, TVector3 position, TVector3 momentum, Double_t time, Double_t angIn, Double_t thetaC, TVector3 mom_cherenkov_photon, Int_t num_light_guide, Int_t num_pixel) | |
virtual | ~PndDskFLGHit () |
virtual void | Print (const Option_t *opt) const |
void | SetFinalValues (TVector3 exitPosition, TVector3 exitMomentum, Double_t exitTime, Double_t exitEnergy) |
Int_t | GetPdgCode () const |
TString | GetPdgName () const |
Double_t | GetEnergy () const |
Int_t | GetMotherTrackID () const |
Int_t | GetMotherPdgCode () const |
TString | GetMotherPdgName () const |
Double_t | GetExitTime () const |
Double_t | GetExitEnergy () const |
Double_t | GetMass () const |
Double_t | GetAngIn () const |
Double_t | GetThetaC () const |
TVector3 | GetMomPhoton () const |
Int_t | GetNumLightGuide () const |
Int_t | GetNumPixel () const |
void | SetAngIn (Double_t ang) |
void | SetThetaC (Double_t theta) |
void | SetNumLightGuide (Int_t i) |
void | SetNumPixel (Int_t i) |
void | SetMomPhoton (TVector3 mom) |
![]() | |
PndMCPoint () | |
virtual | ~PndMCPoint () |
PndMCPoint (Int_t trackID, Int_t detID, TVector3 pos, TVector3 posOut, TVector3 mom, TVector3 momOut, Double_t tof, Double_t length, Double_t eLoss, UInt_t EventId=0) | |
Double_t | GetXOut () const |
Double_t | GetYOut () const |
Double_t | GetZOut () const |
Double_t | GetPxOut () const |
Double_t | GetPyOut () const |
Double_t | GetPzOut () const |
TVector3 | GetPosition () const |
TVector3 | GetPositionOut () const |
TVector3 | GetMeanPosition () const |
void | PositionOut (TVector3 &pos) const |
TVector3 | GetMomentum () const |
TVector3 | GetMomentumOut () const |
void | MomentumOut (TVector3 &mom) const |
void | SetPositionOut (TVector3 pos) |
void | SetMomentumOut (TVector3 mom) |
Protected Attributes | |
Int_t | fPdgCode = -1 |
PDG code of particle. More... | |
TString | fPdgName |
PDG name according to fPdgCode. More... | |
Double_t | fEnergy = 0. |
Energy [GeV]. More... | |
Double_t | fMass = 0. |
Int_t | fMotherTrackID = -1 |
Track ID of the first mother. More... | |
Int_t | fMotherPdgCode = -1 |
PDG code of the particle with fMotherTrackID. More... | |
TString | fMotherPdgName |
PDG name according to fMotherPdgCode. More... | |
Double_t | fExitTime = 0. |
Time when particle disappears [ns]. More... | |
Double_t | fExitEnergy = 0. |
Energy when particle disappears [GeV]. More... | |
Double_t | fThetaC = 0. |
Double_t | fAngIn = 0. |
TVector3 | fMom_cherenkov_photon |
Int_t | fNum_light_guide = -1 |
Int_t | fNum_pixel = -1 |
![]() | |
Double32_t | fXOut = 0. |
Double32_t | fYOut = 0. |
Double32_t | fZOut = 0. |
Double32_t | fPxOut = 0. |
Double32_t | fPyOut = 0. |
Double32_t | fPzOut = 0. |
Additional Inherited Members | |
![]() | |
ClassDef (PndMCPoint, 1) | |
Definition at line 11 of file PndDskFLGHit.h.
PndDskFLGHit::PndDskFLGHit | ( | ) |
Default constructor
PndDskFLGHit::PndDskFLGHit | ( | Int_t | trackID, |
Int_t | detectorID, | ||
TVector3 | position, | ||
TVector3 | momentum, | ||
Double_t | time, | ||
Int_t | pdgCode, | ||
TString | pdgName, | ||
Double_t | energy, | ||
Int_t | motherTrackID, | ||
Int_t | motherPdgCode, | ||
TString | motherPdgName, | ||
Double_t | mass, | ||
Double_t | angIn, | ||
Double_t | thetaC, | ||
TVector3 | mom_cherenkov_photon, | ||
Int_t | num_light_guide, | ||
Int_t | num_pixel | ||
) |
Standard constructor with arguments
trackID | Index of MCTrack |
detectorID | Detector ID where the first hit is produced |
position | Position of Particle when created [cm] |
momentum | Momentum of Particle when created [eV] |
time | Time since event start when created [ns] |
pdgCode | Particles PDG code |
pdgName | Particles PDG name according to pdgCode |
energy | Energy of the Particle when created [GeV] |
motherTrackID | Track ID of particle that created the Particle |
motherPdgCode | PDG Code of particle that created the Particle |
motherPdgName | PDG Name of particle that created the Particle |
PndDskFLGHit::PndDskFLGHit | ( | Int_t | trackID, |
Int_t | detectorID, | ||
TVector3 | position, | ||
TVector3 | momentum, | ||
Double_t | time, | ||
Double_t | angIn, | ||
Double_t | thetaC, | ||
TVector3 | mom_cherenkov_photon, | ||
Int_t | num_light_guide, | ||
Int_t | num_pixel | ||
) |
|
virtual |
Copy constructor Destructor
|
inline |
|
inline |
|
inline |
Definition at line 66 of file PndDskFLGHit.h.
References fExitEnergy.
|
inline |
Definition at line 65 of file PndDskFLGHit.h.
References fExitTime.
|
inline |
|
inline |
|
inline |
Definition at line 63 of file PndDskFLGHit.h.
References fMotherPdgCode.
|
inline |
Definition at line 64 of file PndDskFLGHit.h.
References fMotherPdgName.
|
inline |
Definition at line 62 of file PndDskFLGHit.h.
References fMotherTrackID.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
virtual |
Virtual method Print
Screen output of Particle
|
inline |
void PndDskFLGHit::SetFinalValues | ( | TVector3 | exitPosition, |
TVector3 | exitMomentum, | ||
Double_t | exitTime, | ||
Double_t | exitEnergy | ||
) |
Method SetFinalValues
Set the final values for a particle
exitPosition | Position when particle disappears [cm] |
exitMomentum | Momentum when particle disappears [GeV] |
exitTime | Time when particle disappears [ns] |
exitEnergy | Energy when particle disappears [GeV] |
|
inline |
|
inline |
|
inline |
|
inline |
|
protected |
Definition at line 96 of file PndDskFLGHit.h.
Referenced by GetAngIn(), and SetAngIn().
|
protected |
|
protected |
Energy when particle disappears [GeV].
Definition at line 93 of file PndDskFLGHit.h.
Referenced by GetExitEnergy().
|
protected |
Time when particle disappears [ns].
Definition at line 92 of file PndDskFLGHit.h.
Referenced by GetExitTime().
|
protected |
Definition at line 86 of file PndDskFLGHit.h.
Referenced by GetMass().
|
protected |
Definition at line 97 of file PndDskFLGHit.h.
Referenced by GetMomPhoton(), and SetMomPhoton().
|
protected |
PDG code of the particle with fMotherTrackID.
Definition at line 89 of file PndDskFLGHit.h.
Referenced by GetMotherPdgCode().
|
protected |
PDG name according to fMotherPdgCode.
Definition at line 90 of file PndDskFLGHit.h.
Referenced by GetMotherPdgName().
|
protected |
Track ID of the first mother.
Definition at line 88 of file PndDskFLGHit.h.
Referenced by GetMotherTrackID().
|
protected |
Definition at line 98 of file PndDskFLGHit.h.
Referenced by GetNumLightGuide(), and SetNumLightGuide().
|
protected |
Definition at line 99 of file PndDskFLGHit.h.
Referenced by GetNumPixel(), and SetNumPixel().
|
protected |
|
protected |
PDG name according to fPdgCode.
Definition at line 84 of file PndDskFLGHit.h.
Referenced by GetPdgName().
|
protected |
Definition at line 95 of file PndDskFLGHit.h.
Referenced by GetThetaC(), and SetThetaC().