|
FairRoot/PandaRoot
|
#include <PndMcCloner2.h>
Public Member Functions | |
| PndMcCloner2 () | |
| ~PndMcCloner2 () | |
| virtual InitStatus | Init () |
| virtual void | Exec (Option_t *) |
| void | SetCleanMc (Bool_t opt=kTRUE) |
| void | SetOutputBranch (TString branch) |
Protected Member Functions | |
| void | FindUsedMCIndices () |
| void | CloneMCTrack () |
| void | CloneAndCleanMCTrack () |
| void | CorrectMotherIndices () |
| void | CorrectPidIndices () |
| ClassDef (PndMcCloner2, 2) | |
Protected Attributes | |
| TClonesArray * | fInputArray |
| TClonesArray * | fPidChargedArray [5] |
| TClonesArray * | fPidNeutralArray [5] |
| TClonesArray * | fOutputArray |
| map< Int_t, Int_t > | mapMCIndex |
| Bool_t | fCleanMC |
| TString | fPidHypoStr [5] |
| Bool_t | fHypoFlagCharged [5] |
| Bool_t | fHypoFlagNeutral [5] |
| Flag to check which hypotheses are present. More... | |
| TString | fTrackBranchNamePidHypo |
| Flag to check which hypotheses are present. More... | |
Definition at line 13 of file PndMcCloner2.h.
| PndMcCloner2::PndMcCloner2 | ( | ) |
Default constructor
Definition at line 24 of file PndMcCloner2.cxx.
| PndMcCloner2::~PndMcCloner2 | ( | ) |
|
protected |
|
protected |
Definition at line 233 of file PndMcCloner2.cxx.
References fInputArray, fOutputArray, mapMCIndex, and mctrack.
Referenced by Exec().
|
protected |
Definition at line 142 of file PndMcCloner2.cxx.
References fInputArray, fOutputArray, and mctrack.
Referenced by Exec().
|
protected |
Definition at line 250 of file PndMcCloner2.cxx.
References fOutputArray, PndMCTrack::GetMotherID(), PndMCTrack::GetSecondMotherID(), mapMCIndex, mctrack, PndMCTrack::SetMotherID(), and PndMCTrack::SetSecondMotherID().
Referenced by Exec().
|
protected |
Definition at line 265 of file PndMcCloner2.cxx.
References At, fHypoFlagCharged, fHypoFlagNeutral, fPidChargedArray, fPidNeutralArray, PndPidCandidate::GetMcIndex(), i, mapMCIndex, and PndPidCandidate::SetMcIndex().
Referenced by Exec().
|
virtual |
Virtual method Exec
Definition at line 119 of file PndMcCloner2.cxx.
References CloneAndCleanMCTrack(), CloneMCTrack(), CorrectMotherIndices(), CorrectPidIndices(), fCleanMC, FindUsedMCIndices(), fOutputArray, and mapMCIndex.
|
protected |
Definition at line 157 of file PndMcCloner2.cxx.
References At, fHypoFlagCharged, fHypoFlagNeutral, fInputArray, fPidChargedArray, fPidNeutralArray, PndPidCandidate::GetMcIndex(), PndMCTrack::GetMotherID(), i, mapMCIndex, and mctrack.
Referenced by Exec().
|
virtual |
Virtual method Init
Definition at line 36 of file PndMcCloner2.cxx.
References fHypoFlagCharged, fHypoFlagNeutral, fInputArray, fOutputArray, fPidChargedArray, fPidHypoStr, fPidNeutralArray, fTrackBranchNamePidHypo, and i.
|
inline |
Definition at line 33 of file PndMcCloner2.h.
Referenced by PndMasterMultiPidTask::PndMasterMultiPidTask().
|
inline |
Definition at line 34 of file PndMcCloner2.h.
|
protected |
Definition at line 59 of file PndMcCloner2.h.
Referenced by Exec().
|
protected |
Definition at line 62 of file PndMcCloner2.h.
Referenced by CorrectPidIndices(), FindUsedMCIndices(), and Init().
|
protected |
Flag to check which hypotheses are present.
Definition at line 63 of file PndMcCloner2.h.
Referenced by CorrectPidIndices(), FindUsedMCIndices(), and Init().
|
protected |
Input array of PndMCTrack
Definition at line 45 of file PndMcCloner2.h.
Referenced by CloneAndCleanMCTrack(), CloneMCTrack(), FindUsedMCIndices(), and Init().
|
protected |
Output array of PndMCTrack
Definition at line 55 of file PndMcCloner2.h.
Referenced by CloneAndCleanMCTrack(), CloneMCTrack(), CorrectMotherIndices(), Exec(), and Init().
|
protected |
Input array of PidChargedCand
Definition at line 48 of file PndMcCloner2.h.
Referenced by CorrectPidIndices(), FindUsedMCIndices(), and Init().
|
protected |
Definition at line 61 of file PndMcCloner2.h.
Referenced by Init().
|
protected |
Input array of PidNeutralCand
Definition at line 51 of file PndMcCloner2.h.
Referenced by CorrectPidIndices(), FindUsedMCIndices(), and Init().
|
protected |
Flag to check which hypotheses are present.
Definition at line 65 of file PndMcCloner2.h.
Referenced by Init().
|
protected |
Definition at line 57 of file PndMcCloner2.h.
Referenced by CloneAndCleanMCTrack(), CorrectMotherIndices(), CorrectPidIndices(), Exec(), and FindUsedMCIndices().
1.8.5