AliPhysics  8bb951a (8bb951a)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliHFTrackContainer Class Reference

Select tracks based on specific prescriptions of HF analysis. More...

#include <AliHFTrackContainer.h>

Inheritance diagram for AliHFTrackContainer:

Public Member Functions

 AliHFTrackContainer ()
 This is the default constructor, used for ROOT I/O purposes. More...
 
 AliHFTrackContainer (const char *name)
 
void SetDMesonCandidate (AliAODRecoDecay *c)
 
Bool_t AcceptTrack (AliVTrack *vp)
 
Bool_t AcceptTrack (Int_t i)
 
void GenerateDaughterList ()
 Generate the list of the daughters of the D meson candidate. More...
 
const TObjArray & GetDaughterList () const
 
- Public Member Functions inherited from AliTrackContainer
 AliTrackContainer ()
 
 AliTrackContainer (const char *name, const char *period="")
 
virtual ~AliTrackContainer ()
 
virtual Bool_t ApplyTrackCuts (const AliVTrack *vp, UInt_t &rejectionReason) const
 
virtual Bool_t AcceptObject (Int_t i, UInt_t &rejectionReason) const
 
virtual Bool_t AcceptObject (const TObject *obj, UInt_t &rejectionReason) const
 
virtual Bool_t AcceptParticle (Int_t i, UInt_t &rejectionReason) const
 
virtual Bool_t AcceptParticle (const AliVParticle *vp, UInt_t &rejectionReason) const
 
virtual AliVParticle * GetParticle (Int_t i=-1) const
 
virtual AliVParticle * GetAcceptParticle (Int_t i=-1) const
 
virtual AliVParticle * GetNextAcceptParticle ()
 
virtual AliVParticle * GetNextParticle ()
 
virtual Bool_t AcceptTrack (const AliVTrack *vp, UInt_t &rejectionReason) const
 
virtual Bool_t AcceptTrack (Int_t i, UInt_t &rejectionReason) const
 
virtual AliVTrack * GetLeadingTrack (const char *opt="")
 
virtual AliVTrack * GetTrack (Int_t i=-1) const
 
virtual AliVTrack * GetAcceptTrack (Int_t i=-1) const
 
virtual AliVTrack * GetNextAcceptTrack ()
 
virtual AliVTrack * GetNextTrack ()
 
Char_t GetTrackType (const AliVTrack *track) const
 
virtual Bool_t GetMomentumFromTrack (TLorentzVector &mom, const AliVTrack *track, Double_t mass) const
 
virtual Bool_t GetMomentumFromTrack (TLorentzVector &mom, const AliVTrack *track) const
 
virtual Bool_t GetMomentum (TLorentzVector &mom, Int_t i) const
 
virtual Bool_t GetAcceptMomentum (TLorentzVector &mom, Int_t i) const
 
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 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, UInt_t &rejectionReason) const
 
virtual Bool_t ApplyKinematicCuts (const AliTLorentzVector &mom, UInt_t &rejectionReason) const
 
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 GetMomentumFromParticle (TLorentzVector &mom, const AliVParticle *part, Double_t mass) const
 
virtual Bool_t GetMomentumFromParticle (TLorentzVector &mom, const AliVParticle *part) const
 
Int_t GetNParticles () const
 
Int_t GetNAcceptedParticles () const
 
void SetMinDistanceTPCSectorEdge (Double_t min)
 
void SetCharge (Short_t c)
 
void SelectHIJING (Bool_t s)
 
void SetGeneratorIndex (Short_t i)
 
const char * GetTitle () const
 
accept_iterator accept_begin () const
 
accept_iterator accept_end () const
 
accept_iterator accept_rbegin () const
 
accept_iterator accept_rend () const
 
all_iterator begin () const
 
all_iterator end () const
 
all_iterator rbegin () const
 
all_iterator rend () const
 
- Public Member Functions inherited from AliEmcalContainer
 AliEmcalContainer ()
 
 AliEmcalContainer (const char *name)
 
virtual ~AliEmcalContainer ()
 
TObject * operator[] (int index) const
 
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
 
Int_t GetNAcceptEntries () const
 
void ResetCurrentID (Int_t i=-1)
 
void SetArrayName (const char *n)
 
void SetBitMap (UInt_t m)
 
void SetIsParticleLevel (Bool_t b)
 
void SortArray ()
 
UShort_t GetRejectionReasonBitPosition (UInt_t rejectionReason) 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)
 
void SetClassName (const char *clname)
 
const char * GetName () const
 
void SetName (const char *n)
 
const AliEmcalIterableContainer all () const
 
const AliEmcalIterableContainer accepted () const
 

Protected Member Functions

void AddDaughters (AliAODRecoDecay *cand)
 
Bool_t IsDMesonDaughter (AliAODTrack *track)
 

Protected Attributes

AliAODRecoDecay * fDMesonCandidate
 Exclude daughters of this D meson candidate. More...
 
TObjArray fDaughterList
 Daughters of the D meson candidate. More...
 
- Protected Attributes inherited from AliTrackContainer
ETrackFilterType_t fTrackFilterType
 track filter type More...
 
TObjArray * fListOfCuts
 list of track cut objects More...
 
Bool_t fSelectionModeAny
 accept track if any of the cuts is fulfilled More...
 
UInt_t fAODFilterBits
 track filter bits More...
 
TString fTrackCutsPeriod
 period string used to generate track cuts More...
 
AliEmcalTrackSelectionfEmcalTrackSelection
 ! track selection object More...
 
TObjArray * fFilteredTracks
 ! tracks filtered using fEmcalTrackSelection More...
 
TArrayC fTrackTypes
 ! track types More...
 
- Protected Attributes inherited from AliParticleContainer
Double_t fMinDistanceTPCSectorEdge
 require minimum distance to edge of TPC sector edge More...
 
Short_t fCharge
 select particles with charge=fCharge More...
 
Short_t fGeneratorIndex
 select MC particles with generator index (default = -1 = switch off selection) More...
 
- Protected Attributes inherited from AliEmcalContainer
TString fName
 object name More...
 
TString fClArrayName
 name of branch More...
 
TString fBaseClassName
 name of the base class that this container can handle More...
 
Bool_t fIsParticleLevel
 whether or not it is a particle level object collection More...
 
UInt_t fBitMap
 bitmap mask More...
 
Double_t fMinPt
 Min. cut on particle \( p_{t} \). More...
 
Double_t fMaxPt
 Max. cut on particle \( p_{t} \). More...
 
Double_t fMaxE
 Min. cut on particle energy. More...
 
Double_t fMinE
 Max. cut on particle energy. More...
 
Double_t fMinEta
 Min. cut on particle \( \eta \). More...
 
Double_t fMaxEta
 Max. cut on particle \( \eta \). More...
 
Double_t fMinPhi
 Min. cut on particle \( \phi \). More...
 
Double_t fMaxPhi
 Max. cut on particle \( \phi \). More...
 
Int_t fMinMCLabel
 minimum MC label More...
 
Int_t fMaxMCLabel
 maximum MC label More...
 
Double_t fMassHypothesis
 if < 0 it will use a PID mass when available More...
 
TClonesArray * fClArray
 ! Pointer to array in input event More...
 
Int_t fCurrentID
 ! current ID for automatic loops More...
 
AliNamedArrayI * fLabelMap
 ! Label-Index map More...
 
Double_t fVertex [3]
 ! event vertex array More...
 
TClass * fLoadedClass
 ! Class of the objects contained in the TClonesArray More...
 

Private Member Functions

 AliHFTrackContainer (const AliHFTrackContainer &)
 
AliHFTrackContaineroperator= (const AliHFTrackContainer &)
 

Additional Inherited Members

- Public Types inherited from AliTrackContainer
enum  ETrackType_t {
  kRejected = -1, kUndefined = 0, kHybridGlobal = 0, kHybridConstrained = 1,
  kHybridConstrainedNoITSrefit = 2
}
 Status of a track after track selection. More...
 
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
}
 Bit definition for the reason a particle was rejected. More...
 
- Static Public Member Functions inherited from AliTrackContainer
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)
 
- Static Protected Attributes inherited from AliTrackContainer
static TString fgDefTrackCutsPeriod = ""
 ! default period string used to generate track cuts More...
 

Detailed Description

Select tracks based on specific prescriptions of HF analysis.

This class derives from AliParticleContainer. It allows to select tracks based on specific prescriptions of HF analysis. In particular it will reject tracks that are daughters of a specified D meson candidate

Author
Salvatore Aiola salva.nosp@m.tore.nosp@m..aiol.nosp@m.a@ce.nosp@m.rn.ch, Yale University
Date
Feb 10, 2016

Definition at line 36 of file AliHFTrackContainer.h.

Constructor & Destructor Documentation

AliHFTrackContainer::AliHFTrackContainer ( )

This is the default constructor, used for ROOT I/O purposes.

Definition at line 29 of file AliHFTrackContainer.cxx.

AliHFTrackContainer::AliHFTrackContainer ( const char *  name)

This is the standard named constructor.

Parameters
nameName of the particle collection

Definition at line 44 of file AliHFTrackContainer.cxx.

AliHFTrackContainer::AliHFTrackContainer ( const AliHFTrackContainer )
private

Member Function Documentation

Bool_t AliHFTrackContainer::AcceptTrack ( AliVTrack *  vp)

First check whether the particle is a daughter of the D meson candidate (in which case the particle is rejected); then calls the base class AcceptTrack(AliVTrack*) method.

Parameters
iIndex of the particle to be checked.
Returns
kTRUE if the particle is accepted, kFALSE otherwise.

Definition at line 63 of file AliHFTrackContainer.cxx.

Bool_t AliHFTrackContainer::AcceptTrack ( Int_t  i)

First check whether the particle is a daughter of the D meson candidate (in which case the particle is rejected); then calls the base class AcceptTrack(Int_t i) method.

Parameters
iIndex of the particle to be checked.
Returns
kTRUE if the particle is accepted, kFALSE otherwise.

Definition at line 86 of file AliHFTrackContainer.cxx.

void AliHFTrackContainer::AddDaughters ( AliAODRecoDecay *  cand)
protected
Parameters
candA pointer to an AliAODRecoDecay object

Definition at line 140 of file AliHFTrackContainer.cxx.

Referenced by GenerateDaughterList().

void AliHFTrackContainer::GenerateDaughterList ( )

Generate the list of the daughters of the D meson candidate.

Definition at line 131 of file AliHFTrackContainer.cxx.

Referenced by SetDMesonCandidate().

const TObjArray& AliHFTrackContainer::GetDaughterList ( ) const
inline

Definition at line 46 of file AliHFTrackContainer.h.

Bool_t AliHFTrackContainer::IsDMesonDaughter ( AliAODTrack *  track)
protected

Check if particle it's a daughter of the D meson candidate

Parameters
trackPointer to a valid AliAODTrack object
Returns
kTRUE if it is a daughter of the D meson candidate, kFALSE otherwise

Definition at line 106 of file AliHFTrackContainer.cxx.

Referenced by AcceptTrack().

AliHFTrackContainer& AliHFTrackContainer::operator= ( const AliHFTrackContainer )
private
void AliHFTrackContainer::SetDMesonCandidate ( AliAODRecoDecay *  c)

Set the D meson candidate pointer and generate the list of daughters

Parameters
candA pointer to an AliAODRecoDecay object

Definition at line 123 of file AliHFTrackContainer.cxx.

Member Data Documentation

TObjArray AliHFTrackContainer::fDaughterList
protected

Daughters of the D meson candidate.

Definition at line 53 of file AliHFTrackContainer.h.

Referenced by AddDaughters(), AliHFTrackContainer(), GenerateDaughterList(), GetDaughterList(), and IsDMesonDaughter().

AliAODRecoDecay* AliHFTrackContainer::fDMesonCandidate
protected

Exclude daughters of this D meson candidate.

Definition at line 52 of file AliHFTrackContainer.h.

Referenced by GenerateDaughterList(), IsDMesonDaughter(), and SetDMesonCandidate().


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