Generates additional information for MCTracks stored in PndMCTrackInfo. Called via "/macro/tools/MCTrackInfo.C". See PndMCTrackInfo for more details.
More...
#include <PndMCTrackInfoTask.h>
Generates additional information for MCTracks stored in PndMCTrackInfo. Called via "/macro/tools/MCTrackInfo.C". See PndMCTrackInfo for more details.
- Author
- Tobias Stockmanns t.sto.nosp@m.ckma.nosp@m.nns@f.nosp@m.z-ju.nosp@m.elich.nosp@m..de
Definition at line 23 of file PndMCTrackInfoTask.h.
◆ PndMCTrackInfoTask()
PndMCTrackInfoTask::PndMCTrackInfoTask |
( |
| ) |
|
◆ ~PndMCTrackInfoTask()
virtual PndMCTrackInfoTask::~PndMCTrackInfoTask |
( |
| ) |
|
|
virtual |
◆ AddCandidateBranchName()
void PndMCTrackInfoTask::AddCandidateBranchName |
( |
TString |
name | ) |
|
|
inline |
Adds a branch with charged or neutral candidates to the analysis. If no branches are given all candidate branches are taken
- Parameters
-
Definition at line 79 of file PndMCTrackInfoTask.h.
79 { fCandidateBranches[name]; }
◆ AddPidBranchName()
void PndMCTrackInfoTask::AddPidBranchName |
( |
TString |
name | ) |
|
|
inline |
Adds a branch with a pid algorithm to the analysis. If no branches are given all pid branches are taken
- Parameters
-
Definition at line 86 of file PndMCTrackInfoTask.h.
86 { fPidBranches[name]; }
◆ AddPointBranchName()
void PndMCTrackInfoTask::AddPointBranchName |
( |
TString |
name | ) |
|
|
inline |
Adds a branch with MC points to be investigated. If no branches are given, all tracking detectors are added
- Parameters
-
Definition at line 65 of file PndMCTrackInfoTask.h.
65 { fPointBranches[name]; }
◆ AddTrackingBranchName()
void PndMCTrackInfoTask::AddTrackingBranchName |
( |
TString |
name | ) |
|
|
inline |
Adds a branch which output of a tracking algorithm for the analysis. If no branches are given, "BarrelTrack" and "FtsIdealTrack" are taken
- Parameters
-
Definition at line 72 of file PndMCTrackInfoTask.h.
72 { fTrackingBranches[name]; }
◆ AssignBranches()
void PndMCTrackInfoTask::AssignBranches |
( |
| ) |
|
|
protected |
◆ AssignCandidateBranches()
void PndMCTrackInfoTask::AssignCandidateBranches |
( |
| ) |
|
|
protected |
◆ AssignNeutralCand()
void PndMCTrackInfoTask::AssignNeutralCand |
( |
TClonesArray * |
neutralbranch | ) |
|
|
protected |
◆ AssignPidBranches()
void PndMCTrackInfoTask::AssignPidBranches |
( |
int |
mcIndex, |
|
|
int |
chargedCandIndex |
|
) |
| |
|
protected |
◆ AssignPoints()
void PndMCTrackInfoTask::AssignPoints |
( |
| ) |
|
|
protected |
◆ AssignTClonesArrays()
void PndMCTrackInfoTask::AssignTClonesArrays |
( |
std::map< TString, TClonesArray *> & |
map | ) |
|
|
protected |
◆ AssignTrackingBranches()
void PndMCTrackInfoTask::AssignTrackingBranches |
( |
| ) |
|
|
protected |
◆ Exec()
virtual void PndMCTrackInfoTask::Exec |
( |
Option_t * |
opt | ) |
|
|
virtual |
◆ FillOutputArray()
void PndMCTrackInfoTask::FillOutputArray |
( |
| ) |
|
|
protected |
◆ FillPointInfo()
void PndMCTrackInfoTask::FillPointInfo |
( |
| ) |
|
|
protected |
◆ FillTypesNumbers()
void PndMCTrackInfoTask::FillTypesNumbers |
( |
| ) |
|
|
protected |
◆ FinishEvent()
virtual void PndMCTrackInfoTask::FinishEvent |
( |
| ) |
|
|
virtual |
◆ FinishTask()
virtual void PndMCTrackInfoTask::FinishTask |
( |
| ) |
|
|
virtual |
◆ GetPIDMothers()
std::vector<int> PndMCTrackInfoTask::GetPIDMothers |
( |
int |
motherID | ) |
|
|
protected |
◆ Init()
virtual InitStatus PndMCTrackInfoTask::Init |
( |
| ) |
|
|
virtual |
◆ PrintDaughters()
void PndMCTrackInfoTask::PrintDaughters |
( |
PndMCTrackInfo |
mother, |
|
|
int |
stage |
|
) |
| |
|
protected |
◆ PrintPrimariesWithDaughters()
void PndMCTrackInfoTask::PrintPrimariesWithDaughters |
( |
int |
stage = 0 | ) |
|
◆ Register()
void PndMCTrackInfoTask::Register |
( |
| ) |
|
|
protected |
◆ ReInit()
virtual InitStatus PndMCTrackInfoTask::ReInit |
( |
| ) |
|
|
virtual |
◆ Reset()
void PndMCTrackInfoTask::Reset |
( |
| ) |
|
|
protected |
◆ SetMaxMomentumDifferenceNeutralCheck()
void PndMCTrackInfoTask::SetMaxMomentumDifferenceNeutralCheck |
( |
double |
val | ) |
|
|
inline |
Sets the relative momentum difference (mcp - p)/mcp up to a reconstructed neutral track is still regarded as found
- Parameters
-
Definition at line 58 of file PndMCTrackInfoTask.h.
58 { fMaxNeutralMomDiff = val; }
◆ SetMaxStage()
void PndMCTrackInfoTask::SetMaxStage |
( |
int |
stage | ) |
|
|
inline |
Sets the maximum stage for how many generations (stages) of daughter particles a PndMCTrackInfo is generated
- Parameters
-
Definition at line 45 of file PndMCTrackInfoTask.h.
45 { fMaxStage = stage; }
◆ SetMaxStageNeutralCheck()
void PndMCTrackInfoTask::SetMaxStageNeutralCheck |
( |
int |
stage | ) |
|
|
inline |
Sets the maximum stage for how many generations (stages) of neutral daughter particles a PndMCTrackInfo is generated. This additional limit for neutral particles is needed to reduce the processing times.
- Parameters
-
Definition at line 52 of file PndMCTrackInfoTask.h.
52 { fMaxStageNeutralCheck = stage; }
◆ SetParContainers()
virtual void PndMCTrackInfoTask::SetParContainers |
( |
| ) |
|
|
virtual |
◆ UseChargeCands()
void PndMCTrackInfoTask::UseChargeCands |
( |
| ) |
|
|
inline |
Definition at line 92 of file PndMCTrackInfoTask.h.
References AssignBranches(), AssignCandidateBranches(), AssignNeutralCand(), AssignPidBranches(), AssignPoints(), AssignTClonesArrays(), AssignTrackingBranches(), FillOutputArray(), FillPointInfo(), FillTypesNumbers(), GetPIDMothers(), PrintDaughters(), PrintPrimariesWithDaughters(), Register(), and Reset().
92 { fUseChargeCands =
true; }
◆ UseKalmanTracks()
void PndMCTrackInfoTask::UseKalmanTracks |
( |
| ) |
|
|
inline |
◆ UsePidInfo()
void PndMCTrackInfoTask::UsePidInfo |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: