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

Container for particles within the EMCAL framework. More...

#include <AliParticleContainer.h>

Inheritance diagram for AliParticleContainer:

Public Member Functions

 AliParticleContainer ()
 
 AliParticleContainer (const char *name)
 
virtual ~AliParticleContainer ()
 
virtual Bool_t ApplyParticleCuts (const AliVParticle *vp)
 
virtual Bool_t ApplyKinematicCuts (const AliTLorentzVector &mom)
 
virtual Bool_t AcceptObject (Int_t i)
 
virtual Bool_t AcceptObject (const TObject *obj)
 
virtual Bool_t AcceptParticle (const AliVParticle *vp)
 
virtual Bool_t AcceptParticle (Int_t i)
 
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 AliVParticle * GetParticle (Int_t i=-1) const
 
virtual AliVParticle * GetAcceptParticle (Int_t i=-1)
 
virtual AliVParticle * GetNextAcceptParticle ()
 
virtual AliVParticle * GetNextParticle ()
 
virtual Bool_t GetMomentum (TLorentzVector &mom, const AliVParticle *part, Double_t mass)
 
virtual Bool_t GetMomentum (TLorentzVector &mom, const AliVParticle *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)
 
virtual Bool_t GetNextAcceptMomentum (TLorentzVector &mom)
 
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

Double_t fMinDistanceTPCSectorEdge
 
Short_t fCharge
 require minimum distance to edge of TPC sector edge More...
 
Short_t fGeneratorIndex
 select particles with charge=fCharge More...
 
- Protected Attributes inherited from AliEmcalContainer
TString fName
 
TString fClArrayName
 object name More...
 
TString fClassName
 name of branch More...
 
Bool_t fIsParticleLevel
 name of the class in the TClonesArray More...
 
UInt_t fBitMap
 whether or not it is a particle level object collection More...
 
Double_t fMinPt
 bitmap mask More...
 
Double_t fMaxPt
 cut on particle pt More...
 
Double_t fMaxE
 cut on particle pt More...
 
Double_t fMinE
 cut on particle energy More...
 
Double_t fMinEta
 cut on particle energy More...
 
Double_t fMaxEta
 cut on particle eta More...
 
Double_t fMinPhi
 cut on particle eta More...
 
Double_t fMaxPhi
 cut on particle phi More...
 
Int_t fMinMCLabel
 cut on particle phi More...
 
Int_t fMaxMCLabel
 minimum MC label More...
 
Double_t fMassHypothesis
 maximum MC label More...
 
TClonesArray * fClArray
 if < 0 it will use a PID mass when available More...
 
Int_t fCurrentID
 !current ID for automatic loops More...
 
AliNamedArrayI * fLabelMap
 !Label-Index map More...
 
Double_t fVertex [3]
 !event vertex array More...
 
UInt_t fRejectionReason
 !reject reason bit map for the last call to an accept object function More...
 
TClass * fLoadedClass
 !Class of teh objects contained in the TClonesArray More...
 

Private Member Functions

 AliParticleContainer (const AliParticleContainer &obj)
 select MC particles with generator index (default = -1 = switch off selection) More...
 
AliParticleContaineroperator= (const AliParticleContainer &other)
 

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

Container for particles within the EMCAL framework.

Definition at line 16 of file AliParticleContainer.h.

Constructor & Destructor Documentation

AliParticleContainer::AliParticleContainer ( )

Definition at line 19 of file AliParticleContainer.cxx.

AliParticleContainer::AliParticleContainer ( const char *  name)

Definition at line 31 of file AliParticleContainer.cxx.

virtual AliParticleContainer::~AliParticleContainer ( )
inlinevirtual

Definition at line 21 of file AliParticleContainer.h.

AliParticleContainer::AliParticleContainer ( const AliParticleContainer obj)
private

select MC particles with generator index (default = -1 = switch off selection)

Member Function Documentation

virtual Bool_t AliParticleContainer::AcceptObject ( Int_t  i)
inlinevirtual

Implements AliEmcalContainer.

Reimplemented in AliTrackContainer.

Definition at line 25 of file AliParticleContainer.h.

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

Implements AliEmcalContainer.

Reimplemented in AliTrackContainer.

Definition at line 26 of file AliParticleContainer.h.

Bool_t AliParticleContainer::AcceptParticle ( const AliVParticle *  vp)
virtual
Bool_t AliParticleContainer::AcceptParticle ( Int_t  i)
virtual

Reimplemented in AliTrackContainer.

Definition at line 249 of file AliParticleContainer.cxx.

Bool_t AliParticleContainer::ApplyKinematicCuts ( const AliTLorentzVector &  mom)
virtual

Reimplemented from AliEmcalContainer.

Definition at line 304 of file AliParticleContainer.cxx.

Referenced by AcceptParticle(), and AliTrackContainer::AcceptTrack().

Bool_t AliParticleContainer::ApplyParticleCuts ( const AliVParticle *  vp)
virtual

Definition at line 262 of file AliParticleContainer.cxx.

Referenced by AcceptParticle(), and AliTrackContainer::ApplyTrackCuts().

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

Implements AliEmcalContainer.

Reimplemented in AliTrackContainer.

Definition at line 190 of file AliParticleContainer.cxx.

AliVParticle * AliParticleContainer::GetLeadingParticle ( const char *  opt = "")
virtual

Definition at line 43 of file AliParticleContainer.cxx.

Referenced by AliTrackContainer::GetLeadingTrack().

Bool_t AliParticleContainer::GetMomentum ( TLorentzVector &  mom,
const AliVParticle *  part,
Double_t  mass 
)
virtual

Definition at line 131 of file AliParticleContainer.cxx.

Referenced by AcceptParticle(), and GetMomentum().

Bool_t AliParticleContainer::GetMomentum ( TLorentzVector &  mom,
const AliVParticle *  part 
)
virtual

Definition at line 145 of file AliParticleContainer.cxx.

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

Implements AliEmcalContainer.

Reimplemented in AliTrackContainer.

Definition at line 151 of file AliParticleContainer.cxx.

Int_t AliParticleContainer::GetNAcceptedParticles ( )

Definition at line 320 of file AliParticleContainer.cxx.

Referenced by AliTrackContainer::GetNAcceptedTracks().

Bool_t AliParticleContainer::GetNextAcceptMomentum ( TLorentzVector &  mom)
virtual

Implements AliEmcalContainer.

Reimplemented in AliTrackContainer.

Definition at line 210 of file AliParticleContainer.cxx.

Bool_t AliParticleContainer::GetNextMomentum ( TLorentzVector &  mom)
virtual

Implements AliEmcalContainer.

Reimplemented in AliTrackContainer.

Definition at line 171 of file AliParticleContainer.cxx.

AliVParticle * AliParticleContainer::GetNextParticle ( )
virtual

Reimplemented in AliTrackContainer.

Definition at line 115 of file AliParticleContainer.cxx.

Referenced by GetNextMomentum().

Int_t AliParticleContainer::GetNParticles ( ) const
inline

Definition at line 48 of file AliParticleContainer.h.

Referenced by AliTrackContainer::GetNTracks().

AliVParticle * AliParticleContainer::GetParticle ( Int_t  i = -1) const
virtual
Double_t AliParticleContainer::GetParticleEtaMax ( ) const
inline

Definition at line 31 of file AliParticleContainer.h.

Double_t AliParticleContainer::GetParticleEtaMin ( ) const
inline

Definition at line 30 of file AliParticleContainer.h.

Double_t AliParticleContainer::GetParticlePhiMax ( ) const
inline

Definition at line 33 of file AliParticleContainer.h.

Double_t AliParticleContainer::GetParticlePhiMin ( ) const
inline

Definition at line 32 of file AliParticleContainer.h.

Double_t AliParticleContainer::GetParticlePtCut ( ) const
inline

Definition at line 29 of file AliParticleContainer.h.

const char * AliParticleContainer::GetTitle ( ) const

Definition at line 349 of file AliParticleContainer.cxx.

AliParticleContainer& AliParticleContainer::operator= ( const AliParticleContainer other)
private
void AliParticleContainer::SelectHIJING ( Bool_t  s)
inline

Definition at line 54 of file AliParticleContainer.h.

void AliParticleContainer::SetCharge ( Short_t  c)
inline

Definition at line 53 of file AliParticleContainer.h.

void AliParticleContainer::SetGeneratorIndex ( Short_t  i)
inline

Definition at line 55 of file AliParticleContainer.h.

void AliParticleContainer::SetMinDistanceTPCSectorEdge ( Double_t  min)
inline

Definition at line 52 of file AliParticleContainer.h.

void AliParticleContainer::SetParticleEtaLimits ( Double_t  min,
Double_t  max 
)
inline

Definition at line 35 of file AliParticleContainer.h.

Referenced by AliAnalysisTaskEmcal::SetTrackEtaLimits().

void AliParticleContainer::SetParticlePhiLimits ( Double_t  min,
Double_t  max 
)
inline

Definition at line 36 of file AliParticleContainer.h.

Referenced by AliAnalysisTaskEmcal::SetTrackPhiLimits().

void AliParticleContainer::SetParticlePtCut ( Double_t  cut)
inline

Definition at line 34 of file AliParticleContainer.h.

Referenced by AliAnalysisTaskEmcal::SetTrackPtCut().

Member Data Documentation

Short_t AliParticleContainer::fCharge
protected

require minimum distance to edge of TPC sector edge

Definition at line 62 of file AliParticleContainer.h.

Referenced by ApplyParticleCuts(), and SetCharge().

Short_t AliParticleContainer::fGeneratorIndex
protected

select particles with charge=fCharge

Definition at line 63 of file AliParticleContainer.h.

Referenced by ApplyParticleCuts(), SelectHIJING(), and SetGeneratorIndex().

Double_t AliParticleContainer::fMinDistanceTPCSectorEdge
protected

Definition at line 61 of file AliParticleContainer.h.

Referenced by ApplyKinematicCuts(), and SetMinDistanceTPCSectorEdge().


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