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

#include <AliParticleContainer.h>

Inheritance diagram for AliParticleContainer:

Public Types

enum  ETrackType_t {
  kRejected = -1, kUndefined = 0, kHybridGlobal = 0, kHybridConstrained = 1,
  kHybridConstrainedNoITSrefit = 2
}
 
typedef
AliEmcalTrackSelection::ETrackFilterType_t 
ETrackFilterType_t
 
- 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
}
 

Public Member Functions

 AliParticleContainer ()
 
 AliParticleContainer (const char *name, const char *period="")
 
virtual ~AliParticleContainer ()
 
Bool_t ApplyKinematicCuts (const AliTLorentzVector &mom)
 
virtual Bool_t AcceptObject (Int_t i)
 
virtual Bool_t AcceptObject (TObject *obj)
 
virtual Bool_t AcceptParticle (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
 
AliVParticle * GetLeadingParticle (const char *opt="")
 
AliVParticle * GetParticle (Int_t i=-1) const
 
AliVParticle * GetAcceptParticle (Int_t i=-1)
 
AliVParticle * GetParticleWithLabel (Int_t lab) const
 
AliVParticle * GetAcceptParticleWithLabel (Int_t lab)
 
AliVParticle * GetNextAcceptParticle (Int_t i=-1)
 
AliVParticle * GetNextParticle (Int_t i=-1)
 
Bool_t GetMomentum (TLorentzVector &mom, Int_t i)
 
Bool_t GetAcceptMomentum (TLorentzVector &mom, Int_t i)
 
Bool_t GetNextMomentum (TLorentzVector &mom, Int_t i=-1)
 
Bool_t GetNextAcceptMomentum (TLorentzVector &mom, Int_t i=-1)
 
Int_t GetNParticles () const
 
Int_t GetNAcceptedParticles ()
 
ETrackFilterType_t GetTrackFilterType () const
 
Char_t GetTrackType (Int_t i) const
 
void SetArray (AliVEvent *event)
 
void SetClassName (const char *clname)
 
void SetParticlePtCut (Double_t cut)
 
void SetParticleEtaLimits (Double_t min, Double_t max)
 
void SetParticlePhiLimits (Double_t min, Double_t max, Double_t offset=0.)
 
void SetMinDistanceTPCSectorEdge (Double_t min)
 
void SetMinMCLabel (Int_t s)
 
void SetMaxMCLabel (Int_t s)
 
void SetMCLabelRange (Int_t min, Int_t max)
 
void SetMCFlag (UInt_t m)
 
void SelectHIJING (Bool_t s)
 
void SetGeneratorIndex (Short_t i)
 
void SelectPhysicalPrimaries (Bool_t s)
 
void SetCharge (Short_t c)
 
void SetTrackFilterType (ETrackFilterType_t f)
 
void SetFilterHybridTracks (Bool_t f)
 
void SetTrackCutsPeriod (const char *period)
 
void AddTrackCuts (AliVCuts *cuts)
 
Int_t GetNumberOfCutObjects () const
 
AliVCuts * GetTrackCuts (Int_t icut)
 
void SetAODFilterBits (UInt_t bits)
 
void AddAODFilterBit (UInt_t bit)
 
UInt_t GetAODFilterBits () const
 
void SetSelectionModeAny ()
 
void SetSelectionModeAll ()
 
void NextEvent ()
 
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
 
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)
 
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 ()
 
const char * GetName () const
 
void SetName (const char *n)
 

Static Public Member Functions

static void SetDefTrackCutsPeriod (const char *period)
 
static TString GetDefTrackCutsPeriod ()
 
- Static Public Member Functions inherited from AliEmcalContainer
static Bool_t SamePart (const AliVParticle *part1, const AliVParticle *part2, Double_t dist=1.e-4)
 

Protected Attributes

Double_t fParticlePtCut
 default period string used to generate track cuts More...
 
Double_t fParticleMinEta
 
Double_t fParticleMaxEta
 
Double_t fParticleMinPhi
 
Double_t fParticleMaxPhi
 
Double_t fPhiOffset
 
Double_t fMinDistanceTPCSectorEdge
 
Int_t fMinMCLabel
 
Int_t fMaxMCLabel
 
UInt_t fMCFlag
 
Short_t fGeneratorIndex
 
Short_t fCharge
 
ETrackFilterType_t fTrackFilterType
 
TObjArray * fListOfCuts
 
Bool_t fSelectionModeAny
 
UInt_t fAODFilterBits
 
TString fTrackCutsPeriod
 
AliEmcalTrackSelectionfEmcalTrackSelection
 
TObjArray * fFilteredTracks
 track selection object More...
 
TArrayC fTrackTypes
 tracks filtered using fEmcalTrackSelection More...
 
- Protected Attributes inherited from AliEmcalContainer
TString fName
 
TString fClArrayName
 
TString fClassName
 
Bool_t fIsParticleLevel
 
UInt_t fBitMap
 
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...
 

Static Protected Attributes

static TString fgDefTrackCutsPeriod
 

Private Member Functions

 AliParticleContainer (const AliParticleContainer &obj)
 track types More...
 
AliParticleContaineroperator= (const AliParticleContainer &other)
 
 ClassDef (AliParticleContainer, 8)
 

Detailed Description

Definition at line 15 of file AliParticleContainer.h.

Member Typedef Documentation

Member Enumeration Documentation

Enumerator
kRejected 
kUndefined 
kHybridGlobal 
kHybridConstrained 
kHybridConstrainedNoITSrefit 

Definition at line 20 of file AliParticleContainer.h.

Constructor & Destructor Documentation

AliParticleContainer::AliParticleContainer ( )
AliParticleContainer::AliParticleContainer ( const char *  name,
const char *  period = "" 
)

Definition at line 54 of file AliParticleContainer.cxx.

virtual AliParticleContainer::~AliParticleContainer ( )
inlinevirtual

Definition at line 30 of file AliParticleContainer.h.

AliParticleContainer::AliParticleContainer ( const AliParticleContainer obj)
private

track types

Member Function Documentation

virtual Bool_t AliParticleContainer::AcceptObject ( Int_t  i)
inlinevirtual

Implements AliEmcalContainer.

Definition at line 33 of file AliParticleContainer.h.

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

Implements AliEmcalContainer.

Definition at line 34 of file AliParticleContainer.h.

Bool_t AliParticleContainer::AcceptParticle ( Int_t  i)
virtual

Definition at line 410 of file AliParticleContainer.cxx.

void AliParticleContainer::AddAODFilterBit ( UInt_t  bit)
inline

Definition at line 82 of file AliParticleContainer.h.

void AliParticleContainer::AddTrackCuts ( AliVCuts *  cuts)

Definition at line 516 of file AliParticleContainer.cxx.

Bool_t AliParticleContainer::ApplyKinematicCuts ( const AliTLorentzVector &  mom)

Definition at line 462 of file AliParticleContainer.cxx.

Referenced by AcceptParticle().

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

Implements AliEmcalContainer.

Definition at line 348 of file AliParticleContainer.cxx.

AliVParticle * AliParticleContainer::GetAcceptParticleWithLabel ( Int_t  lab)

Definition at line 254 of file AliParticleContainer.cxx.

Referenced by AliEmcalTrackingQATask::FillHistograms().

UInt_t AliParticleContainer::GetAODFilterBits ( ) const
inline

Definition at line 83 of file AliParticleContainer.h.

static TString AliParticleContainer::GetDefTrackCutsPeriod ( )
inlinestatic

Definition at line 91 of file AliParticleContainer.h.

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

Definition at line 190 of file AliParticleContainer.cxx.

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

Implements AliEmcalContainer.

Definition at line 301 of file AliParticleContainer.cxx.

Referenced by AcceptParticle().

Int_t AliParticleContainer::GetNAcceptedParticles ( )

Definition at line 491 of file AliParticleContainer.cxx.

Bool_t AliParticleContainer::GetNextAcceptMomentum ( TLorentzVector &  mom,
Int_t  i = -1 
)
virtual

Implements AliEmcalContainer.

Definition at line 373 of file AliParticleContainer.cxx.

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

Implements AliEmcalContainer.

Definition at line 325 of file AliParticleContainer.cxx.

AliVParticle * AliParticleContainer::GetNextParticle ( Int_t  i = -1)

Definition at line 283 of file AliParticleContainer.cxx.

Referenced by GetNextMomentum().

Int_t AliParticleContainer::GetNParticles ( ) const
inline

Definition at line 53 of file AliParticleContainer.h.

Int_t AliParticleContainer::GetNumberOfCutObjects ( ) const

Definition at line 526 of file AliParticleContainer.cxx.

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

Definition at line 39 of file AliParticleContainer.h.

Double_t AliParticleContainer::GetParticleEtaMin ( ) const
inline

Definition at line 38 of file AliParticleContainer.h.

Double_t AliParticleContainer::GetParticlePhiMax ( ) const
inline

Definition at line 41 of file AliParticleContainer.h.

Double_t AliParticleContainer::GetParticlePhiMin ( ) const
inline

Definition at line 40 of file AliParticleContainer.h.

Double_t AliParticleContainer::GetParticlePtCut ( ) const
inline

Definition at line 37 of file AliParticleContainer.h.

Referenced by GetTitle().

AliVParticle * AliParticleContainer::GetParticleWithLabel ( Int_t  lab) const

Definition at line 245 of file AliParticleContainer.cxx.

const char * AliParticleContainer::GetTitle ( ) const

Definition at line 543 of file AliParticleContainer.cxx.

AliVCuts * AliParticleContainer::GetTrackCuts ( Int_t  icut)

Definition at line 533 of file AliParticleContainer.cxx.

ETrackFilterType_t AliParticleContainer::GetTrackFilterType ( ) const
inline

Definition at line 55 of file AliParticleContainer.h.

Char_t AliParticleContainer::GetTrackType ( Int_t  i) const
inline

Definition at line 56 of file AliParticleContainer.h.

void AliParticleContainer::NextEvent ( )
virtual

Reimplemented from AliEmcalContainer.

Definition at line 152 of file AliParticleContainer.cxx.

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

Definition at line 69 of file AliParticleContainer.h.

void AliParticleContainer::SelectPhysicalPrimaries ( Bool_t  s)
inline
void AliParticleContainer::SetAODFilterBits ( UInt_t  bits)
inline

Definition at line 81 of file AliParticleContainer.h.

void AliParticleContainer::SetArray ( AliVEvent *  event)
virtual

Reimplemented from AliEmcalContainer.

Definition at line 88 of file AliParticleContainer.cxx.

Referenced by AliAnalysisTaskEmcal::ExecOnce().

void AliParticleContainer::SetCharge ( Short_t  c)
inline

Definition at line 73 of file AliParticleContainer.h.

static void AliParticleContainer::SetDefTrackCutsPeriod ( const char *  period)
inlinestatic

Definition at line 90 of file AliParticleContainer.h.

void AliParticleContainer::SetFilterHybridTracks ( Bool_t  f)
inline

Definition at line 75 of file AliParticleContainer.h.

void AliParticleContainer::SetGeneratorIndex ( Short_t  i)
inline

Definition at line 70 of file AliParticleContainer.h.

void AliParticleContainer::SetMaxMCLabel ( Int_t  s)
inline

Definition at line 66 of file AliParticleContainer.h.

Referenced by SetMCLabelRange().

void AliParticleContainer::SetMCFlag ( UInt_t  m)
inline

Definition at line 68 of file AliParticleContainer.h.

void AliParticleContainer::SetMCLabelRange ( Int_t  min,
Int_t  max 
)
inline

Definition at line 67 of file AliParticleContainer.h.

void AliParticleContainer::SetMinDistanceTPCSectorEdge ( Double_t  min)
inline

Definition at line 64 of file AliParticleContainer.h.

void AliParticleContainer::SetMinMCLabel ( Int_t  s)
inline

Definition at line 65 of file AliParticleContainer.h.

Referenced by SetMCLabelRange().

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

Definition at line 62 of file AliParticleContainer.h.

Referenced by AliAnalysisTaskEmcal::SetTrackEtaLimits().

void AliParticleContainer::SetParticlePhiLimits ( Double_t  min,
Double_t  max,
Double_t  offset = 0. 
)
inline

Definition at line 63 of file AliParticleContainer.h.

Referenced by AliAnalysisTaskEmcal::SetTrackPhiLimits().

void AliParticleContainer::SetParticlePtCut ( Double_t  cut)
inline
void AliParticleContainer::SetSelectionModeAll ( )
inline

Definition at line 86 of file AliParticleContainer.h.

void AliParticleContainer::SetSelectionModeAny ( )
inline

Definition at line 85 of file AliParticleContainer.h.

void AliParticleContainer::SetTrackCutsPeriod ( const char *  period)
inline

Definition at line 77 of file AliParticleContainer.h.

void AliParticleContainer::SetTrackFilterType ( ETrackFilterType_t  f)
inline

Definition at line 74 of file AliParticleContainer.h.

Member Data Documentation

UInt_t AliParticleContainer::fAODFilterBits
protected
Short_t AliParticleContainer::fCharge
protected

Definition at line 109 of file AliParticleContainer.h.

Referenced by AcceptParticle(), and SetCharge().

AliEmcalTrackSelection* AliParticleContainer::fEmcalTrackSelection
protected

Definition at line 115 of file AliParticleContainer.h.

Referenced by NextEvent(), and SetArray().

TObjArray* AliParticleContainer::fFilteredTracks
protected

track selection object

Definition at line 116 of file AliParticleContainer.h.

Referenced by AcceptParticle(), GetParticle(), and NextEvent().

TString AliParticleContainer::fgDefTrackCutsPeriod
staticprotected
Short_t AliParticleContainer::fGeneratorIndex
protected

Definition at line 108 of file AliParticleContainer.h.

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

TObjArray* AliParticleContainer::fListOfCuts
protected
Int_t AliParticleContainer::fMaxMCLabel
protected

Definition at line 106 of file AliParticleContainer.h.

Referenced by AcceptParticle(), and SetMaxMCLabel().

UInt_t AliParticleContainer::fMCFlag
protected

Definition at line 107 of file AliParticleContainer.h.

Referenced by AcceptParticle(), SelectPhysicalPrimaries(), and SetMCFlag().

Double_t AliParticleContainer::fMinDistanceTPCSectorEdge
protected

Definition at line 104 of file AliParticleContainer.h.

Referenced by ApplyKinematicCuts(), and SetMinDistanceTPCSectorEdge().

Int_t AliParticleContainer::fMinMCLabel
protected

Definition at line 105 of file AliParticleContainer.h.

Referenced by AcceptParticle(), and SetMinMCLabel().

Double_t AliParticleContainer::fParticleMaxEta
protected
Double_t AliParticleContainer::fParticleMaxPhi
protected
Double_t AliParticleContainer::fParticleMinEta
protected
Double_t AliParticleContainer::fParticleMinPhi
protected

Definition at line 101 of file AliParticleContainer.h.

Referenced by GetParticlePhiMin(), and SetParticlePhiLimits().

Double_t AliParticleContainer::fParticlePtCut
protected

default period string used to generate track cuts

Definition at line 98 of file AliParticleContainer.h.

Referenced by ApplyKinematicCuts(), GetParticlePtCut(), and SetParticlePtCut().

Double_t AliParticleContainer::fPhiOffset
protected

Definition at line 103 of file AliParticleContainer.h.

Referenced by ApplyKinematicCuts(), and SetParticlePhiLimits().

Bool_t AliParticleContainer::fSelectionModeAny
protected

Definition at line 112 of file AliParticleContainer.h.

Referenced by SetArray(), SetSelectionModeAll(), and SetSelectionModeAny().

TString AliParticleContainer::fTrackCutsPeriod
protected

Definition at line 114 of file AliParticleContainer.h.

Referenced by AliParticleContainer(), SetArray(), and SetTrackCutsPeriod().

TArrayC AliParticleContainer::fTrackTypes
protected

tracks filtered using fEmcalTrackSelection

Definition at line 117 of file AliParticleContainer.h.

Referenced by GetAcceptMomentum(), GetMomentum(), GetNextAcceptMomentum(), GetNextMomentum(), GetTrackType(), and NextEvent().


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