![]() |
AliRoot Core
3dc7879 (3dc7879)
|
AliVParticle realisation for MC Particles in the AOD. More...
#include <AliAODMCParticle.h>
Public Types | |
enum | { kPrimary = 1<<0, kPhysicalPrim = 1<<1, kSecondaryFromWeakDecay = 1<<2, kSecondaryFromMaterial = 1 <<3 } |
Public Member Functions | |
AliAODMCParticle () | |
AliAODMCParticle (const AliMCParticle *part, Int_t label=0, Int_t flag=0) | |
virtual | ~AliAODMCParticle () |
AliAODMCParticle (const AliAODMCParticle &mcPart) | |
AliAODMCParticle & | operator= (const AliAODMCParticle &mcPart) |
virtual Double_t | Px () const |
virtual Double_t | Py () const |
virtual Double_t | Pz () const |
virtual Double_t | Pt () const |
virtual Double_t | P () const |
virtual Bool_t | PxPyPz (Double_t p[3]) const |
virtual void | Momentum (TLorentzVector &lv) |
virtual Double_t | OneOverPt () const |
virtual Double_t | Phi () const |
virtual Double_t | Theta () const |
virtual Double_t | Xv () const |
virtual Double_t | Yv () const |
virtual Double_t | Zv () const |
virtual Bool_t | XvYvZv (Double_t x[3]) const |
virtual Double_t | T () const |
virtual Double_t | Tv () const |
virtual Double_t | E () const |
virtual Double_t | M () const |
virtual Double_t | Eta () const |
virtual Double_t | Y () const |
virtual Short_t | Charge () const |
virtual Int_t | Label () const |
virtual Int_t | GetLabel () const |
virtual const Double_t * | PID () const |
virtual Double_t | GetCalcMass () const |
virtual void | SetDaughter (Int_t i, Int_t id) |
virtual Int_t | GetDaughter (Int_t i) const |
virtual Int_t | GetDaughterLabel (Int_t i) const |
virtual Int_t | GetNDaughters () const |
virtual void | SetMother (Int_t im) |
virtual Int_t | GetMother () const |
virtual Int_t | GetFirstDaughter () const |
virtual Int_t | GetLastDaughter () const |
virtual void | Print (const Option_t *opt="") const |
virtual Int_t | GetPdgCode () const |
virtual Int_t | PdgCode () const |
virtual void | SetGeneratorIndex (Short_t i) |
virtual Short_t | GetGeneratorIndex () const |
virtual void | SetFlag (UInt_t flag) |
virtual UInt_t | GetFlag () const |
void | SetStatus (Int_t status) |
virtual ULong64_t | GetStatus () const |
void | SetMCStatusCode (Int_t status) |
virtual UInt_t | MCStatusCode () const |
void | SetPrimary (Bool_t b=kTRUE) |
virtual Bool_t | IsPrimary () const |
void | SetPhysicalPrimary (Bool_t b=kTRUE) |
Bool_t | IsPhysicalPrimary () const |
void | SetSecondaryFromWeakDecay (Bool_t b=kTRUE) |
Bool_t | IsSecondaryFromWeakDecay () const |
void | SetSecondaryFromMaterial (Bool_t b=kTRUE) |
Bool_t | IsSecondaryFromMaterial () const |
void | SetMCProcessCode (UInt_t mcProcess) |
UInt_t | GetMCProcessCode () |
![]() | |
AliVParticle () | |
virtual | ~AliVParticle () |
AliVParticle (const AliVParticle &vPart) | |
AliVParticle & | operator= (const AliVParticle &vPart) |
AliVParticle (AliVConstructorReinitialisationFlag) | |
virtual TParticle * | Particle () const |
Int_t | Compare (const TObject *obj) const |
Bool_t | IsSortable () const |
Bool_t | Local2GlobalMomentum (Double_t p[3], Double_t alpha) const |
Bool_t | Local2GlobalPosition (Double_t r[3], Double_t alpha) const |
Bool_t | Global2LocalMomentum (Double_t p[3], Short_t charge, Double_t &alpha) const |
Bool_t | Global2LocalPosition (Double_t r[3], Double_t alpha) const |
Static Public Member Functions | |
static const char * | StdBranchName () |
Private Attributes | |
Int_t | fPdgCode |
PDG code of the particle. More... | |
UInt_t | fFlag |
Flag for indication of primary etc, Status code in the upper 16 bits 17-32, MC process id (AKA UniqueID) in bins 16-9) More... | |
Int_t | fLabel |
Label of the original MCParticle. More... | |
Int_t | fMother |
Index of the mother particles. More... | |
Int_t | fDaughter [2] |
Indices of the daughter particles. More... | |
Double32_t | fPx |
x component of momentum More... | |
Double32_t | fPy |
y component of momentum More... | |
Double32_t | fPz |
z component of momentum More... | |
Double32_t | fE |
Energy. More... | |
Double32_t | fVx |
x of production vertex More... | |
Double32_t | fVy |
y of production vertex More... | |
Double32_t | fVz |
z of production vertex More... | |
Double32_t | fVt |
t of production vertex More... | |
Short_t | fGeneratorIndex |
! Index of generator in cocktail More... | |
Static Private Attributes | |
static TString | fgkStdBranchName |
Standard branch name. More... | |
AliVParticle realisation for MC Particles in the AOD.
Stripped dow AliMCParticle
Definition at line 28 of file AliAODMCParticle.h.
anonymous enum |
Enumerator | |
---|---|
kPrimary | |
kPhysicalPrim | |
kSecondaryFromWeakDecay | |
kSecondaryFromMaterial |
Definition at line 88 of file AliAODMCParticle.h.
AliAODMCParticle::AliAODMCParticle | ( | ) |
Default Constructor
Definition at line 29 of file AliAODMCParticle.cxx.
Referenced by ~AliAODMCParticle().
AliAODMCParticle::AliAODMCParticle | ( | const AliMCParticle * | part, |
Int_t | label = 0 , |
||
Int_t | flag = 0 |
||
) |
Constructor
Definition at line 51 of file AliAODMCParticle.cxx.
|
inlinevirtual |
Definition at line 32 of file AliAODMCParticle.h.
AliAODMCParticle::AliAODMCParticle | ( | const AliAODMCParticle & | mcPart | ) |
Copy constructor
Definition at line 74 of file AliAODMCParticle.cxx.
|
virtual |
return tha charge
Implements AliVParticle.
Definition at line 136 of file AliAODMCParticle.cxx.
Referenced by Momentum().
|
inlinevirtual |
Implements AliVParticle.
Definition at line 211 of file AliAODMCParticle.h.
Referenced by GetCalcMass(), Momentum(), TestAOD(), and Y().
|
inlinevirtual |
Implements AliVParticle.
Definition at line 212 of file AliAODMCParticle.h.
Referenced by Momentum(), and TestAOD().
|
inlinevirtual |
Definition at line 233 of file AliAODMCParticle.h.
|
inlinevirtual |
Definition at line 74 of file AliAODMCParticle.h.
Referenced by GetDaughterLabel(), and AliAODHandler::StoreMCParticles().
|
inlinevirtual |
Reimplemented from AliVParticle.
Definition at line 75 of file AliAODMCParticle.h.
|
inlinevirtual |
Reimplemented from AliVParticle.
Definition at line 80 of file AliAODMCParticle.h.
|
inlinevirtual |
Reimplemented from AliVParticle.
Definition at line 90 of file AliAODMCParticle.h.
|
inlinevirtual |
Reimplemented from AliVParticle.
Definition at line 87 of file AliAODMCParticle.h.
|
inlinevirtual |
Implements AliVParticle.
Definition at line 66 of file AliAODMCParticle.h.
|
inlinevirtual |
Reimplemented from AliVParticle.
Definition at line 81 of file AliAODMCParticle.h.
|
inline |
Definition at line 141 of file AliAODMCParticle.h.
|
inlinevirtual |
Reimplemented from AliVParticle.
Definition at line 78 of file AliAODMCParticle.h.
Referenced by AliMFTAnalysisTools::GetTrackPrimaryGenerator(), AliAODRecoDecay::MatchToMC(), and AliAODHandler::StoreMCParticles().
|
inlinevirtual |
Reimplemented from AliVParticle.
Definition at line 76 of file AliAODMCParticle.h.
|
inlinevirtual |
Definition at line 84 of file AliAODMCParticle.h.
Referenced by AliAODRecoDecay::MatchToMC(), and PdgCode().
|
inlinevirtual |
bit shift by 16
Reimplemented from AliVParticle.
Definition at line 100 of file AliAODMCParticle.h.
Referenced by MCStatusCode(), and Print().
|
inlinevirtual |
Reimplemented from AliVParticle.
Definition at line 120 of file AliAODMCParticle.h.
Referenced by Print().
|
inlinevirtual |
Reimplemented from AliVParticle.
Definition at line 114 of file AliAODMCParticle.h.
|
inlinevirtual |
Reimplemented from AliVParticle.
Definition at line 132 of file AliAODMCParticle.h.
|
inlinevirtual |
Reimplemented from AliVParticle.
Definition at line 126 of file AliAODMCParticle.h.
|
inlinevirtual |
Reimplemented from AliVParticle.
Definition at line 231 of file AliAODMCParticle.h.
Referenced by GetLabel(), and Momentum().
|
virtual |
return the mass
Implements AliVParticle.
Definition at line 123 of file AliAODMCParticle.cxx.
Referenced by Momentum().
|
inlinevirtual |
Reimplemented from AliVParticle.
Definition at line 107 of file AliAODMCParticle.h.
|
inlinevirtual |
Reimplemented from AliVParticle.
Definition at line 44 of file AliAODMCParticle.h.
|
inlinevirtual |
Implements AliVParticle.
Definition at line 201 of file AliAODMCParticle.h.
Referenced by Momentum().
AliAODMCParticle & AliAODMCParticle::operator= | ( | const AliAODMCParticle & | mcPart | ) |
assignment operator
Definition at line 96 of file AliAODMCParticle.cxx.
Referenced by ~AliAODMCParticle().
|
inlinevirtual |
Implements AliVParticle.
Definition at line 200 of file AliAODMCParticle.h.
Referenced by Eta(), Theta(), and ~AliAODMCParticle().
|
inlinevirtual |
Implements AliVParticle.
Definition at line 85 of file AliAODMCParticle.h.
|
inlinevirtual |
Implements AliVParticle.
Definition at line 203 of file AliAODMCParticle.h.
Referenced by Momentum(), and TestAOD().
|
inlinevirtual |
Implements AliVParticle.
Definition at line 69 of file AliAODMCParticle.h.
|
virtual |
Print particle information
Definition at line 148 of file AliAODMCParticle.cxx.
Referenced by GetLastDaughter().
|
inlinevirtual |
Implements AliVParticle.
Definition at line 199 of file AliAODMCParticle.h.
Referenced by OneOverPt(), and ~AliAODMCParticle().
|
inlinevirtual |
Implements AliVParticle.
Definition at line 196 of file AliAODMCParticle.h.
Referenced by GetCalcMass(), AliAODRecoDecay::MatchToMC(), Momentum(), and ~AliAODMCParticle().
|
inlinevirtual |
Implements AliVParticle.
Definition at line 202 of file AliAODMCParticle.h.
Referenced by ~AliAODMCParticle().
|
inlinevirtual |
Implements AliVParticle.
Definition at line 197 of file AliAODMCParticle.h.
Referenced by GetCalcMass(), AliAODRecoDecay::MatchToMC(), Momentum(), and ~AliAODMCParticle().
|
inlinevirtual |
Implements AliVParticle.
Definition at line 198 of file AliAODMCParticle.h.
Referenced by GetCalcMass(), AliAODRecoDecay::MatchToMC(), Momentum(), Y(), and ~AliAODMCParticle().
|
inlinevirtual |
Definition at line 73 of file AliAODMCParticle.h.
Referenced by AliAODHandler::StoreMCParticles().
|
inlinevirtual |
Reimplemented from AliVParticle.
Definition at line 89 of file AliAODMCParticle.h.
|
inlinevirtual |
Reimplemented from AliVParticle.
Definition at line 86 of file AliAODMCParticle.h.
|
inline |
Definition at line 135 of file AliAODMCParticle.h.
Referenced by AliAODHandler::StoreMCParticles().
|
inline |
Definition at line 106 of file AliAODMCParticle.h.
|
inlinevirtual |
Definition at line 77 of file AliAODMCParticle.h.
Referenced by AliAODHandler::StoreMCParticles().
|
inlinevirtual |
Reimplemented from AliVParticle.
Definition at line 116 of file AliAODMCParticle.h.
|
inlinevirtual |
Reimplemented from AliVParticle.
Definition at line 110 of file AliAODMCParticle.h.
|
inlinevirtual |
Reimplemented from AliVParticle.
Definition at line 128 of file AliAODMCParticle.h.
|
inlinevirtual |
Reimplemented from AliVParticle.
Definition at line 122 of file AliAODMCParticle.h.
|
inline |
Definition at line 94 of file AliAODMCParticle.h.
Referenced by SetMCStatusCode(), and AliAODHandler::StoreMCParticles().
|
inlinestatic |
Definition at line 149 of file AliAODMCParticle.h.
Referenced by AliAODHandler::FinishEvent(), AliAODHandler::StoreMCParticles(), and AliAnalysisTaskMCParticleFilter::UserCreateOutputObjects().
|
inlinevirtual |
Definition at line 209 of file AliAODMCParticle.h.
Referenced by Momentum().
|
inlinevirtual |
Implements AliVParticle.
Definition at line 204 of file AliAODMCParticle.h.
Referenced by Momentum().
|
inlinevirtual |
Reimplemented from AliVParticle.
Definition at line 210 of file AliAODMCParticle.h.
Referenced by Momentum().
|
inlinevirtual |
Implements AliVParticle.
Definition at line 205 of file AliAODMCParticle.h.
Referenced by Momentum().
|
inlinevirtual |
Implements AliVParticle.
Definition at line 208 of file AliAODMCParticle.h.
Referenced by Momentum().
|
inlinevirtual |
Implements AliVParticle.
Definition at line 219 of file AliAODMCParticle.h.
Referenced by Momentum().
|
inlinevirtual |
Implements AliVParticle.
Definition at line 206 of file AliAODMCParticle.h.
Referenced by Momentum().
|
inlinevirtual |
Implements AliVParticle.
Definition at line 207 of file AliAODMCParticle.h.
Referenced by Momentum().
|
private |
Indices of the daughter particles.
Definition at line 160 of file AliAODMCParticle.h.
Referenced by AliAODMCParticle(), GetDaughter(), GetFirstDaughter(), GetLastDaughter(), GetNDaughters(), operator=(), Print(), and SetDaughter().
|
private |
|
private |
Flag for indication of primary etc, Status code in the upper 16 bits 17-32, MC process id (AKA UniqueID) in bins 16-9)
Definition at line 157 of file AliAODMCParticle.h.
Referenced by GetFlag(), GetMCProcessCode(), GetStatus(), IsPhysicalPrimary(), IsPrimary(), IsSecondaryFromMaterial(), IsSecondaryFromWeakDecay(), operator=(), SetFlag(), SetMCProcessCode(), SetPhysicalPrimary(), SetPrimary(), SetSecondaryFromMaterial(), SetSecondaryFromWeakDecay(), and SetStatus().
|
private |
! Index of generator in cocktail
Definition at line 174 of file AliAODMCParticle.h.
Referenced by GetGeneratorIndex(), operator=(), and SetGeneratorIndex().
|
staticprivate |
Standard branch name.
Definition at line 153 of file AliAODMCParticle.h.
Referenced by StdBranchName().
|
private |
Label of the original MCParticle.
Definition at line 158 of file AliAODMCParticle.h.
Referenced by Label(), and operator=().
|
private |
Index of the mother particles.
Definition at line 159 of file AliAODMCParticle.h.
Referenced by GetMother(), operator=(), Print(), and SetMother().
|
private |
PDG code of the particle.
Definition at line 156 of file AliAODMCParticle.h.
Referenced by Charge(), GetPdgCode(), M(), operator=(), and Print().
|
private |
x component of momentum
Definition at line 161 of file AliAODMCParticle.h.
Referenced by operator=(), P(), Phi(), Print(), Pt(), Px(), and PxPyPz().
|
private |
y component of momentum
Definition at line 162 of file AliAODMCParticle.h.
Referenced by operator=(), P(), Phi(), Print(), Pt(), PxPyPz(), and Py().
|
private |
z component of momentum
Definition at line 163 of file AliAODMCParticle.h.
Referenced by Eta(), operator=(), P(), Print(), PxPyPz(), Pz(), and Theta().
|
private |
t of production vertex
Definition at line 173 of file AliAODMCParticle.h.
Referenced by operator=(), Print(), T(), and Tv().
|
private |
x of production vertex
Definition at line 167 of file AliAODMCParticle.h.
Referenced by operator=(), Print(), Xv(), and XvYvZv().
|
private |
y of production vertex
Definition at line 169 of file AliAODMCParticle.h.
Referenced by operator=(), Print(), XvYvZv(), and Yv().
|
private |
z of production vertex
Definition at line 171 of file AliAODMCParticle.h.
Referenced by operator=(), Print(), XvYvZv(), and Zv().