#include <PndDskParticle.h>
|
| PndDskParticle () |
|
| PndDskParticle (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, Int_t nPhot) |
|
| PndDskParticle (const PndDskParticle &particle) |
|
virtual | ~PndDskParticle () |
|
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 |
|
TVector3 | GetExitPosition () const |
|
TVector3 | GetExitMomentum () const |
|
Double_t | GetExitTime () const |
|
Double_t | GetExitEnergy () const |
|
Double_t | GetMass () const |
|
Double_t | GetAngIn () const |
|
Double_t | GetThetaC () const |
|
Int_t | GetNPhot () const |
|
void | SetAngIn (Double_t ang) |
|
void | SetThetaC (Double_t theta) |
|
void | SetNPhot (Int_t nPhot) |
|
Definition at line 11 of file PndDskParticle.h.
PndDskParticle::PndDskParticle |
( |
| ) |
|
Default constructor
Definition at line 15 of file PndDskParticle.cxx.
TString fPdgName
PDG name according to fPdgCode.
TVector3 fExitMomentum
Momentum when particle disappears [GeV].
TVector3 fExitPosition
Position when particle disappears [cm].
TString fMotherPdgName
PDG name according to fMotherPdgCode.
Int_t fMotherTrackID
Track ID of the first mother.
Double_t fExitEnergy
Energy when particle disappears [GeV].
Double_t fExitTime
Time when particle disappears [ns].
Double_t fEnergy
Energy [GeV].
Int_t fPdgCode
PDG code of particle.
Int_t fMotherPdgCode
PDG code of the particle with fMotherTrackID.
PndDskParticle::PndDskParticle |
( |
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, |
|
|
Int_t |
nPhot |
|
) |
| |
Standard constructor with arguments
- Parameters
-
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 |
Definition at line 38 of file PndDskParticle.cxx.
42 : FairMCPoint(trackID, detectorID, position, momentum, time, 0., 0.),
TString fPdgName
PDG name according to fPdgCode.
TVector3 fExitMomentum
Momentum when particle disappears [GeV].
TVector3 fExitPosition
Position when particle disappears [cm].
TString fMotherPdgName
PDG name according to fMotherPdgCode.
Int_t fMotherTrackID
Track ID of the first mother.
Double_t fExitEnergy
Energy when particle disappears [GeV].
Double_t fExitTime
Time when particle disappears [ns].
Double_t fEnergy
Energy [GeV].
Int_t fPdgCode
PDG code of particle.
Int_t fMotherPdgCode
PDG code of the particle with fMotherTrackID.
Copy constructor
Definition at line 61 of file PndDskParticle.cxx.
62 FairMCPoint(particle.fTrackID, particle.fDetectorID, TVector3(particle.fX, particle.fY, particle.fZ), TVector3(particle.fPx, particle.fPy, particle.fPz), particle.fTime, particle.fLength, particle.fELoss, particle.fEventId),
TString fPdgName
PDG name according to fPdgCode.
TVector3 fExitMomentum
Momentum when particle disappears [GeV].
TVector3 fExitPosition
Position when particle disappears [cm].
TString fMotherPdgName
PDG name according to fMotherPdgCode.
Int_t fMotherTrackID
Track ID of the first mother.
Double_t fExitEnergy
Energy when particle disappears [GeV].
Double_t fExitTime
Time when particle disappears [ns].
Double_t fEnergy
Energy [GeV].
Int_t fPdgCode
PDG code of particle.
Int_t fMotherPdgCode
PDG code of the particle with fMotherTrackID.
PndDskParticle::~PndDskParticle |
( |
| ) |
|
|
virtual |
Double_t PndDskParticle::GetAngIn |
( |
| ) |
const |
|
inline |
Double_t PndDskParticle::GetEnergy |
( |
| ) |
const |
|
inline |
Double_t PndDskParticle::GetExitEnergy |
( |
| ) |
const |
|
inline |
TVector3 PndDskParticle::GetExitMomentum |
( |
| ) |
const |
|
inline |
TVector3 PndDskParticle::GetExitPosition |
( |
| ) |
const |
|
inline |
Double_t PndDskParticle::GetExitTime |
( |
| ) |
const |
|
inline |
Double_t PndDskParticle::GetMass |
( |
| ) |
const |
|
inline |
Int_t PndDskParticle::GetMotherPdgCode |
( |
| ) |
const |
|
inline |
TString PndDskParticle::GetMotherPdgName |
( |
| ) |
const |
|
inline |
Int_t PndDskParticle::GetMotherTrackID |
( |
| ) |
const |
|
inline |
Int_t PndDskParticle::GetNPhot |
( |
| ) |
const |
|
inline |
Int_t PndDskParticle::GetPdgCode |
( |
| ) |
const |
|
inline |
TString PndDskParticle::GetPdgName |
( |
| ) |
const |
|
inline |
Double_t PndDskParticle::GetThetaC |
( |
| ) |
const |
|
inline |
void PndDskParticle::Print |
( |
const Option_t * |
opt | ) |
const |
|
virtual |
Virtual method Print
Screen output of Particle
Definition at line 90 of file PndDskParticle.cxx.
References fX, fY, and fZ.
92 cout <<
"-I- PndDskParticle: track" << fTrackID
93 <<
" created in detector " << fDetectorID << endl;
94 cout <<
" at Position (" <<
fX <<
", " <<
fY <<
", " <<
fZ
96 cout <<
" with Momentum (" << fPx <<
", " << fPy <<
", " << fPz
98 cout <<
" at Time " << fTime <<
" ns" << endl;
void PndDskParticle::SetAngIn |
( |
Double_t |
ang | ) |
|
|
inline |
void PndDskParticle::SetFinalValues |
( |
TVector3 |
exitPosition, |
|
|
TVector3 |
exitMomentum, |
|
|
Double_t |
exitTime, |
|
|
Double_t |
exitEnergy |
|
) |
| |
Method SetFinalValues
Set the final values for a particle
- Parameters
-
exitPosition | Position when particle disappears [cm] |
exitMomentum | Momentum when particle disappears [GeV] |
exitTime | Time when particle disappears [ns] |
exitEnergy | Energy when particle disappears [GeV] |
Definition at line 106 of file PndDskParticle.cxx.
References fExitEnergy, fExitMomentum, fExitPosition, and fExitTime.
Referenced by PndDsk::ProcessHitsParticle().
TVector3 fExitMomentum
Momentum when particle disappears [GeV].
TVector3 fExitPosition
Position when particle disappears [cm].
Double_t fExitEnergy
Energy when particle disappears [GeV].
Double_t fExitTime
Time when particle disappears [ns].
void PndDskParticle::SetNPhot |
( |
Int_t |
nPhot | ) |
|
|
inline |
void PndDskParticle::SetThetaC |
( |
Double_t |
theta | ) |
|
|
inline |
TVector3 PndDskParticle::fExitMomentum |
|
protected |
TVector3 PndDskParticle::fExitPosition |
|
protected |
Int_t PndDskParticle::fMotherPdgCode |
|
protected |
TString PndDskParticle::fMotherPdgName |
|
protected |
Int_t PndDskParticle::fMotherTrackID |
|
protected |
Int_t PndDskParticle::fNPhot |
|
protected |
Int_t PndDskParticle::fPdgCode |
|
protected |
The documentation for this class was generated from the following files: