AliPhysics  879ce3b (879ce3b)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
AliTrackContainer Class Reference

#include <AliTrackContainer.h>

Inheritance diagram for AliTrackContainer:

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

 AliTrackContainer ()
 
 AliTrackContainer (const char *name, const char *period="")
 
virtual ~AliTrackContainer ()
 
virtual Bool_t ApplyTrackCuts (const AliVTrack *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 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 AcceptTrack (const AliVTrack *vp)
 
virtual Bool_t AcceptTrack (Int_t i)
 
virtual AliVTrack * GetLeadingTrack (const char *opt="")
 
virtual AliVTrack * GetTrack (Int_t i=-1) const
 
virtual AliVTrack * GetAcceptTrack (Int_t i=-1)
 
virtual AliVTrack * GetNextAcceptTrack (Int_t i=-1)
 
virtual AliVTrack * GetNextTrack (Int_t i=-1)
 
virtual Bool_t GetMomentum (TLorentzVector &mom, const AliVTrack *part, Double_t mass)
 
virtual Bool_t GetMomentum (TLorentzVector &mom, const AliVTrack *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)
 
Int_t GetNTracks () const
 
Int_t GetNAcceptedTracks ()
 
ETrackFilterType_t GetTrackFilterType () const
 
Char_t GetTrackType (Int_t i) const
 
void SetArray (AliVEvent *event)
 
void SetClassName (const char *clname)
 
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 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)
 
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 ()
 
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)
 

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

ETrackFilterType_t fTrackFilterType
 default period string used to generate track cuts More...
 
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 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...
 

Static Protected Attributes

static TString fgDefTrackCutsPeriod
 

Private Member Functions

 AliTrackContainer (const AliTrackContainer &obj)
 track types More...
 
AliParticleContaineroperator= (const AliTrackContainer &other)
 
 ClassDef (AliTrackContainer, 1)
 

Detailed Description

Definition at line 15 of file AliTrackContainer.h.

Member Typedef Documentation

Member Enumeration Documentation

Enumerator
kRejected 
kUndefined 
kHybridGlobal 
kHybridConstrained 
kHybridConstrainedNoITSrefit 

Definition at line 20 of file AliTrackContainer.h.

Constructor & Destructor Documentation

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

Definition at line 41 of file AliTrackContainer.cxx.

virtual AliTrackContainer::~AliTrackContainer ( )
inlinevirtual

Definition at line 30 of file AliTrackContainer.h.

AliTrackContainer::AliTrackContainer ( const AliTrackContainer obj)
private

track types

Member Function Documentation

virtual Bool_t AliTrackContainer::AcceptObject ( Int_t  i)
inlinevirtual

Reimplemented from AliParticleContainer.

Definition at line 33 of file AliTrackContainer.h.

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

Reimplemented from AliParticleContainer.

Definition at line 34 of file AliTrackContainer.h.

virtual Bool_t AliTrackContainer::AcceptParticle ( Int_t  i)
inlinevirtual

Reimplemented from AliParticleContainer.

Definition at line 35 of file AliTrackContainer.h.

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

Reimplemented from AliParticleContainer.

Definition at line 36 of file AliTrackContainer.h.

Bool_t AliTrackContainer::AcceptTrack ( const AliVTrack *  vp)
virtual

Definition at line 361 of file AliTrackContainer.cxx.

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

Bool_t AliTrackContainer::AcceptTrack ( Int_t  i)
virtual

Definition at line 381 of file AliTrackContainer.cxx.

void AliTrackContainer::AddAODFilterBit ( UInt_t  bit)
inline

Definition at line 71 of file AliTrackContainer.h.

void AliTrackContainer::AddTrackCuts ( AliVCuts *  cuts)

Definition at line 412 of file AliTrackContainer.cxx.

Bool_t AliTrackContainer::ApplyTrackCuts ( const AliVTrack *  vp)
virtual

Definition at line 394 of file AliTrackContainer.cxx.

Referenced by AcceptTrack().

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

Reimplemented from AliParticleContainer.

Definition at line 304 of file AliTrackContainer.cxx.

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

Reimplemented from AliParticleContainer.

Definition at line 38 of file AliTrackContainer.h.

AliVTrack * AliTrackContainer::GetAcceptTrack ( Int_t  i = -1)
virtual

Definition at line 177 of file AliTrackContainer.cxx.

Referenced by GetAcceptMomentum(), GetAcceptParticle(), and GetNextAcceptTrack().

UInt_t AliTrackContainer::GetAODFilterBits ( ) const
inline

Definition at line 72 of file AliTrackContainer.h.

static TString AliTrackContainer::GetDefTrackCutsPeriod ( )
inlinestatic

Definition at line 80 of file AliTrackContainer.h.

virtual AliVTrack* AliTrackContainer::GetLeadingTrack ( const char *  opt = "")
inlinevirtual

Definition at line 43 of file AliTrackContainer.h.

Bool_t AliTrackContainer::GetMomentum ( TLorentzVector &  mom,
const AliVTrack *  part,
Double_t  mass 
)
virtual

Definition at line 229 of file AliTrackContainer.cxx.

Referenced by AcceptTrack(), and GetMomentum().

Bool_t AliTrackContainer::GetMomentum ( TLorentzVector &  mom,
const AliVTrack *  part 
)
virtual

Definition at line 243 of file AliTrackContainer.cxx.

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

Reimplemented from AliParticleContainer.

Definition at line 249 of file AliTrackContainer.cxx.

Int_t AliTrackContainer::GetNAcceptedTracks ( )
inline

Definition at line 55 of file AliTrackContainer.h.

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

Reimplemented from AliParticleContainer.

Definition at line 333 of file AliTrackContainer.cxx.

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

Reimplemented from AliParticleContainer.

Definition at line 39 of file AliTrackContainer.h.

AliVTrack * AliTrackContainer::GetNextAcceptTrack ( Int_t  i = -1)
virtual
Bool_t AliTrackContainer::GetNextMomentum ( TLorentzVector &  mom,
Int_t  i = -1 
)
virtual

Reimplemented from AliParticleContainer.

Definition at line 277 of file AliTrackContainer.cxx.

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

Reimplemented from AliParticleContainer.

Definition at line 40 of file AliTrackContainer.h.

AliVTrack * AliTrackContainer::GetNextTrack ( Int_t  i = -1)
virtual

Definition at line 211 of file AliTrackContainer.cxx.

Referenced by GetNextMomentum(), and GetNextParticle().

Int_t AliTrackContainer::GetNTracks ( ) const
inline

Definition at line 54 of file AliTrackContainer.h.

Int_t AliTrackContainer::GetNumberOfCutObjects ( ) const

Definition at line 422 of file AliTrackContainer.cxx.

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

Reimplemented from AliParticleContainer.

Definition at line 37 of file AliTrackContainer.h.

const char * AliTrackContainer::GetTitle ( ) const

Definition at line 439 of file AliTrackContainer.cxx.

AliVTrack * AliTrackContainer::GetTrack ( Int_t  i = -1) const
virtual
AliVCuts * AliTrackContainer::GetTrackCuts ( Int_t  icut)

Definition at line 429 of file AliTrackContainer.cxx.

ETrackFilterType_t AliTrackContainer::GetTrackFilterType ( ) const
inline

Definition at line 56 of file AliTrackContainer.h.

Char_t AliTrackContainer::GetTrackType ( Int_t  i) const
inline

Definition at line 57 of file AliTrackContainer.h.

Referenced by AliEmcalTrackingQATask::FillHistograms().

void AliTrackContainer::NextEvent ( )
virtual

Reimplemented from AliEmcalContainer.

Definition at line 128 of file AliTrackContainer.cxx.

AliParticleContainer& AliTrackContainer::operator= ( const AliTrackContainer other)
private
void AliTrackContainer::SetAODFilterBits ( UInt_t  bits)
inline

Definition at line 70 of file AliTrackContainer.h.

void AliTrackContainer::SetArray ( AliVEvent *  event)
virtual

Reimplemented from AliEmcalContainer.

Definition at line 64 of file AliTrackContainer.cxx.

void AliTrackContainer::SetClassName ( const char *  clname)

Definition at line 402 of file AliTrackContainer.cxx.

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

Definition at line 79 of file AliTrackContainer.h.

void AliTrackContainer::SetFilterHybridTracks ( Bool_t  f)
inline

Definition at line 64 of file AliTrackContainer.h.

void AliTrackContainer::SetSelectionModeAll ( )
inline

Definition at line 75 of file AliTrackContainer.h.

void AliTrackContainer::SetSelectionModeAny ( )
inline

Definition at line 74 of file AliTrackContainer.h.

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

Definition at line 66 of file AliTrackContainer.h.

void AliTrackContainer::SetTrackFilterType ( ETrackFilterType_t  f)
inline

Definition at line 63 of file AliTrackContainer.h.

Member Data Documentation

UInt_t AliTrackContainer::fAODFilterBits
protected

Definition at line 90 of file AliTrackContainer.h.

Referenced by AddAODFilterBit(), GetAODFilterBits(), SetAODFilterBits(), and SetArray().

AliEmcalTrackSelection* AliTrackContainer::fEmcalTrackSelection
protected

Definition at line 92 of file AliTrackContainer.h.

Referenced by NextEvent(), and SetArray().

TObjArray* AliTrackContainer::fFilteredTracks
protected

track selection object

Definition at line 93 of file AliTrackContainer.h.

Referenced by AcceptTrack(), GetTrack(), and NextEvent().

TString AliTrackContainer::fgDefTrackCutsPeriod
staticprotected
TObjArray* AliTrackContainer::fListOfCuts
protected

Definition at line 88 of file AliTrackContainer.h.

Referenced by AddTrackCuts(), GetNumberOfCutObjects(), GetTrackCuts(), and SetArray().

Bool_t AliTrackContainer::fSelectionModeAny
protected

Definition at line 89 of file AliTrackContainer.h.

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

TString AliTrackContainer::fTrackCutsPeriod
protected

Definition at line 91 of file AliTrackContainer.h.

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

ETrackFilterType_t AliTrackContainer::fTrackFilterType
protected
TArrayC AliTrackContainer::fTrackTypes
protected

tracks filtered using fEmcalTrackSelection

Definition at line 94 of file AliTrackContainer.h.

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


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