AliPhysics  db95e02 (db95e02)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliEmcalESDTrackCutsGenerator Class Reference

#include <AliEmcalESDTrackCutsGenerator.h>

Public Types

enum  EDataSet_t {
  kUnknown = 0, kLHC10bcde = 1, kLHC10h = 2, kLHC11a = 3,
  kLHC11c = 4, kLHC11d = 5, kLHC11h = 6
}
 
enum  EStdCutMode_t {
  kRAA2011 = 1000, kGlobalTracksNCls90NoSPD = 1001, kGlobalTracksNCls80NoSPD = 1002, kGlobalTracks2010NCrossRows120 = 1003,
  kGlobalTracksNCls70NoSPD = 1004, kGlobalTracksNCls70NoSPDNoPtCut = 1005, kGlobalTracksNClsPtDepNoSPDNoPtCut = 1006, kGlobalTracks2011 = 1007,
  kGlobalTracks2011NoSPD = 1008, kGlobalTracksNCls90NoITS = 2000, kTPCOnlyTracksNCls70 = 2001, kTPCOnlyTracksNCrossRows120 = 2002
}
 
enum  EAddCutMode_t {
  kSPDAny = 1000, kSPDNone = 1001, kNoITSChi2 = 1002, kNoMinTPCCls = 1003,
  kNoITSRefit = 1004, kSPDOff = 1005
}
 

Static Public Member Functions

static AliESDtrackCuts * CreateTrackCutsPWGJE (Int_t cutMode)
 
static AliESDtrackCuts * CreateTrackCutsPWGJE (Int_t stdCutMode, Int_t addCutMode)
 
static AliESDtrackCuts * CreateTrackCutsPWGJE (Int_t stdCutMode, Int_t addCutMode1, Int_t addCutMode2)
 
static TString SetStandardCuts (AliESDtrackCuts *&trackCuts, Int_t stdCutMode)
 
static TString SetAdditionalCuts (AliESDtrackCuts *&trackCuts, Int_t addCutMode)
 
static EDataSet_t SteerDataSetFromString (TString period)
 
static void AddHybridTrackCuts (AliEmcalTrackSelection *trkSel, TString period)
 
static void AddHybridTrackCuts (AliEmcalTrackSelection *trkSel, EDataSet_t period)
 
static void AddTPCOnlyTrackCuts (AliEmcalTrackSelection *trkSel, TString period)
 
static void AddTPCOnlyTrackCuts (AliEmcalTrackSelection *trkSel, EDataSet_t period)
 

Static Public Attributes

static const Int_t fgkAddCutFactor = 10000
 

Detailed Description

Definition at line 20 of file AliEmcalESDTrackCutsGenerator.h.

Member Enumeration Documentation

Enumerator
kSPDAny 
kSPDNone 
kNoITSChi2 
kNoMinTPCCls 
kNoITSRefit 
kSPDOff 

Definition at line 47 of file AliEmcalESDTrackCutsGenerator.h.

Enumerator
kUnknown 
kLHC10bcde 
kLHC10h 
kLHC11a 
kLHC11c 
kLHC11d 
kLHC11h 

Definition at line 22 of file AliEmcalESDTrackCutsGenerator.h.

Enumerator
kRAA2011 
kGlobalTracksNCls90NoSPD 
kGlobalTracksNCls80NoSPD 
kGlobalTracks2010NCrossRows120 
kGlobalTracksNCls70NoSPD 
kGlobalTracksNCls70NoSPDNoPtCut 
kGlobalTracksNClsPtDepNoSPDNoPtCut 
kGlobalTracks2011 
kGlobalTracks2011NoSPD 
kGlobalTracksNCls90NoITS 
kTPCOnlyTracksNCls70 
kTPCOnlyTracksNCrossRows120 

Definition at line 32 of file AliEmcalESDTrackCutsGenerator.h.

Member Function Documentation

static void AliEmcalESDTrackCutsGenerator::AddHybridTrackCuts ( AliEmcalTrackSelection trkSel,
TString  period 
)
inlinestatic
void AliEmcalESDTrackCutsGenerator::AddHybridTrackCuts ( AliEmcalTrackSelection trkSel,
EDataSet_t  period 
)
static

Adds hybrid track cuts to an AliEmcalTrackSelection object

Parameters
trkSelAliEmcalTrackSelection object
periodenum type identifying a data or MC period

Definition at line 550 of file AliEmcalESDTrackCutsGenerator.cxx.

static void AliEmcalESDTrackCutsGenerator::AddTPCOnlyTrackCuts ( AliEmcalTrackSelection trkSel,
TString  period 
)
inlinestatic
void AliEmcalESDTrackCutsGenerator::AddTPCOnlyTrackCuts ( AliEmcalTrackSelection trkSel,
EDataSet_t  period 
)
static

Adds TPC only track cuts to an AliEmcalTrackSelection object

Parameters
trkSelAliEmcalTrackSelection object
periodenum type identifying a data or MC period

Definition at line 589 of file AliEmcalESDTrackCutsGenerator.cxx.

AliESDtrackCuts * AliEmcalESDTrackCutsGenerator::CreateTrackCutsPWGJE ( Int_t  cutMode)
static

Function to create track cuts for PWG Jet analysis User can select a specific set by indicating cutMode

Parameters
cutModehas 8 digits: first 4 digits additional cuts, last 4 digits standard cuts additional cuts are variations of standard cuts (used for hybrid track selection and QA) Numbering starts from 1000 For standard and additional cut numbers
Returns
AliESDtrackCuts object

Definition at line 38 of file AliEmcalESDTrackCutsGenerator.cxx.

Referenced by AddHybridTrackCuts(), and AddTPCOnlyTrackCuts().

AliESDtrackCuts * AliEmcalESDTrackCutsGenerator::CreateTrackCutsPWGJE ( Int_t  stdCutMode,
Int_t  addCutMode 
)
static

Function to create track cuts for PWG Jet analysis User can select a specific set by indicating cutMode

Parameters
stdCutModestandard cuts, should be one of the EStdCutMode_t enum values
addCutModeadditional cuts, should be one of the EAddCutMode_t enum values
Returns
AliESDtrackCuts object

Definition at line 58 of file AliEmcalESDTrackCutsGenerator.cxx.

AliESDtrackCuts * AliEmcalESDTrackCutsGenerator::CreateTrackCutsPWGJE ( Int_t  stdCutMode,
Int_t  addCutMode1,
Int_t  addCutMode2 
)
static

Function to create track cuts for PWG Jet analysis User can select a specific set by indicating cutMode

Parameters
stdCutModestandard cuts, should be one of the EStdCutMode_t enum values
addCutMode1additional cuts, should be one of the EAddCutMode_t enum values
addCutMode2additional cuts, should be one of the EAddCutMode_t enum values
Returns
AliESDtrackCuts object

Definition at line 82 of file AliEmcalESDTrackCutsGenerator.cxx.

TString AliEmcalESDTrackCutsGenerator::SetAdditionalCuts ( AliESDtrackCuts *&  trackCuts,
Int_t  addCutMode 
)
static

Function to set additional track cuts on top of the standard ones User can select a specific set by indicating addCutMode

Parameters
trackCutsAliESDtrackCuts to be set
addCutModehas 4 digits, >= 1000
Returns
string with track cut label

Definition at line 409 of file AliEmcalESDTrackCutsGenerator.cxx.

Referenced by CreateTrackCutsPWGJE().

TString AliEmcalESDTrackCutsGenerator::SetStandardCuts ( AliESDtrackCuts *&  trackCuts,
Int_t  stdCutMode 
)
static

Function to set standard track cuts User can select a specific set by indicating stdCutMode

Parameters
trackCutsAliESDtrackCuts to be set
stdCutModehas 4 digits, >= 1000
Returns
string with track cut label

Definition at line 106 of file AliEmcalESDTrackCutsGenerator.cxx.

Referenced by CreateTrackCutsPWGJE().

AliEmcalESDTrackCutsGenerator::EDataSet_t AliEmcalESDTrackCutsGenerator::SteerDataSetFromString ( TString  period)
static

Helper function to steer period string into an enum type

Parameters
periodString identifying a data or MC period
Returns
enum type identifying a data or MC period

Definition at line 481 of file AliEmcalESDTrackCutsGenerator.cxx.

Referenced by AddHybridTrackCuts(), and AddTPCOnlyTrackCuts().

Member Data Documentation

const Int_t AliEmcalESDTrackCutsGenerator::fgkAddCutFactor = 10000
static

Definition at line 56 of file AliEmcalESDTrackCutsGenerator.h.

Referenced by CreateTrackCutsPWGJE().


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