AliPhysics  de71be2 (de71be2)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
AliMCParticleContainer Class Reference

#include <AliMCParticleContainer.h>

Inheritance diagram for AliMCParticleContainer:

Public Member Functions

 AliMCParticleContainer ()
 
 AliMCParticleContainer (const char *name)
 
virtual ~AliMCParticleContainer ()
 
virtual Bool_t ApplyMCParticleCuts (const AliAODMCParticle *vp)
 
virtual Bool_t AcceptObject (Int_t i)
 
virtual Bool_t AcceptObject (const TObject *obj)
 
virtual Bool_t AcceptParticle (Int_t i)
 
virtual Bool_t AcceptParticle (const AliVParticle *vp)
 
virtual Bool_t AcceptMCParticle (const AliAODMCParticle *vp)
 
virtual Bool_t AcceptMCParticle (Int_t i)
 
virtual AliAODMCParticle * GetMCParticleWithLabel (Int_t lab) const
 
virtual AliAODMCParticle * GetAcceptMCParticleWithLabel (Int_t lab)
 
virtual AliAODMCParticle * GetLeadingMCParticle (const char *opt="")
 
virtual AliAODMCParticle * GetMCParticle (Int_t i=-1) const
 
virtual AliAODMCParticle * GetAcceptMCParticle (Int_t i=-1)
 
virtual AliAODMCParticle * GetNextAcceptMCParticle (Int_t i=-1)
 
virtual AliAODMCParticle * GetNextMCParticle (Int_t i=-1)
 
virtual AliVParticle * GetParticle (Int_t i=-1) const
 
virtual AliVParticle * GetAcceptParticle (Int_t i=-1)
 
virtual AliVParticle * GetNextAcceptParticle (Int_t i=-1)
 
virtual AliVParticle * GetNextParticle (Int_t i=-1)
 
virtual Bool_t GetMomentum (TLorentzVector &mom, const AliAODMCParticle *part, Double_t mass)
 
virtual Bool_t GetMomentum (TLorentzVector &mom, const AliAODMCParticle *part)
 
virtual Bool_t GetMomentum (TLorentzVector &mom, Int_t i)
 
virtual Bool_t GetAcceptMomentum (TLorentzVector &mom, Int_t i)
 
virtual Bool_t GetNextMomentum (TLorentzVector &mom, Int_t i=-1)
 
virtual Bool_t GetNextAcceptMomentum (TLorentzVector &mom, Int_t i=-1)
 
void SetClassName (const char *clname)
 
void SetMCFlag (UInt_t m)
 
void SelectPhysicalPrimaries (Bool_t s)
 
const char * GetTitle () const
 
- Public Member Functions inherited from AliParticleContainer
 AliParticleContainer ()
 
 AliParticleContainer (const char *name)
 
virtual ~AliParticleContainer ()
 
virtual Bool_t ApplyParticleCuts (const AliVParticle *vp)
 
virtual Bool_t ApplyKinematicCuts (const AliTLorentzVector &mom)
 
Double_t GetParticlePtCut () const
 
Double_t GetParticleEtaMin () const
 
Double_t GetParticleEtaMax () const
 
Double_t GetParticlePhiMin () const
 
Double_t GetParticlePhiMax () const
 
void SetParticlePtCut (Double_t cut)
 
void SetParticleEtaLimits (Double_t min, Double_t max)
 
void SetParticlePhiLimits (Double_t min, Double_t max)
 
virtual AliVParticle * GetLeadingParticle (const char *opt="")
 
virtual Bool_t GetMomentum (TLorentzVector &mom, const AliVParticle *part, Double_t mass)
 
virtual Bool_t GetMomentum (TLorentzVector &mom, const AliVParticle *part)
 
Int_t GetNParticles () const
 
Int_t GetNAcceptedParticles ()
 
void SetClassName (const char *clname)
 
void SetMinDistanceTPCSectorEdge (Double_t min)
 
void SetCharge (Short_t c)
 
void SelectHIJING (Bool_t s)
 
void SetGeneratorIndex (Short_t i)
 
const char * GetTitle () const
 
- Public Member Functions inherited from AliEmcalContainer
 AliEmcalContainer ()
 
 AliEmcalContainer (const char *name)
 
virtual ~AliEmcalContainer ()
 
TClonesArray * GetArray () const
 
const TString & GetArrayName () const
 
const TString & GetClassName () const
 
Double_t GetMinE () const
 
Double_t GetMaxE () const
 
Double_t GetMinPt () const
 
Double_t GetMaxPt () const
 
Double_t GetMinEta () const
 
Double_t GetMaxEta () const
 
Double_t GetMinPhi () const
 
Double_t GetMaxPhi () const
 
Int_t GetCurrentID () const
 
Bool_t GetIsParticleLevel () const
 
Int_t GetIndexFromLabel (Int_t lab) const
 
Int_t GetNEntries () const
 
void ResetCurrentID (Int_t i=-1)
 
virtual void SetArray (AliVEvent *event)
 
void SetArrayName (const char *n)
 
void SetBitMap (UInt_t m)
 
void SetIsParticleLevel (Bool_t b)
 
void SortArray ()
 
UInt_t GetRejectionReason () const
 
UInt_t TestRejectionReason (UInt_t rs) const
 
UShort_t GetRejectionReasonBitPosition () const
 
TClass * GetLoadedClass ()
 
virtual void NextEvent ()
 
void SetMinMCLabel (Int_t s)
 
void SetMaxMCLabel (Int_t s)
 
void SetMCLabelRange (Int_t min, Int_t max)
 
void SetELimits (Double_t min, Double_t max)
 
void SetMinE (Double_t min)
 
void SetMaxE (Double_t max)
 
void SetPtLimits (Double_t min, Double_t max)
 
void SetMinPt (Double_t min)
 
void SetMaxPt (Double_t max)
 
void SetEtaLimits (Double_t min, Double_t max)
 
void SetPhiLimits (Double_t min, Double_t max)
 
void SetMassHypothesis (Double_t m)
 
const char * GetName () const
 
void SetName (const char *n)
 

Protected Attributes

UInt_t fMCFlag
 
- Protected Attributes inherited from AliParticleContainer
Double_t fMinDistanceTPCSectorEdge
 
Short_t fCharge
 
Short_t fGeneratorIndex
 
- Protected Attributes inherited from AliEmcalContainer
TString fName
 
TString fClArrayName
 
TString fClassName
 
Bool_t fIsParticleLevel
 
UInt_t fBitMap
 
Double_t fMinPt
 
Double_t fMaxPt
 
Double_t fMaxE
 
Double_t fMinE
 
Double_t fMinEta
 
Double_t fMaxEta
 
Double_t fMinPhi
 
Double_t fMaxPhi
 
Int_t fMinMCLabel
 
Int_t fMaxMCLabel
 
Double_t fMassHypothesis
 
TClonesArray * fClArray
 
Int_t fCurrentID
 TClonesArray. More...
 
AliNamedArrayI * fLabelMap
 current ID for automatic loops More...
 
Double_t fVertex [3]
 Label-Index map. More...
 
UInt_t fRejectionReason
 event vertex array More...
 
TClass * fLoadedClass
 reject reason bit map for the last call to an accept object function More...
 

Private Member Functions

 AliMCParticleContainer (const AliMCParticleContainer &obj)
 
AliMCParticleContaineroperator= (const AliMCParticleContainer &other)
 
 ClassDef (AliMCParticleContainer, 1)
 

Additional Inherited Members

- Public Types inherited from AliEmcalContainer
enum  RejectionReason {
  kNullObject = 1<<0, kPtCut = 1<<1, kAcceptanceCut = 1<<2, kMCLabelCut = 1<<3,
  kBitMapCut = 1<<4, kHFCut = 1<<5, kNotHybridTrack = 1<<7, kMCFlag = 1<<8,
  kMCGeneratorCut = 1<<9, kChargeCut = 1<<10, kMinDistanceTPCSectorEdgeCut = 1<<11, kIsEMCalCut = 1<<13,
  kTimeCut = 1<<14, kEnergyCut = 1<<15, kExoticCut = 1<<16, kAreaCut = 1<<18,
  kAreaEmcCut = 1<<19, kZLeadingChCut = 1<<20, kZLeadingEmcCut = 1<<21, kNEFCut = 1<<22,
  kMinLeadPtCut = 1<<23, kMaxTrackPtCut = 1<<24, kMaxClusterPtCut = 1<<25, kFlavourCut = 1<<26,
  kTagStatus = 1<<27, kMinNConstituents = 1<<28
}
 
- Static Public Member Functions inherited from AliEmcalContainer
static Bool_t SamePart (const AliVParticle *part1, const AliVParticle *part2, Double_t dist=1.e-4)
 

Detailed Description

Definition at line 13 of file AliMCParticleContainer.h.

Constructor & Destructor Documentation

AliMCParticleContainer::AliMCParticleContainer ( )
AliMCParticleContainer::AliMCParticleContainer ( const char *  name)

Definition at line 27 of file AliMCParticleContainer.cxx.

virtual AliMCParticleContainer::~AliMCParticleContainer ( )
inlinevirtual

Definition at line 18 of file AliMCParticleContainer.h.

AliMCParticleContainer::AliMCParticleContainer ( const AliMCParticleContainer obj)
private

Member Function Documentation

Bool_t AliMCParticleContainer::AcceptMCParticle ( const AliAODMCParticle *  vp)
virtual

Definition at line 216 of file AliMCParticleContainer.cxx.

Referenced by AcceptObject(), AcceptParticle(), and GetAcceptMCParticle().

Bool_t AliMCParticleContainer::AcceptMCParticle ( Int_t  i)
virtual

Definition at line 236 of file AliMCParticleContainer.cxx.

virtual Bool_t AliMCParticleContainer::AcceptObject ( Int_t  i)
inlinevirtual

Reimplemented from AliParticleContainer.

Definition at line 21 of file AliMCParticleContainer.h.

virtual Bool_t AliMCParticleContainer::AcceptObject ( const TObject *  obj)
inlinevirtual

Reimplemented from AliParticleContainer.

Definition at line 22 of file AliMCParticleContainer.h.

virtual Bool_t AliMCParticleContainer::AcceptParticle ( Int_t  i)
inlinevirtual

Reimplemented from AliParticleContainer.

Definition at line 23 of file AliMCParticleContainer.h.

virtual Bool_t AliMCParticleContainer::AcceptParticle ( const AliVParticle *  vp)
inlinevirtual

Reimplemented from AliParticleContainer.

Definition at line 24 of file AliMCParticleContainer.h.

Bool_t AliMCParticleContainer::ApplyMCParticleCuts ( const AliAODMCParticle *  vp)
virtual

Definition at line 249 of file AliMCParticleContainer.cxx.

Referenced by AcceptMCParticle().

AliMCParticleContainer::ClassDef ( AliMCParticleContainer  ,
 
)
private
AliAODMCParticle * AliMCParticleContainer::GetAcceptMCParticle ( Int_t  i = -1)
virtual
AliAODMCParticle * AliMCParticleContainer::GetAcceptMCParticleWithLabel ( Int_t  lab)
virtual

Definition at line 46 of file AliMCParticleContainer.cxx.

Referenced by AliEmcalTrackingQATask::FillHistograms().

Bool_t AliMCParticleContainer::GetAcceptMomentum ( TLorentzVector &  mom,
Int_t  i 
)
virtual

Reimplemented from AliParticleContainer.

Definition at line 177 of file AliMCParticleContainer.cxx.

virtual AliVParticle* AliMCParticleContainer::GetAcceptParticle ( Int_t  i = -1)
inlinevirtual

Reimplemented from AliParticleContainer.

Definition at line 35 of file AliMCParticleContainer.h.

virtual AliAODMCParticle* AliMCParticleContainer::GetLeadingMCParticle ( const char *  opt = "")
inlinevirtual

Definition at line 29 of file AliMCParticleContainer.h.

AliAODMCParticle * AliMCParticleContainer::GetMCParticle ( Int_t  i = -1) const
virtual
AliAODMCParticle * AliMCParticleContainer::GetMCParticleWithLabel ( Int_t  lab) const
virtual

Definition at line 37 of file AliMCParticleContainer.cxx.

Bool_t AliMCParticleContainer::GetMomentum ( TLorentzVector &  mom,
const AliAODMCParticle *  part,
Double_t  mass 
)
virtual

Definition at line 118 of file AliMCParticleContainer.cxx.

Referenced by AcceptMCParticle(), and GetMomentum().

Bool_t AliMCParticleContainer::GetMomentum ( TLorentzVector &  mom,
const AliAODMCParticle *  part 
)
virtual

Definition at line 132 of file AliMCParticleContainer.cxx.

Bool_t AliMCParticleContainer::GetMomentum ( TLorentzVector &  mom,
Int_t  i 
)
virtual

Reimplemented from AliParticleContainer.

Definition at line 138 of file AliMCParticleContainer.cxx.

AliAODMCParticle * AliMCParticleContainer::GetNextAcceptMCParticle ( Int_t  i = -1)
virtual
Bool_t AliMCParticleContainer::GetNextAcceptMomentum ( TLorentzVector &  mom,
Int_t  i = -1 
)
virtual

Reimplemented from AliParticleContainer.

Definition at line 197 of file AliMCParticleContainer.cxx.

virtual AliVParticle* AliMCParticleContainer::GetNextAcceptParticle ( Int_t  i = -1)
inlinevirtual

Reimplemented from AliParticleContainer.

Definition at line 36 of file AliMCParticleContainer.h.

AliAODMCParticle * AliMCParticleContainer::GetNextMCParticle ( Int_t  i = -1)
virtual

Definition at line 100 of file AliMCParticleContainer.cxx.

Referenced by GetNextMomentum(), and GetNextParticle().

Bool_t AliMCParticleContainer::GetNextMomentum ( TLorentzVector &  mom,
Int_t  i = -1 
)
virtual

Reimplemented from AliParticleContainer.

Definition at line 158 of file AliMCParticleContainer.cxx.

virtual AliVParticle* AliMCParticleContainer::GetNextParticle ( Int_t  i = -1)
inlinevirtual

Reimplemented from AliParticleContainer.

Definition at line 37 of file AliMCParticleContainer.h.

virtual AliVParticle* AliMCParticleContainer::GetParticle ( Int_t  i = -1) const
inlinevirtual

Reimplemented from AliParticleContainer.

Definition at line 34 of file AliMCParticleContainer.h.

const char * AliMCParticleContainer::GetTitle ( ) const

Definition at line 276 of file AliMCParticleContainer.cxx.

AliMCParticleContainer& AliMCParticleContainer::operator= ( const AliMCParticleContainer other)
private
void AliMCParticleContainer::SelectPhysicalPrimaries ( Bool_t  s)
inline
void AliMCParticleContainer::SetClassName ( const char *  clname)

Definition at line 266 of file AliMCParticleContainer.cxx.

void AliMCParticleContainer::SetMCFlag ( UInt_t  m)
inline

Definition at line 46 of file AliMCParticleContainer.h.

Member Data Documentation

UInt_t AliMCParticleContainer::fMCFlag
protected

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