AliPhysics  32b88a8 (32b88a8)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliTrackContainerV0 Class Reference

Select tracks based on specific prescriptions of V0s in jets analysis. More...

#include <AliTrackContainerV0.h>

Inheritance diagram for AliTrackContainerV0:

Public Member Functions

 AliTrackContainerV0 ()
 This is the default constructor, used for ROOT I/O purposes. More...
 
 AliTrackContainerV0 (const char *name)
 
void SetFilterDaughterTracks (Bool_t bFilter)
 
Bool_t GetFilterDaughterTracks () const
 
virtual void SetArray (const AliVEvent *event)
 
virtual void NextEvent ()
 
virtual Bool_t ApplyTrackCuts (const AliVTrack *vp, UInt_t &rejectionReason) const
 
void ExtractDaughters (AliAODv0 *cand)
 
- Public Member Functions inherited from AliTrackContainer
 AliTrackContainer ()
 
 AliTrackContainer (const char *name, const char *period="")
 
virtual ~AliTrackContainer ()
 
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 (const 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
 
const AliTrackIterableContainer all () const
 
const AliTrackIterableContainer accepted () const
 
const
AliTrackIterableMomentumContainer 
all_momentum () const
 
const
AliTrackIterableMomentumContainer 
accepted_momentum () const
 
- Public Member Functions inherited from AliParticleContainer
 AliParticleContainer ()
 
 AliParticleContainer (const char *name)
 
virtual ~AliParticleContainer ()
 
virtual TObjectoperator[] (int index) const
 
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 (EChargeCut_t c)
 
void SelectHIJING (Bool_t s)
 
void SetGeneratorIndex (Short_t i)
 
const char * GetTitle () const
 
const AliParticleIterableContainer all () const
 
const AliParticleIterableContainer accepted () const
 
const
AliParticleIterableMomentumContainer 
all_momentum () const
 
const
AliParticleIterableMomentumContainer 
accepted_momentum () const
 

Protected Member Functions

Bool_t IsV0Daughter (const AliAODTrack *track) const
 

Protected Attributes

Bool_t fFilterDaughterTracks
 if the daughter tracks of V0s candidates should be filtered out More...
 
const AliAODEventfEvent
 pointer to current event (pointer stay the same, but the content is changed event-by-event) More...
 
TObjArrayfV0s
 list of V0 candidates More...
 
std::vector< Int_tfDaughterVec
 list of V0 daughters (storing track IDs) More...
 
- Protected Attributes inherited from AliTrackContainer
ETrackFilterType_t fTrackFilterType
 track filter type More...
 
TObjArrayfListOfCuts
 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...
 
TObjArrayfFilteredTracks
 ! 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...
 
EChargeCut_t fChargeCut
 select particles according to their charge More...
 
Short_t fGeneratorIndex
 select MC particles with generator index (default = -1 = switch off selection) More...
 

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 AliParticleContainer
enum  EChargeCut_t {
  kNoChargeCut, kCharged, kNeutral, kPositiveCharge,
  kNegativeCharge
}
 
- Static Public Member Functions inherited from AliTrackContainer
static void SetDefTrackCutsPeriod (const char *period)
 
static TString GetDefTrackCutsPeriod ()
 
- 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 V0s in jets analysis.

This class derives from AliParticleContainer. It allows to select tracks based on specific prescriptions of analysis of V0 particles associated with jets. Namely, it remove the V0 daughter tracks from track sample prior to jet finding procedure (based on track IDs).

Author
Vojtech Pacik vojte.nosp@m.ch.p.nosp@m.acik@.nosp@m.cern.nosp@m..ch, NPI Czech Academy of Sciences
Date
Jun 24, 2016

Definition at line 37 of file AliTrackContainerV0.h.

Constructor & Destructor Documentation

AliTrackContainerV0::AliTrackContainerV0 ( )

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

Definition at line 30 of file AliTrackContainerV0.cxx.

AliTrackContainerV0::AliTrackContainerV0 ( const char *  name)

This is the standard named constructor.

Parameters
nameName of the particle collection

Definition at line 46 of file AliTrackContainerV0.cxx.

Member Function Documentation

Bool_t AliTrackContainerV0::ApplyTrackCuts ( const AliVTrack *  vp,
UInt_t rejectionReason 
) const
virtual

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

Parameters
vpPointer to track to be checked.
rejectionReasonRejection reason.
Returns
kTRUE if the particle is accepted, kFALSE otherwise.

Reimplemented from AliTrackContainer.

Definition at line 131 of file AliTrackContainerV0.cxx.

void AliTrackContainerV0::ExtractDaughters ( AliAODv0 *  cand)

Extract the V0 candidate daughter tracks and add them to daughter track list.

Parameters
candPointer to V0 candidate to be set.

Definition at line 105 of file AliTrackContainerV0.cxx.

Referenced by NextEvent().

Bool_t AliTrackContainerV0::GetFilterDaughterTracks ( ) const
inline

Definition at line 43 of file AliTrackContainerV0.h.

Bool_t AliTrackContainerV0::IsV0Daughter ( const AliAODTrack *  track) const
protected

Check whether the particle is among the daughter tracks of the V0 candidate

Parameters
trackPointer to input track to be checked.
Returns
kTRUE if the particle is a daughter of V0 candidate, kFALSE otherwise

Definition at line 155 of file AliTrackContainerV0.cxx.

Referenced by ApplyTrackCuts().

void AliTrackContainerV0::NextEvent ( )
virtual

Preparation for next event. Run in each event (via AliAnalysisTaskEmcal::RetrieveEventObjects)

Definition at line 75 of file AliTrackContainerV0.cxx.

void AliTrackContainerV0::SetArray ( const AliVEvent *  event)
virtual

Get list of V0 candidates from AOD event. (pointer itself does not change, only the array it points to)

Parameters
eventPointer to the event.

Definition at line 63 of file AliTrackContainerV0.cxx.

void AliTrackContainerV0::SetFilterDaughterTracks ( Bool_t  bFilter)
inline

Definition at line 42 of file AliTrackContainerV0.h.

Member Data Documentation

std::vector<Int_t> AliTrackContainerV0::fDaughterVec
protected

list of V0 daughters (storing track IDs)

Definition at line 58 of file AliTrackContainerV0.h.

Referenced by ExtractDaughters(), IsV0Daughter(), and NextEvent().

const AliAODEvent* AliTrackContainerV0::fEvent
protected

pointer to current event (pointer stay the same, but the content is changed event-by-event)

Definition at line 56 of file AliTrackContainerV0.h.

Referenced by NextEvent(), and SetArray().

Bool_t AliTrackContainerV0::fFilterDaughterTracks
protected

if the daughter tracks of V0s candidates should be filtered out

Definition at line 55 of file AliTrackContainerV0.h.

Referenced by GetFilterDaughterTracks(), NextEvent(), SetArray(), and SetFilterDaughterTracks().

TObjArray* AliTrackContainerV0::fV0s
protected

list of V0 candidates

Definition at line 57 of file AliTrackContainerV0.h.

Referenced by NextEvent().


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