FairRoot/PandaRoot
Public Member Functions | Private Attributes | List of all members
KFMCParticle Class Reference

#include <KFMCParticle.h>

Public Member Functions

 KFMCParticle ()
 
 ~KFMCParticle ()
 
void AddDaughter (int i)
 
int NDaughters () const
 
const vector< int > & GetDaughterIds () const
 
void FindCommonMC ()
 
void SetPDG (int pdg)
 
void SetMCTrackID (int id)
 
void SetMotherId (int id)
 
int GetMCTrackID () const
 
int GetMotherId () const
 
int GetPDG () const
 
bool IsReconstructable () const
 
void SetAsReconstructable ()
 
void CalculateIsReconstructable (unsigned int NDaughters=2)
 
void CalculateIsRecRec (unsigned int NDaughters=2)
 

Private Attributes

vector< int > fDaughterIds
 
int fMCTrackID
 
int fMotherId
 
int fPDG
 
bool fIsReconstructable
 

Detailed Description

Definition at line 22 of file KFMCParticle.h.

Constructor & Destructor Documentation

KFMCParticle::KFMCParticle ( )

Definition at line 19 of file KFMCParticle.cxx.

20 {
21 }
vector< int > fDaughterIds
Definition: KFMCParticle.h:47
bool fIsReconstructable
Definition: KFMCParticle.h:52
KFMCParticle::~KFMCParticle ( )

Definition at line 23 of file KFMCParticle.cxx.

24 {
25 }

Member Function Documentation

void KFMCParticle::AddDaughter ( int  i)

Definition at line 27 of file KFMCParticle.cxx.

References fDaughterIds.

28 {
29  fDaughterIds.push_back(i);
30 }
Int_t i
Definition: run_full.C:25
vector< int > fDaughterIds
Definition: KFMCParticle.h:47
void KFMCParticle::CalculateIsReconstructable ( unsigned int  NDaughters = 2)
void KFMCParticle::CalculateIsRecRec ( unsigned int  NDaughters = 2)
void KFMCParticle::FindCommonMC ( )
const vector<int>& KFMCParticle::GetDaughterIds ( ) const
inline

Definition at line 30 of file KFMCParticle.h.

References fDaughterIds.

30 { return fDaughterIds; };
vector< int > fDaughterIds
Definition: KFMCParticle.h:47
int KFMCParticle::GetMCTrackID ( ) const
inline

Definition at line 37 of file KFMCParticle.h.

References fMCTrackID.

37 {return fMCTrackID;}
int KFMCParticle::GetMotherId ( ) const
inline

Definition at line 38 of file KFMCParticle.h.

References fMotherId.

38 {return fMotherId;}
int KFMCParticle::GetPDG ( ) const
inline

Definition at line 39 of file KFMCParticle.h.

References fPDG.

39 {return fPDG;}
bool KFMCParticle::IsReconstructable ( ) const
inline

Definition at line 40 of file KFMCParticle.h.

References fIsReconstructable.

40 {return fIsReconstructable;}
bool fIsReconstructable
Definition: KFMCParticle.h:52
int KFMCParticle::NDaughters ( ) const
inline

Definition at line 29 of file KFMCParticle.h.

References fDaughterIds.

29 { return fDaughterIds.size(); };
vector< int > fDaughterIds
Definition: KFMCParticle.h:47
void KFMCParticle::SetAsReconstructable ( )
inline

Definition at line 41 of file KFMCParticle.h.

References fIsReconstructable.

41 { fIsReconstructable = 1;}
bool fIsReconstructable
Definition: KFMCParticle.h:52
void KFMCParticle::SetMCTrackID ( int  id)
inline

Definition at line 34 of file KFMCParticle.h.

References fMCTrackID.

34 {fMCTrackID = id;}
void KFMCParticle::SetMotherId ( int  id)
inline

Definition at line 35 of file KFMCParticle.h.

References fMotherId.

35 {fMotherId = id;}
void KFMCParticle::SetPDG ( int  pdg)
inline

Definition at line 33 of file KFMCParticle.h.

References fPDG.

33 {fPDG = pdg;}

Member Data Documentation

vector<int> KFMCParticle::fDaughterIds
private

Definition at line 47 of file KFMCParticle.h.

Referenced by AddDaughter(), GetDaughterIds(), and NDaughters().

bool KFMCParticle::fIsReconstructable
private

Definition at line 52 of file KFMCParticle.h.

Referenced by IsReconstructable(), and SetAsReconstructable().

int KFMCParticle::fMCTrackID
private

Definition at line 48 of file KFMCParticle.h.

Referenced by GetMCTrackID(), and SetMCTrackID().

int KFMCParticle::fMotherId
private

Definition at line 49 of file KFMCParticle.h.

Referenced by GetMotherId(), and SetMotherId().

int KFMCParticle::fPDG
private

Definition at line 50 of file KFMCParticle.h.

Referenced by GetPDG(), and SetPDG().


The documentation for this class was generated from the following files: