![]() |
AliPhysics
ec707b8 (ec707b8)
|
#include <AliTrackContainer.h>
Public Types | |
enum | ETrackType_t { kRejected = -1, kUndefined = 0, kHybridGlobal = 0, kHybridConstrained = 1, kHybridConstrainedNoITSrefit = 2 } |
typedef AliEmcalTrackSelection::ETrackFilterType_t | ETrackFilterType_t |
![]() | |
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 () |
virtual AliVParticle * | GetNextParticle () |
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 () |
virtual AliVTrack * | GetNextTrack () |
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) |
virtual Bool_t | GetNextAcceptMomentum (TLorentzVector &mom) |
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 |
![]() | |
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 |
![]() | |
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 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 |
AliEmcalTrackSelection * | fEmcalTrackSelection |
TObjArray * | fFilteredTracks |
track selection object More... | |
TArrayC | fTrackTypes |
tracks filtered using fEmcalTrackSelection More... | |
![]() | |
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... | |
![]() | |
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... | |
Static Protected Attributes | |
static TString | fgDefTrackCutsPeriod |
Private Member Functions | |
AliTrackContainer (const AliTrackContainer &obj) | |
track types More... | |
AliParticleContainer & | operator= (const AliTrackContainer &other) |
ClassDef (AliTrackContainer, 1) | |
Definition at line 15 of file AliTrackContainer.h.
Definition at line 18 of file AliTrackContainer.h.
Enumerator | |
---|---|
kRejected | |
kUndefined | |
kHybridGlobal | |
kHybridConstrained | |
kHybridConstrainedNoITSrefit |
Definition at line 20 of file AliTrackContainer.h.
AliTrackContainer::AliTrackContainer | ( | ) |
AliTrackContainer::AliTrackContainer | ( | const char * | name, |
const char * | period = "" |
||
) |
Definition at line 41 of file AliTrackContainer.cxx.
|
inlinevirtual |
Definition at line 30 of file AliTrackContainer.h.
|
private |
track types
|
inlinevirtual |
Reimplemented from AliParticleContainer.
Definition at line 33 of file AliTrackContainer.h.
|
inlinevirtual |
Reimplemented from AliParticleContainer.
Definition at line 34 of file AliTrackContainer.h.
|
inlinevirtual |
Reimplemented from AliParticleContainer.
Definition at line 35 of file AliTrackContainer.h.
|
inlinevirtual |
Reimplemented from AliParticleContainer.
Definition at line 36 of file AliTrackContainer.h.
|
virtual |
Definition at line 356 of file AliTrackContainer.cxx.
Referenced by AcceptObject(), AcceptParticle(), and GetAcceptTrack().
|
virtual |
Definition at line 376 of file AliTrackContainer.cxx.
|
inline |
Definition at line 71 of file AliTrackContainer.h.
void AliTrackContainer::AddTrackCuts | ( | AliVCuts * | cuts | ) |
Definition at line 407 of file AliTrackContainer.cxx.
|
virtual |
Definition at line 389 of file AliTrackContainer.cxx.
Referenced by AcceptTrack().
|
private |
|
virtual |
Reimplemented from AliParticleContainer.
Definition at line 299 of file AliTrackContainer.cxx.
|
inlinevirtual |
Reimplemented from AliParticleContainer.
Definition at line 38 of file AliTrackContainer.h.
|
virtual |
Definition at line 177 of file AliTrackContainer.cxx.
Referenced by GetAcceptMomentum(), GetAcceptParticle(), and GetNextAcceptTrack().
|
inline |
Definition at line 72 of file AliTrackContainer.h.
|
inlinestatic |
Definition at line 80 of file AliTrackContainer.h.
|
inlinevirtual |
Definition at line 43 of file AliTrackContainer.h.
|
virtual |
Definition at line 224 of file AliTrackContainer.cxx.
Referenced by AcceptTrack(), and GetMomentum().
|
virtual |
Definition at line 238 of file AliTrackContainer.cxx.
|
virtual |
Reimplemented from AliParticleContainer.
Definition at line 244 of file AliTrackContainer.cxx.
|
inline |
Definition at line 55 of file AliTrackContainer.h.
|
virtual |
Reimplemented from AliParticleContainer.
Definition at line 328 of file AliTrackContainer.cxx.
|
inlinevirtual |
Reimplemented from AliParticleContainer.
Definition at line 39 of file AliTrackContainer.h.
|
virtual |
Definition at line 192 of file AliTrackContainer.cxx.
Referenced by AliEmcalTrackingQATask::FillHistograms(), GetNextAcceptMomentum(), and GetNextAcceptParticle().
|
virtual |
Reimplemented from AliParticleContainer.
Definition at line 272 of file AliTrackContainer.cxx.
|
inlinevirtual |
Reimplemented from AliParticleContainer.
Definition at line 40 of file AliTrackContainer.h.
|
virtual |
Definition at line 208 of file AliTrackContainer.cxx.
Referenced by GetNextMomentum(), and GetNextParticle().
|
inline |
Definition at line 54 of file AliTrackContainer.h.
Int_t AliTrackContainer::GetNumberOfCutObjects | ( | ) | const |
Definition at line 417 of file AliTrackContainer.cxx.
|
inlinevirtual |
Reimplemented from AliParticleContainer.
Definition at line 37 of file AliTrackContainer.h.
const char * AliTrackContainer::GetTitle | ( | ) | const |
Definition at line 434 of file AliTrackContainer.cxx.
|
virtual |
Definition at line 166 of file AliTrackContainer.cxx.
Referenced by AcceptTrack(), GetAcceptTrack(), GetMomentum(), GetNextTrack(), and GetParticle().
AliVCuts * AliTrackContainer::GetTrackCuts | ( | Int_t | icut | ) |
Definition at line 424 of file AliTrackContainer.cxx.
|
inline |
Definition at line 56 of file AliTrackContainer.h.
|
inline |
Definition at line 57 of file AliTrackContainer.h.
Referenced by AliEmcalTrackingQATask::FillHistograms().
|
virtual |
Reimplemented from AliEmcalContainer.
Definition at line 128 of file AliTrackContainer.cxx.
|
private |
|
inline |
Definition at line 70 of file AliTrackContainer.h.
|
virtual |
Connect the container to the array with content stored inside the virtual event. The object name in the event must match the name given in the constructor
event | Input event containing the array with content. |
Reimplemented from AliEmcalContainer.
Definition at line 64 of file AliTrackContainer.cxx.
void AliTrackContainer::SetClassName | ( | const char * | clname | ) |
Definition at line 397 of file AliTrackContainer.cxx.
|
inlinestatic |
Definition at line 79 of file AliTrackContainer.h.
|
inline |
Definition at line 64 of file AliTrackContainer.h.
|
inline |
Definition at line 75 of file AliTrackContainer.h.
|
inline |
Definition at line 74 of file AliTrackContainer.h.
|
inline |
Definition at line 66 of file AliTrackContainer.h.
|
inline |
Definition at line 63 of file AliTrackContainer.h.
|
protected |
Definition at line 90 of file AliTrackContainer.h.
Referenced by AddAODFilterBit(), GetAODFilterBits(), SetAODFilterBits(), and SetArray().
|
protected |
Definition at line 92 of file AliTrackContainer.h.
Referenced by NextEvent(), and SetArray().
|
protected |
track selection object
Definition at line 93 of file AliTrackContainer.h.
Referenced by AcceptTrack(), GetTrack(), and NextEvent().
|
staticprotected |
Definition at line 85 of file AliTrackContainer.h.
Referenced by AliTrackContainer(), GetDefTrackCutsPeriod(), and SetDefTrackCutsPeriod().
|
protected |
Definition at line 88 of file AliTrackContainer.h.
Referenced by AddTrackCuts(), GetNumberOfCutObjects(), GetTrackCuts(), and SetArray().
|
protected |
Definition at line 89 of file AliTrackContainer.h.
Referenced by SetArray(), SetSelectionModeAll(), and SetSelectionModeAny().
|
protected |
Definition at line 91 of file AliTrackContainer.h.
Referenced by AliTrackContainer(), SetArray(), and SetTrackCutsPeriod().
|
protected |
default period string used to generate track cuts
Definition at line 87 of file AliTrackContainer.h.
Referenced by GetAcceptMomentum(), GetMomentum(), GetNextAcceptMomentum(), GetNextMomentum(), GetTrackFilterType(), NextEvent(), SetArray(), SetFilterHybridTracks(), and SetTrackFilterType().
|
protected |
tracks filtered using fEmcalTrackSelection
Definition at line 94 of file AliTrackContainer.h.
Referenced by GetAcceptMomentum(), GetMomentum(), GetNextAcceptMomentum(), GetNextMomentum(), GetTrackType(), and NextEvent().