#include <PndMCTrackInfo.h>
Definition at line 35 of file PndMCTrackInfo.h.
◆ PndMCTrackInfo()
PndMCTrackInfo::PndMCTrackInfo |
( |
| ) |
|
◆ ~PndMCTrackInfo()
virtual PndMCTrackInfo::~PndMCTrackInfo |
( |
| ) |
|
|
virtual |
◆ AddDaughter()
void PndMCTrackInfo::AddDaughter |
( |
FairLink |
doughter | ) |
|
◆ AddPIDDaughter()
void PndMCTrackInfo::AddPIDDaughter |
( |
int |
pid | ) |
|
|
inline |
◆ FillPoints()
void PndMCTrackInfo::FillPoints |
( |
| ) |
|
◆ FillTypeCounts()
void PndMCTrackInfo::FillTypeCounts |
( |
| ) |
|
◆ GetDaughters()
std::vector<int> PndMCTrackInfo::GetDaughters |
( |
| ) |
|
Accessors Returns which daughters belong to the MC track (as indices to the MCTrack TClonesArray)
◆ GetDecayTime()
Double_t PndMCTrackInfo::GetDecayTime |
( |
| ) |
const |
|
inline |
◆ GetDecayVertex()
TVector3 PndMCTrackInfo::GetDecayVertex |
( |
| ) |
const |
|
inline |
◆ GetDeltaMomentum()
TVector2 PndMCTrackInfo::GetDeltaMomentum |
( |
int |
type | ) |
|
|
inline |
Returns the momentum difference for pt, pz for a reconstruction type (branch)
Definition at line 111 of file PndMCTrackInfo.h.
114 if (fMomentumDifference.count(type) > 0) {
115 return fMomentumDifference[type];
◆ GetFTSPoints()
int PndMCTrackInfo::GetFTSPoints |
( |
| ) |
const |
|
inline |
◆ GetGEMPoints()
int PndMCTrackInfo::GetGEMPoints |
( |
| ) |
const |
|
inline |
◆ GetMVDPoints()
int PndMCTrackInfo::GetMVDPoints |
( |
| ) |
const |
|
inline |
◆ GetNHits()
Int_t PndMCTrackInfo::GetNHits |
( |
TString |
branchName | ) |
|
Returns the number of hits for this MC track for a given branchName
- Parameters
-
Referenced by GetPID().
◆ GetPID()
int PndMCTrackInfo::GetPID |
( |
| ) |
const |
|
inline |
◆ GetPIDDaughters()
std::vector<int> PndMCTrackInfo::GetPIDDaughters |
( |
| ) |
const |
|
inline |
Returns the PID of all direct daughter particles
Definition at line 77 of file PndMCTrackInfo.h.
77 {
return fPIDDaughters; }
◆ GetPIDMothers()
std::vector<int> PndMCTrackInfo::GetPIDMothers |
( |
| ) |
const |
|
inline |
Returns the PID of the mother particles. The first entry in the vector is the primary particle, the second the first daughter and so on
Definition at line 72 of file PndMCTrackInfo.h.
72 {
return fPIDMothers; }
◆ GetPidProbability()
Returns the PID probabilites for a pid type (branch)
- Parameters
-
Definition at line 124 of file PndMCTrackInfo.h.
127 if (fPidProb.count(type) > 0) {
128 return fPidProb[type];
◆ GetStage()
Int_t PndMCTrackInfo::GetStage |
( |
| ) |
const |
|
inline |
Returns which generation of daughter particles this particle is compared to its primary particle (final particle of event generator)
Definition at line 66 of file PndMCTrackInfo.h.
◆ GetSTTPoints()
int PndMCTrackInfo::GetSTTPoints |
( |
| ) |
const |
|
inline |
◆ GetTotalPoints()
int PndMCTrackInfo::GetTotalPoints |
( |
| ) |
const |
|
inline |
◆ GetTypeCount()
int PndMCTrackInfo::GetTypeCount |
( |
int |
type | ) |
|
|
inline |
Returns how often a link to a type (branch) is in the list of FairLinks
Definition at line 99 of file PndMCTrackInfo.h.
101 if (fTypeCount.count(type) > 0) {
102 return fTypeCount[type];
◆ Print()
void PndMCTrackInfo::Print |
( |
std::ostream & |
out = std::cout | ) |
|
◆ SetDecayTime()
void PndMCTrackInfo::SetDecayTime |
( |
Double_t |
time | ) |
|
|
inline |
◆ SetDecayVertex()
void PndMCTrackInfo::SetDecayVertex |
( |
TVector3 |
vertex | ) |
|
|
inline |
◆ SetDeltaMomentum()
void PndMCTrackInfo::SetDeltaMomentum |
( |
int |
branchType, |
|
|
double |
pt, |
|
|
double |
pl |
|
) |
| |
|
inline |
Definition at line 145 of file PndMCTrackInfo.h.
145 { fMomentumDifference[branchType] = TVector2(pt, pl); };
◆ SetPID()
void PndMCTrackInfo::SetPID |
( |
int |
pid | ) |
|
|
inline |
◆ SetPIDMothers()
void PndMCTrackInfo::SetPIDMothers |
( |
std::vector< int > |
pid | ) |
|
|
inline |
◆ SetPidProbability()
◆ SetRecoMomentum()
void PndMCTrackInfo::SetRecoMomentum |
( |
int |
branchType, |
|
|
TVector3 |
value |
|
) |
| |
|
inline |
◆ operator<<
std::ostream& operator<< |
( |
std::ostream & |
out, |
|
|
PndMCTrackInfo & |
track |
|
) |
| |
|
friend |
The documentation for this class was generated from the following file: