PndMCTrackInfoAna¶
-
class PndMCTrackInfo : public FairMultiLinkedData_Interface
Public Functions
-
PndMCTrackInfo()
Default constructor
-
virtual ~PndMCTrackInfo()
Destructor
-
void Print(std::ostream &out = std::cout)
Output to screen
-
std::vector<int> GetDaughters()
Accessors Returns which daughters belong to the MC track (as indices to the MCTrack TClonesArray)
-
inline TVector3 GetDecayVertex() const
-
inline Double_t GetDecayTime() const
-
inline Int_t GetStage() const
Returns which generation of daughter particles this particle is compared to its primary particle (final particle of event generator)
-
inline std::vector<int> GetPIDMothers() const
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
-
inline std::vector<int> GetPIDDaughters() const
Returns the PID of all direct daughter particles
-
inline int GetPID() const
Returns the PID of the particle
-
Int_t GetNHits(TString branchName)
Returns the number of hits for this MC track for a given branchName
- Parameters
branch – name
-
inline int GetMVDPoints() const
-
inline int GetSTTPoints() const
-
inline int GetGEMPoints() const
-
inline int GetFTSPoints() const
-
inline int GetTotalPoints() const
-
inline int GetTypeCount(int type)
Returns how often a link to a type (branch) is in the list of FairLinks
-
inline TVector2 GetDeltaMomentum(int type)
Returns the momentum difference for pt, pz for a reconstruction type (branch)
-
inline PndPidProbability GetPidProbability(int type)
Returns the PID probabilites for a pid type (branch)
- Parameters
type – branch index
-
inline void SetPID(int pid)
-
void AddDaughter(FairLink doughter)
-
inline void AddPIDDaughter(int pid)
-
inline void SetPIDMothers(std::vector<int> pid)
-
inline void SetDecayVertex(TVector3 vertex)
-
inline void SetDecayTime(Double_t time)
-
inline void SetRecoMomentum(int branchType, TVector3 value)
-
inline void SetDeltaMomentum(int branchType, double pt, double pl)
-
inline void SetPidProbability(int branchType, PndPidProbability &value)
-
void FillPoints()
-
void FillTypeCounts()
Friends
-
inline friend std::ostream &operator<<(std::ostream &out, PndMCTrackInfo &track)
-
class h
- Author
T.Stockmanns t.stockmanns@fz-juelich.deData class to contain additional information for an MCTrack
-
PndMCTrackInfo()