#include <PndMCTrack.h>
PndMCTrack.h
- Author
- V.Friese v.fri.nosp@m.ese@.nosp@m.gsi.d.nosp@m.e
Data class for storing Monte Carlo tracks processed by the PndStack. A MCTrack can be a primary track put into the simulation or a secondary one produced by the transport through decay or interaction.
Definition at line 33 of file PndMCTrack.h.
◆ PndMCTrack() [1/3]
PndMCTrack::PndMCTrack |
( |
| ) |
|
◆ PndMCTrack() [2/3]
PndMCTrack::PndMCTrack |
( |
const PndMCTrack & |
track | ) |
|
Standard constructor Copy constructor
◆ PndMCTrack() [3/3]
PndMCTrack::PndMCTrack |
( |
TParticle * |
particle | ) |
|
Constructor from TParticle
◆ ~PndMCTrack()
virtual PndMCTrack::~PndMCTrack |
( |
| ) |
|
|
virtual |
◆ Get4Momentum()
TLorentzVector PndMCTrack::Get4Momentum |
( |
| ) |
const |
◆ GetMomentum()
TVector3 PndMCTrack::GetMomentum |
( |
| ) |
const |
|
inline |
Definition at line 68 of file PndMCTrack.h.
68 {
return TVector3(fPx, fPy, fPz); }
◆ GetMotherID()
Int_t PndMCTrack::GetMotherID |
( |
| ) |
const |
|
inline |
◆ GetNPoints()
Int_t PndMCTrack::GetNPoints |
( |
DetectorId |
detId | ) |
const |
◆ GetPdgCode()
Int_t PndMCTrack::GetPdgCode |
( |
| ) |
const |
|
inline |
◆ GetProcessID()
UInt_t PndMCTrack::GetProcessID |
( |
| ) |
const |
|
inline |
◆ GetPt()
Double_t PndMCTrack::GetPt |
( |
| ) |
const |
|
inline |
◆ GetSecondMotherID()
Int_t PndMCTrack::GetSecondMotherID |
( |
| ) |
const |
|
inline |
Definition at line 65 of file PndMCTrack.h.
65 {
return fSecondMotherID; }
◆ GetStartTime()
Double_t PndMCTrack::GetStartTime |
( |
| ) |
const |
|
inline |
◆ GetStartVertex()
TVector3 PndMCTrack::GetStartVertex |
( |
| ) |
const |
|
inline |
Definition at line 66 of file PndMCTrack.h.
66 {
return TVector3(fStartX, fStartY, fStartZ); }
◆ IsGeneratorCreated()
Bool_t PndMCTrack::IsGeneratorCreated |
( |
void |
| ) |
const |
|
inline |
Definition at line 74 of file PndMCTrack.h.
74 {
return (fGeneratorFlags & 0x1) != 0; }
◆ IsGeneratorDecayed()
Bool_t PndMCTrack::IsGeneratorDecayed |
( |
void |
| ) |
const |
|
inline |
Definition at line 75 of file PndMCTrack.h.
75 {
return (fGeneratorFlags & 0x2) != 0; }
◆ IsGeneratorLast()
Bool_t PndMCTrack::IsGeneratorLast |
( |
void |
| ) |
const |
|
inline |
Definition at line 76 of file PndMCTrack.h.
76 {
return (fGeneratorFlags & 0x1) != 0 && (fGeneratorFlags & 0x2) == 0; }
◆ Print()
void PndMCTrack::Print |
( |
Int_t |
iTrack = 0 | ) |
const |
◆ SetGeneratorCreated()
void PndMCTrack::SetGeneratorCreated |
( |
void |
| ) |
|
|
inline |
Definition at line 77 of file PndMCTrack.h.
77 { fGeneratorFlags |= 0x1; }
◆ SetGeneratorDecayed()
void PndMCTrack::SetGeneratorDecayed |
( |
void |
| ) |
|
|
inline |
◆ SetMotherID()
void PndMCTrack::SetMotherID |
( |
Int_t |
id | ) |
|
|
inline |
◆ SetNPoints()
void PndMCTrack::SetNPoints |
( |
DetectorId |
iDet, |
|
|
Int_t |
np |
|
) |
| |
◆ SetSecondMotherID()
void PndMCTrack::SetSecondMotherID |
( |
Int_t |
id | ) |
|
|
inline |
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
PndMCTrack & |
track |
|
) |
| |
|
friend |
Definition at line 56 of file PndMCTrack.h.
void Print(Int_t iTrack=0) const
The documentation for this class was generated from the following file: