AliPhysics  0e0bd91 (0e0bd91)
 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, kBitMapCut = 1<<3,
  kNotHybridTrack = 1<<7, kMCFlag = 1<<8, kMCGeneratorCut = 1<<9, kChargeCut = 1<<10,
  kMinDistanceTPCSectorEdgeCut = 1<<11, kMinMCLabelAccept = 1<<12, 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 AcceptParticle (AliVParticle *vp)
 
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 SetMCTrackBitMap (UInt_t m)
 
void SetMinMCLabel (Int_t s)
 
void SetMinMCLabelAccept (Int_t s)
 
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 SetTrackBitMap (UInt_t m)
 
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 ()
 
- 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 SetIsParticleLevel (Bool_t b)
 
void SortArray ()
 
UInt_t GetRejectionReason () const
 
UInt_t TestRejectionReason (UInt_t rs) const
 
UShort_t GetRejectionReasonBitPosition () const
 
TClass * GetLoadedClass ()
 

Static Public Member Functions

static void SetDefTrackCutsPeriod (const char *period)
 
static TString GetDefTrackCutsPeriod ()
 

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
 
UInt_t fTrackBitMap
 
UInt_t fMCTrackBitMap
 
Int_t fMinMCLabel
 
Int_t fMinMCLabelAccept
 
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 fClArrayName
 
TString fClassName
 
Bool_t fIsParticleLevel
 
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 14 of file AliParticleContainer.h.

Member Typedef Documentation

Member Enumeration Documentation

Enumerator
kRejected 
kUndefined 
kHybridGlobal 
kHybridConstrained 
kHybridConstrainedNoITSrefit 

Definition at line 19 of file AliParticleContainer.h.

Constructor & Destructor Documentation

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

Definition at line 56 of file AliParticleContainer.cxx.

virtual AliParticleContainer::~AliParticleContainer ( )
inlinevirtual

Definition at line 29 of file AliParticleContainer.h.

AliParticleContainer::AliParticleContainer ( const AliParticleContainer obj)
private

track types

Member Function Documentation

Bool_t AliParticleContainer::AcceptParticle ( Int_t  i)

Definition at line 414 of file AliParticleContainer.cxx.

void AliParticleContainer::AddAODFilterBit ( UInt_t  bit)
inline

Definition at line 79 of file AliParticleContainer.h.

void AliParticleContainer::AddTrackCuts ( AliVCuts *  cuts)

Definition at line 520 of file AliParticleContainer.cxx.

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

Implements AliEmcalContainer.

Definition at line 352 of file AliParticleContainer.cxx.

AliVParticle * AliParticleContainer::GetAcceptParticleWithLabel ( Int_t  lab)

Definition at line 258 of file AliParticleContainer.cxx.

Referenced by AliEmcalTrackingQATask::FillHistograms().

UInt_t AliParticleContainer::GetAODFilterBits ( ) const
inline

Definition at line 80 of file AliParticleContainer.h.

static TString AliParticleContainer::GetDefTrackCutsPeriod ( )
inlinestatic

Definition at line 88 of file AliParticleContainer.h.

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

Definition at line 194 of file AliParticleContainer.cxx.

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

Implements AliEmcalContainer.

Definition at line 305 of file AliParticleContainer.cxx.

Referenced by AcceptParticle().

Int_t AliParticleContainer::GetNAcceptedParticles ( )

Definition at line 495 of file AliParticleContainer.cxx.

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

Implements AliEmcalContainer.

Definition at line 377 of file AliParticleContainer.cxx.

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

Implements AliEmcalContainer.

Definition at line 329 of file AliParticleContainer.cxx.

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

Definition at line 287 of file AliParticleContainer.cxx.

Referenced by GetNextMomentum().

Int_t AliParticleContainer::GetNParticles ( ) const
inline

Definition at line 49 of file AliParticleContainer.h.

Int_t AliParticleContainer::GetNumberOfCutObjects ( ) const

Definition at line 530 of file AliParticleContainer.cxx.

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

Definition at line 35 of file AliParticleContainer.h.

Double_t AliParticleContainer::GetParticleEtaMin ( ) const
inline

Definition at line 34 of file AliParticleContainer.h.

Double_t AliParticleContainer::GetParticlePhiMax ( ) const
inline

Definition at line 37 of file AliParticleContainer.h.

Double_t AliParticleContainer::GetParticlePhiMin ( ) const
inline

Definition at line 36 of file AliParticleContainer.h.

Double_t AliParticleContainer::GetParticlePtCut ( ) const
inline

Definition at line 33 of file AliParticleContainer.h.

AliVParticle * AliParticleContainer::GetParticleWithLabel ( Int_t  lab) const

Definition at line 249 of file AliParticleContainer.cxx.

AliVCuts * AliParticleContainer::GetTrackCuts ( Int_t  icut)

Definition at line 537 of file AliParticleContainer.cxx.

ETrackFilterType_t AliParticleContainer::GetTrackFilterType ( ) const
inline

Definition at line 51 of file AliParticleContainer.h.

Char_t AliParticleContainer::GetTrackType ( Int_t  i) const
inline

Definition at line 52 of file AliParticleContainer.h.

void AliParticleContainer::NextEvent ( )
virtual

Reimplemented from AliEmcalContainer.

Definition at line 156 of file AliParticleContainer.cxx.

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

Definition at line 66 of file AliParticleContainer.h.

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

Definition at line 78 of file AliParticleContainer.h.

void AliParticleContainer::SetArray ( AliVEvent *  event)
virtual

Reimplemented from AliEmcalContainer.

Definition at line 92 of file AliParticleContainer.cxx.

Referenced by AliAnalysisTaskEmcal::ExecOnce().

void AliParticleContainer::SetCharge ( Short_t  c)
inline

Definition at line 70 of file AliParticleContainer.h.

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

Definition at line 87 of file AliParticleContainer.h.

void AliParticleContainer::SetFilterHybridTracks ( Bool_t  f)
inline

Definition at line 72 of file AliParticleContainer.h.

void AliParticleContainer::SetGeneratorIndex ( Short_t  i)
inline

Definition at line 67 of file AliParticleContainer.h.

void AliParticleContainer::SetMCFlag ( UInt_t  m)
inline

Definition at line 65 of file AliParticleContainer.h.

void AliParticleContainer::SetMCTrackBitMap ( UInt_t  m)
inline

Definition at line 57 of file AliParticleContainer.h.

void AliParticleContainer::SetMinDistanceTPCSectorEdge ( Double_t  min)
inline

Definition at line 63 of file AliParticleContainer.h.

void AliParticleContainer::SetMinMCLabel ( Int_t  s)
inline

Definition at line 58 of file AliParticleContainer.h.

void AliParticleContainer::SetMinMCLabelAccept ( Int_t  s)
inline

Definition at line 59 of file AliParticleContainer.h.

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

Definition at line 61 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 62 of file AliParticleContainer.h.

Referenced by AliAnalysisTaskEmcal::SetTrackPhiLimits().

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

Definition at line 83 of file AliParticleContainer.h.

void AliParticleContainer::SetSelectionModeAny ( )
inline

Definition at line 82 of file AliParticleContainer.h.

void AliParticleContainer::SetTrackBitMap ( UInt_t  m)
inline

Definition at line 64 of file AliParticleContainer.h.

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

Definition at line 74 of file AliParticleContainer.h.

void AliParticleContainer::SetTrackFilterType ( ETrackFilterType_t  f)
inline

Definition at line 71 of file AliParticleContainer.h.

Member Data Documentation

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

Definition at line 106 of file AliParticleContainer.h.

Referenced by AcceptParticle(), and SetCharge().

AliEmcalTrackSelection* AliParticleContainer::fEmcalTrackSelection
protected

Definition at line 112 of file AliParticleContainer.h.

Referenced by NextEvent(), and SetArray().

TObjArray* AliParticleContainer::fFilteredTracks
protected

track selection object

Definition at line 113 of file AliParticleContainer.h.

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

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

Definition at line 105 of file AliParticleContainer.h.

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

TObjArray* AliParticleContainer::fListOfCuts
protected
UInt_t AliParticleContainer::fMCFlag
protected

Definition at line 104 of file AliParticleContainer.h.

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

UInt_t AliParticleContainer::fMCTrackBitMap
protected

Definition at line 101 of file AliParticleContainer.h.

Referenced by AcceptParticle(), and SetMCTrackBitMap().

Double_t AliParticleContainer::fMinDistanceTPCSectorEdge
protected

Definition at line 99 of file AliParticleContainer.h.

Referenced by AcceptParticle(), and SetMinDistanceTPCSectorEdge().

Int_t AliParticleContainer::fMinMCLabel
protected

Definition at line 102 of file AliParticleContainer.h.

Referenced by AcceptParticle(), and SetMinMCLabel().

Int_t AliParticleContainer::fMinMCLabelAccept
protected

Definition at line 103 of file AliParticleContainer.h.

Referenced by AcceptParticle(), and SetMinMCLabelAccept().

Double_t AliParticleContainer::fParticleMaxEta
protected

Definition at line 95 of file AliParticleContainer.h.

Referenced by AcceptParticle(), GetParticleEtaMax(), and SetParticleEtaLimits().

Double_t AliParticleContainer::fParticleMaxPhi
protected

Definition at line 97 of file AliParticleContainer.h.

Referenced by AcceptParticle(), GetParticlePhiMax(), and SetParticlePhiLimits().

Double_t AliParticleContainer::fParticleMinEta
protected

Definition at line 94 of file AliParticleContainer.h.

Referenced by AcceptParticle(), GetParticleEtaMin(), and SetParticleEtaLimits().

Double_t AliParticleContainer::fParticleMinPhi
protected

Definition at line 96 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 93 of file AliParticleContainer.h.

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

Double_t AliParticleContainer::fPhiOffset
protected

Definition at line 98 of file AliParticleContainer.h.

Referenced by AcceptParticle(), and SetParticlePhiLimits().

Bool_t AliParticleContainer::fSelectionModeAny
protected

Definition at line 109 of file AliParticleContainer.h.

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

UInt_t AliParticleContainer::fTrackBitMap
protected

Definition at line 100 of file AliParticleContainer.h.

Referenced by AcceptParticle(), and SetTrackBitMap().

TString AliParticleContainer::fTrackCutsPeriod
protected

Definition at line 111 of file AliParticleContainer.h.

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

TArrayC AliParticleContainer::fTrackTypes
protected

tracks filtered using fEmcalTrackSelection

Definition at line 114 of file AliParticleContainer.h.

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


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