PndMCTrackInfoAna¶
-
class PndMCTrackInfoTask : public PndPersistencyTask¶
Generates additional information for MCTracks stored in PndMCTrackInfo. Called via “/macro/tools/MCTrackInfo.C”. See PndMCTrackInfo for more details.
- Author
Tobias Stockmanns t.stockmanns@fz-juelich.de
Public Functions
-
PndMCTrackInfoTask()¶
Default constructor
-
virtual ~PndMCTrackInfoTask()¶
Destructor
-
virtual void SetParContainers()¶
-
virtual InitStatus Init()¶
-
virtual InitStatus ReInit()¶
-
virtual void Exec(Option_t *opt)¶
Virtual method Exec
-
virtual void FinishEvent()¶
-
virtual void FinishTask()¶
-
inline void SetMaxStage(int stage)¶
Sets the maximum stage for how many generations (stages) of daughter particles a PndMCTrackInfo is generated
- Parameters
stage – maximum stage
-
inline void SetMaxStageNeutralCheck(int stage)¶
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
stage – maximum stage
-
inline void SetMaxMomentumDifferenceNeutralCheck(double val)¶
Sets the relative momentum difference (mcp - p)/mcp up to a reconstructed neutral track is still regarded as found
- Parameters
stage – maximum stage
-
inline void AddPointBranchName(TString name)¶
Adds a branch with MC points to be investigated. If no branches are given, all tracking detectors are added
- Parameters
name – branch name
-
inline void AddTrackingBranchName(TString name)¶
Adds a branch which output of a tracking algorithm for the analysis. If no branches are given, “BarrelTrack” and “FtsIdealTrack” are taken
- Parameters
name – branch name
-
inline void AddCandidateBranchName(TString name)¶
Adds a branch with charged or neutral candidates to the analysis. If no branches are given all candidate branches are taken
- Parameters
name – branch name
-
inline void AddPidBranchName(TString name)¶
Adds a branch with a pid algorithm to the analysis. If no branches are given all pid branches are taken
- Parameters
name – branch name
-
inline void UseKalmanTracks()¶
-
inline void UsePidInfo()¶
-
inline void UseChargeCands()¶
-
void PrintPrimariesWithDaughters(int stage = 0)¶