AliPhysics  9b6b435 (9b6b435)
PWG::EMCAL::AliEmcalESDHybridTrackCuts Class Reference

Track cuts object selecting hybrid tracks from ESDs. More...

#include <AliEmcalESDHybridTrackCuts.h>

Inheritance diagram for PWG::EMCAL::AliEmcalESDHybridTrackCuts:

Public Types

enum  HybridDefinition_t { kDef2010, kDef2011, kDef2018TRD }
 Definition of various hybrid track selections. More...
 

Public Member Functions

 AliEmcalESDHybridTrackCuts ()
 Dummy constructor. More...
 
 AliEmcalESDHybridTrackCuts (const char *name, HybridDefinition_t def)
 Main constructor. More...
 
virtual ~AliEmcalESDHybridTrackCuts ()
 Destructor. More...
 
virtual AliEmcalTrackSelResultPtr IsSelected (TObject *o)
 Test whether track is accepted as hybrid track. More...
 
void SetHybridDefinition (HybridDefinition_t def)
 Set the hybrid track definition used in the hybrid track selection. More...
 
void SetUseNoITSrefitTracks (bool doUse)
 Define whether to use non-ITStrefit tracks. More...
 
Int_t GetTPCTRDNumberOfClusters (const AliVTrack *const trk) const
 Get the combined number of TPC crossed rows + TRD clusters. More...
 
Double_t GetPtDepCutTPCTRDNumberOfClusters (const AliVTrack *const trk) const
 Get the \(p_{t}\)-dependent number of TPC+TRD clusters cut. More...
 
Bool_t IsActiveITSModule (const AliESDtrack *const trk, int layer) const
 Check if ITS module in the layer is considerd as active. More...
 
- Public Member Functions inherited from PWG::EMCAL::AliEmcalCutBase
 AliEmcalCutBase ()
 
 AliEmcalCutBase (const char *name, const char *title)
 
virtual ~AliEmcalCutBase ()
 

Protected Member Functions

void Init ()
 Steer initialization of track cuts objects. More...
 
void InitHybridTracks2010 ()
 Initialize hybrid track selection using the 2010 definition. More...
 
void InitHybridTracks2011 ()
 Initialize hybrid track selection using the 2011 definition. More...
 
void InitHybridTracks2018TRD ()
 Initialize hybrid track selection used for the TRD tracking test. More...
 

Private Attributes

bool fLocalInitialized
 Local init status flag steering lazy initialization. More...
 
bool fSelectNonRefitTracks
 Select tracks which did not pass ITS refit. More...
 
HybridDefinition_t fHybridTrackDefinition
 Setting for hybrid track definition. More...
 
AliESDtrackCuts * fHybridTrackCutsGlobal
 Track cuts for global hybrid tracks. More...
 
AliESDtrackCuts * fHybridTrackCutsConstrained
 Track cuts for constrained hybrid tracks. More...
 
AliESDtrackCuts * fHybridTrackCutsNoItsRefit
 Track cuts for complementary hybrid tracks (constrained without ITSrefit) More...
 
Bool_t fRequireTPCTRDClusters
 Require TPC and TRD combined number of clusters. More...
 
Int_t fMinClustersTPCTRD
 Minimum number of TPC+TRD combined clusters. More...
 
Double_t fPtDepParamClusterCut
 \(p_{t}\) weight parameter for the \(p_{t}\) dependent cluster cut More...
 

Detailed Description

Track cuts object selecting hybrid tracks from ESDs.

Author
Markus Fasel marku.nosp@m.s.fa.nosp@m.sel@c.nosp@m.ern..nosp@m.ch, Oak Ridge National Laboratory
Since
Dec 6, 2017

Hybrid track selection as cut object, implemented as AliVCuts object. Focusing on the usage in virtual track selections. Hybrid tracks are defined in three cathegories (global, constrained, complementary), and a track is selected as hybrid track if at least one of the three cases is fulfilled.

Definition at line 52 of file AliEmcalESDHybridTrackCuts.h.

Member Enumeration Documentation

Definition of various hybrid track selections.

Enumerator
kDef2010 

Definition used for 2010 pass1-2 and LHC11a.

kDef2011 

Definition used since 2011 (LHC11h)

kDef2018TRD 

Definition for the 2018 TRD reconstruction test.

Definition at line 59 of file AliEmcalESDHybridTrackCuts.h.

Constructor & Destructor Documentation

AliEmcalESDHybridTrackCuts::AliEmcalESDHybridTrackCuts ( )

Dummy constructor.

Definition at line 44 of file AliEmcalESDHybridTrackCuts.cxx.

AliEmcalESDHybridTrackCuts::AliEmcalESDHybridTrackCuts ( const char *  name,
HybridDefinition_t  def 
)

Main constructor.

Parameters
nameName of the cut object
defHybrid track definition

Definition at line 58 of file AliEmcalESDHybridTrackCuts.cxx.

AliEmcalESDHybridTrackCuts::~AliEmcalESDHybridTrackCuts ( )
virtual

Destructor.

Definition at line 72 of file AliEmcalESDHybridTrackCuts.cxx.

Member Function Documentation

Double_t AliEmcalESDHybridTrackCuts::GetPtDepCutTPCTRDNumberOfClusters ( const AliVTrack *const  trk) const

Get the \(p_{t}\)-dependent number of TPC+TRD clusters cut.

Parameters
trkTrack for which to evaluate the number of clusters cut
Returns
Cut value to be applied for the given track based on its \(p_{t}\)

Definition at line 147 of file AliEmcalESDHybridTrackCuts.cxx.

Referenced by IsSelected(), and SetUseNoITSrefitTracks().

Int_t AliEmcalESDHybridTrackCuts::GetTPCTRDNumberOfClusters ( const AliVTrack *const  trk) const

Get the combined number of TPC crossed rows + TRD clusters.

Only to be used for productions that include TRD refit in tracking!

Parameters
trkTrack for which to obtain the combined number of space points
Returns
Number of TPC + TRD space points

Definition at line 142 of file AliEmcalESDHybridTrackCuts.cxx.

Referenced by IsSelected(), and SetUseNoITSrefitTracks().

void AliEmcalESDHybridTrackCuts::Init ( )
protected

Steer initialization of track cuts objects.

Track cuts for various categories are created based on the hybrid track defintion.

Definition at line 131 of file AliEmcalESDHybridTrackCuts.cxx.

Referenced by IsSelected(), and SetUseNoITSrefitTracks().

void AliEmcalESDHybridTrackCuts::InitHybridTracks2010 ( )
protected

Initialize hybrid track selection using the 2010 definition.

Cuts defined as

  • Global tracks with SPD requirement
  • Constrained tracks without SPD requirement
  • Complementary tracks (no SPD, no refit) - optional

Definition at line 163 of file AliEmcalESDHybridTrackCuts.cxx.

Referenced by Init(), and SetUseNoITSrefitTracks().

void AliEmcalESDHybridTrackCuts::InitHybridTracks2011 ( )
protected

Initialize hybrid track selection using the 2011 definition.

Cuts defined as:

  • Global tracks with SPD requirement
  • Constrained tracks with SPD requirement
  • Complementary tracks (no SPD, no refit) - optional

Definition at line 211 of file AliEmcalESDHybridTrackCuts.cxx.

Referenced by Init(), InitHybridTracks2018TRD(), and SetUseNoITSrefitTracks().

void AliEmcalESDHybridTrackCuts::InitHybridTracks2018TRD ( )
protected

Initialize hybrid track selection used for the TRD tracking test.

Cuts same as for hybrid tracks 2011, but instead

  • No cut on the number of TPC crossed rows, instead cut on the combined number of TPC + TRD space points, both for global and complementary hybrid tracks

Definition at line 235 of file AliEmcalESDHybridTrackCuts.cxx.

Referenced by Init(), and SetUseNoITSrefitTracks().

Bool_t AliEmcalESDHybridTrackCuts::IsActiveITSModule ( const AliESDtrack *const  trk,
int  layer 
) const

Check if ITS module in the layer is considerd as active.

Parameters
trkTrack to check
layerLayer to check
Returns
True if the module in the layer is considered as active, false otherwise

Definition at line 151 of file AliEmcalESDHybridTrackCuts.cxx.

Referenced by IsSelected(), and SetUseNoITSrefitTracks().

AliEmcalTrackSelResultPtr AliEmcalESDHybridTrackCuts::IsSelected ( TObject o)
virtual

Test whether track is accepted as hybrid track.

Parameters
oTrack to be tested
Returns
true Track is accepted as hybrid track
false Track is not accepted as hybrid track or track is not an AliESDtrack

Implements PWG::EMCAL::AliEmcalCutBase.

Definition at line 78 of file AliEmcalESDHybridTrackCuts.cxx.

void PWG::EMCAL::AliEmcalESDHybridTrackCuts::SetHybridDefinition ( HybridDefinition_t  def)

Set the hybrid track definition used in the hybrid track selection.

Parameters
defHybrid track definition to be used
void PWG::EMCAL::AliEmcalESDHybridTrackCuts::SetUseNoITSrefitTracks ( bool  doUse)
inline

Define whether to use non-ITStrefit tracks.

Parameters
doUseIf true non-ITS refit tracks will be used (independent of the hybrid track definition)

Definition at line 104 of file AliEmcalESDHybridTrackCuts.h.

Member Data Documentation

AliESDtrackCuts* PWG::EMCAL::AliEmcalESDHybridTrackCuts::fHybridTrackCutsConstrained
private

Track cuts for constrained hybrid tracks.

Definition at line 178 of file AliEmcalESDHybridTrackCuts.h.

Referenced by InitHybridTracks2010(), InitHybridTracks2011(), InitHybridTracks2018TRD(), IsSelected(), and ~AliEmcalESDHybridTrackCuts().

AliESDtrackCuts* PWG::EMCAL::AliEmcalESDHybridTrackCuts::fHybridTrackCutsGlobal
private

Track cuts for global hybrid tracks.

Definition at line 177 of file AliEmcalESDHybridTrackCuts.h.

Referenced by InitHybridTracks2010(), InitHybridTracks2011(), InitHybridTracks2018TRD(), IsSelected(), and ~AliEmcalESDHybridTrackCuts().

AliESDtrackCuts* PWG::EMCAL::AliEmcalESDHybridTrackCuts::fHybridTrackCutsNoItsRefit
private

Track cuts for complementary hybrid tracks (constrained without ITSrefit)

Definition at line 179 of file AliEmcalESDHybridTrackCuts.h.

Referenced by InitHybridTracks2010(), InitHybridTracks2011(), InitHybridTracks2018TRD(), IsSelected(), and ~AliEmcalESDHybridTrackCuts().

HybridDefinition_t PWG::EMCAL::AliEmcalESDHybridTrackCuts::fHybridTrackDefinition
private

Setting for hybrid track definition.

Definition at line 176 of file AliEmcalESDHybridTrackCuts.h.

Referenced by Init().

bool PWG::EMCAL::AliEmcalESDHybridTrackCuts::fLocalInitialized
private

Local init status flag steering lazy initialization.

Definition at line 174 of file AliEmcalESDHybridTrackCuts.h.

Referenced by Init(), and IsSelected().

Int_t PWG::EMCAL::AliEmcalESDHybridTrackCuts::fMinClustersTPCTRD
private

Minimum number of TPC+TRD combined clusters.

Definition at line 182 of file AliEmcalESDHybridTrackCuts.h.

Referenced by GetPtDepCutTPCTRDNumberOfClusters(), and InitHybridTracks2018TRD().

Double_t PWG::EMCAL::AliEmcalESDHybridTrackCuts::fPtDepParamClusterCut
private

\(p_{t}\) weight parameter for the \(p_{t}\) dependent cluster cut

Definition at line 183 of file AliEmcalESDHybridTrackCuts.h.

Referenced by GetPtDepCutTPCTRDNumberOfClusters(), and InitHybridTracks2018TRD().

Bool_t PWG::EMCAL::AliEmcalESDHybridTrackCuts::fRequireTPCTRDClusters
private

Require TPC and TRD combined number of clusters.

Definition at line 181 of file AliEmcalESDHybridTrackCuts.h.

Referenced by InitHybridTracks2018TRD(), and IsSelected().

bool PWG::EMCAL::AliEmcalESDHybridTrackCuts::fSelectNonRefitTracks
private

Select tracks which did not pass ITS refit.

Definition at line 175 of file AliEmcalESDHybridTrackCuts.h.

Referenced by InitHybridTracks2010(), InitHybridTracks2011(), and SetUseNoITSrefitTracks().


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