AliPhysics  master (3d17d9d)
AliAnalysisTaskSEHFSystPID Class Reference

#include <AliAnalysisTaskSEHFSystPID.h>

Inheritance diagram for AliAnalysisTaskSEHFSystPID:

Public Types

enum  tagflags {
  kIsPionFromK0s = BIT(0), kIsPionFromL = BIT(1), kIsProtonFromL = BIT(2), kIsElectronFromGamma = BIT(3),
  kIsKaonFromKinks = BIT(4), kIsKaonFromTOF = BIT(5), kIsKaonFromTPC = BIT(6), kIsKaonFromHMPID = BIT(7),
  kIsDeuteronFromTPCTOF = BIT(8), kIsTritonFromTPCTOF = BIT(9), kIsHe3FromTPCTOF = BIT(10), kPositiveTrack = BIT(14),
  kNegativeTrack = BIT(15)
}
 
enum  trackinfo {
  kHasSPDAny = BIT(0), kHasSPDFirst = BIT(1), kHasITSrefit = BIT(2), kHasTPCrefit = BIT(3),
  kPassGeomCut = BIT(4), kHasNoITS = BIT(5), kHasNoTPC = BIT(6), kHasNoTOF = BIT(7)
}
 
enum  centest {
  kCentOff, kCentV0M, kCentV0A, kCentZNA,
  kCentCL0, kCentCL1
}
 

Public Member Functions

 AliAnalysisTaskSEHFSystPID ()
 
 AliAnalysisTaskSEHFSystPID (const char *name, int system=0)
 
virtual ~AliAnalysisTaskSEHFSystPID ()
 
virtual void UserCreateOutputObjects ()
 
virtual void UserExec (Option_t *option)
 
void SetReadMC (bool flag=true)
 
void SetCentralityLimits (int mincent, int maxcent)
 
void SetCentralityEstimator (int centest=kCentV0M)
 
void SetESDtrackCuts (AliESDtrackCuts *trackCuts)
 
void SetTriggerInfo (TString trigClass, unsigned long long mask=0)
 
void SetNsigmaForKaonTagging (float nsigmamax=0.02)
 
void SetNsigmaForNucleiTagging (float nsigmamax=3)
 
void SetKinksSelections (float qtmin=0.15, float Rmin=120, float Rmax=210)
 
void SetfFillTreeWithPIDInfo (bool fillPID=true)
 
void SetfFillTreeWithNsigmaPIDOnly (bool fillonlyNsigma=true)
 
void SetfFillTreeWithRawPIDOnly (bool fillonlyRawPID=true)
 
void SetfFillTreeWithTrackQualityInfo (bool fillTrack=true)
 
void EnableDownSampling (double fractokeep=0.1, double ptmax=1.5, int opt=0)
 
void SetAODMismatchProtection (int opt=1)
 
void SetDownSamplingOption (int opt=0)
 
void EnableNsigmaDataDrivenCorrection (int syst)
 
void EnableSelectionWithAliEventCuts (bool useAliEventCuts=true, int opt=2)
 
void SetUseTimeRangeCutForPbPb2018 (bool opt)
 
void SetConversionFactordEdx (float factor)
 
void ConfigureCutGeoNcrNcl (double dz, double len, double onept, double fncr, double fncl)
 
void EnableParticleSpecies (bool pi=true, bool kao=true, bool pr=true, bool el=false, bool deu=false, bool tr=false, bool He3=false)
 
void EnableDetectors (bool ITS=false, bool TPC=true, bool TOF=true, bool HMPID=false)
 

Private Types

enum  {
  kPion, kKaon, kProton, kElectron,
  kDeuteron, kTriton, kHe3
}
 
enum  { kITS, kTPC, kTOF, kHMPID }
 

Private Member Functions

bool IsVertexAccepted ()
 
bool IsCentralitySelected ()
 
void GetTaggedV0s (vector< short > &idPionFromK0s, vector< short > &idPionFromL, vector< short > &idProtonFromL, vector< short > &idElectronFromGamma)
 
int GetPDGcodeFromMC (AliAODTrack *track, TClonesArray *arrayMC)
 
AliAODTrack * IsKinkDaughter (AliAODTrack *track)
 
void GetTaggedKaonsFromKinks (vector< short > &idKaonFromKinks)
 
float MaxOpeningAngleKnu (float p)
 
float GetTOFmomentum (AliAODTrack *track)
 
short ConvertFloatToShort (float num)
 
unsigned short ConvertFloatToUnsignedShort (float num)
 
void GetNsigmaTPCMeanSigmaData (float &mean, float &sigma, AliPID::EParticleType species, float pTPC, float eta)
 
void SetNsigmaTPCDataCorr (int run)
 
int IsEventSelectedWithAliEventCuts ()
 
bool IsSelectedByGeometricalCut (AliAODTrack *track)
 
bool FillNsigma (int iDet, AliAODTrack *track)
 

Private Attributes

const float kCSPEED = 2.99792457999999984e-02
 
TListfOutputList
 ! output list for histograms More...
 
TH1F * fHistNEvents
 ! histo with number of events More...
 
TH2FfHistArmenteroPlot [5]
 ! histo for armenteros-podolanski plot More...
 
TH2FfHistQtVsMassKinks
 ! histo for mother-kink qt vs. mass distribution More...
 
TH2FfHistPDaughterVsMotherKink
 ! histo for pT daughter vs. pT mother kink More...
 
TH2FfHistdEdxVsPMotherKink
 ! histo for mother kink TPC dEdx vs. p More...
 
TH2FfHistOpeningAngleVsPMotherKink
 ! histo for opening angle vs. pT mother kink More...
 
TH2FfHistNTPCclsVsRadius
 ! histo for nTPC clusters vs. R mother kink More...
 
TH2FfHistNsigmaVsPt [kNMaxDet][kNMaxHypo]
 ! array of histos for nsigma vs pt (MC truth) More...
 
TTreefPIDtree
 ! tree with PID info More...
 
bool fEnabledSpecies [kNMaxHypo]
 
bool fEnabledDet [kNMaxDet]
 array of flags to enable particle species More...
 
short fPIDNsigma [kNMaxDet][kNMaxHypo]
 array of flags to enable detectors More...
 
unsigned short fP
 Nsigma PID to fill the tree. More...
 
unsigned short fPTPC
 Momentum at primary vertex to fill the tree. More...
 
unsigned short fPTOF
 TPC momentum to fill the tree. More...
 
unsigned short fPHMPID
 TOF momentum to fill the tree. More...
 
unsigned short fdEdxTPC
 HMPID momentum to fill the tree. More...
 
unsigned short fdEdxITS
 TPC dEdX to fill the tree. More...
 
unsigned short fToF
 ITS dEdX to fill the tree. More...
 
unsigned short fPt
 ToF signal to fill the tree. More...
 
unsigned char fTPCNcls
 transverse momentum to fill the tree More...
 
unsigned char fTPCNclsPID
 number of clusters in TPC to fill the tree More...
 
unsigned short fTrackLength
 number of PID clusters in TPC to fill the tree More...
 
unsigned short fStartTimeRes
 track length for TOF PID More...
 
unsigned char fTPCNcrossed
 start time resolution for TOF PID More...
 
unsigned char fTPCFindable
 number of TPC crossed rows More...
 
unsigned char fITSclsMap
 number of TPC findable clusters More...
 
unsigned short fHMPIDsignal
 ITS cluster map. More...
 
unsigned short fHMPIDoccupancy
 HMPID signal. More...
 
unsigned char fTrackInfoMap
 HMPID occupancy. More...
 
short fEta
 bit map with some track info (see enum above) More...
 
unsigned short fPhi
 pseudorapidity of the track More...
 
int fPDGcode
 azimuthal angle of the track More...
 
unsigned short fTag
 PDG code in case of MC to fill the tree. More...
 
float fNsigmaMaxForKaonTag
 bit map for tag (see enum above) More...
 
float fNsigmaMaxForNucleiTag
 max nSigma value to tag kaons More...
 
float fQtMinKinks
 max nSigma value to tag nuclei More...
 
float fRMinKinks
 min qt for kinks More...
 
float fRMaxKinks
 min radius in XY for kinks More...
 
float fDeadZoneWidth
 max radius in XY for kink More...
 
float fCutGeoNcrNclLength
 1st parameter geometrical cut More...
 
float fCutGeoNcrNclGeom1Pt
 2nd parameter geometrical cut More...
 
float fCutGeoNcrNclFractionNcr
 3rd parameter geometrical cut More...
 
float fCutGeoNcrNclFractionNcl
 4th parameter geometrical cut More...
 
float fCentMin
 5th parameter geometrical cut More...
 
float fCentMax
 min centrality More...
 
int fCentEstimator
 max centrality More...
 
TString fTriggerClass
 centrality estimator More...
 
unsigned long long fTriggerMask
 trigger class More...
 
bool fIsMC
 trigger mask More...
 
int fSystem
 flag to switch on the MC analysis for the efficiency estimation More...
 
float fConversionFactordEdx
 system: 0->pp,pPb 1->PbPb More...
 
AliESDtrackCuts * fESDtrackCuts
 conversion factor from float to short for dE/dx More...
 
AliAODEventfAOD
 single-track cut set More...
 
AliPIDResponse * fPIDresp
 AOD object. More...
 
AliAODv0KineCuts * fV0cuts
 basic pid object More...
 
bool fFillTreeWithPIDInfo
 AOD V0 cuts. More...
 
bool fFillTreeWithNsigmaPIDOnly
 flag to enable filling of the tree with PID variables More...
 
bool fFillTreeWithRawPIDOnly
 flag to enable filling of the tree with only Nsigma variables for the PID More...
 
bool fFillTreeWithTrackQualityInfo
 flag to enable filling of the tree with only raw variables for the PID More...
 
bool fEnabledDownSampling
 flag to enable filling of the tree with track selections More...
 
double fFracToKeepDownSampling
 flag to enable/disable downsampling More...
 
double fPtMaxDownSampling
 fraction to keep when downsampling activated More...
 
int fDownSamplingOpt
 pT max of tracks to downsample More...
 
int fAODProtection
 option for downsampling More...
 
int fRunNumberPrevEvent
 flag to activate protection against AOD-dAOD mismatch More...
 
bool fEnableNsigmaTPCDataCorr
 run number of previous event More...
 
int fSystNsigmaTPCDataCorr
 flag to enable data-driven NsigmaTPC correction More...
 
vector< vector< float > > fMeanNsigmaTPCPionData
 system for data-driven NsigmaTPC correction More...
 
vector< vector< float > > fMeanNsigmaTPCKaonData
 array of NsigmaTPC pion mean in data More...
 
vector< vector< float > > fMeanNsigmaTPCProtonData
 array of NsigmaTPC kaon mean in data More...
 
vector< vector< float > > fSigmaNsigmaTPCPionData
 array of NsigmaTPC proton mean in data More...
 
vector< vector< float > > fSigmaNsigmaTPCKaonData
 array of NsigmaTPC pion mean in data More...
 
vector< vector< float > > fSigmaNsigmaTPCProtonData
 array of NsigmaTPC kaon mean in data More...
 
float fPlimitsNsigmaTPCDataCorr [AliAODPidHF::kMaxPBins+1]
 array of NsigmaTPC proton mean in data More...
 
int fNPbinsNsigmaTPCDataCorr
 array of p limits for data-driven NsigmaTPC correction More...
 
float fEtalimitsNsigmaTPCDataCorr [AliAODPidHF::kMaxEtaBins+1]
 number of p bins for data-driven NsigmaTPC correction More...
 
int fNEtabinsNsigmaTPCDataCorr
 vector of eta limits for data-driven NsigmaTPC correction More...
 
bool fUseAliEventCuts
 number of eta bins for data-driven NsigmaTPC correction More...
 
AliEventCuts fAliEventCuts
 flag to enable usage of AliEventCuts foe event-selection More...
 
int fApplyPbPbOutOfBunchPileupCuts
 event-cut object for centrality correlation event cuts More...
 
bool fUseTimeRangeCutForPbPb2018
 option for Pb-Pb out-of bunch pileup cuts with AliEventCuts More...
 
AliTimeRangeCut fTimeRangeCut
 flag to enable time-range cut in PbPb 2018 More...
 

Static Private Attributes

static const int kNMaxDet = 4
 
static const int kNMaxHypo = 7
 

Detailed Description

Definition at line 30 of file AliAnalysisTaskSEHFSystPID.h.

Member Enumeration Documentation

anonymous enum
private
Enumerator
kPion 
kKaon 
kProton 
kElectron 
kDeuteron 
kTriton 
kHe3 

Definition at line 129 of file AliAnalysisTaskSEHFSystPID.h.

anonymous enum
private
Enumerator
kITS 
kTPC 
kTOF 
kHMPID 

Definition at line 130 of file AliAnalysisTaskSEHFSystPID.h.

Enumerator
kCentOff 
kCentV0M 
kCentV0A 
kCentZNA 
kCentCL0 
kCentCL1 

Definition at line 61 of file AliAnalysisTaskSEHFSystPID.h.

Enumerator
kIsPionFromK0s 
kIsPionFromL 
kIsProtonFromL 
kIsElectronFromGamma 
kIsKaonFromKinks 
kIsKaonFromTOF 
kIsKaonFromTPC 
kIsKaonFromHMPID 
kIsDeuteronFromTPCTOF 
kIsTritonFromTPCTOF 
kIsHe3FromTPCTOF 
kPositiveTrack 
kNegativeTrack 

Definition at line 34 of file AliAnalysisTaskSEHFSystPID.h.

Enumerator
kHasSPDAny 
kHasSPDFirst 
kHasITSrefit 
kHasTPCrefit 
kPassGeomCut 
kHasNoITS 
kHasNoTPC 
kHasNoTOF 

Definition at line 50 of file AliAnalysisTaskSEHFSystPID.h.

Constructor & Destructor Documentation

AliAnalysisTaskSEHFSystPID::AliAnalysisTaskSEHFSystPID ( )

Definition at line 28 of file AliAnalysisTaskSEHFSystPID.cxx.

AliAnalysisTaskSEHFSystPID::AliAnalysisTaskSEHFSystPID ( const char *  name,
int  system = 0 
)

Definition at line 146 of file AliAnalysisTaskSEHFSystPID.cxx.

AliAnalysisTaskSEHFSystPID::~AliAnalysisTaskSEHFSystPID ( )
virtual

Definition at line 268 of file AliAnalysisTaskSEHFSystPID.cxx.

Member Function Documentation

void AliAnalysisTaskSEHFSystPID::ConfigureCutGeoNcrNcl ( double  dz,
double  len,
double  onept,
double  fncr,
double  fncl 
)
inline

Definition at line 100 of file AliAnalysisTaskSEHFSystPID.h.

short AliAnalysisTaskSEHFSystPID::ConvertFloatToShort ( float  num)
private

Definition at line 1090 of file AliAnalysisTaskSEHFSystPID.cxx.

Referenced by FillNsigma(), and UserExec().

unsigned short AliAnalysisTaskSEHFSystPID::ConvertFloatToUnsignedShort ( float  num)
private

Definition at line 1099 of file AliAnalysisTaskSEHFSystPID.cxx.

Referenced by UserExec().

void AliAnalysisTaskSEHFSystPID::EnableDetectors ( bool  ITS = false,
bool  TPC = true,
bool  TOF = true,
bool  HMPID = false 
)

Definition at line 843 of file AliAnalysisTaskSEHFSystPID.cxx.

void AliAnalysisTaskSEHFSystPID::EnableDownSampling ( double  fractokeep = 0.1,
double  ptmax = 1.5,
int  opt = 0 
)
inline

Definition at line 89 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by AddTaskHFSystPID().

void AliAnalysisTaskSEHFSystPID::EnableNsigmaDataDrivenCorrection ( int  syst)
inline

Definition at line 93 of file AliAnalysisTaskSEHFSystPID.h.

void AliAnalysisTaskSEHFSystPID::EnableParticleSpecies ( bool  pi = true,
bool  kao = true,
bool  pr = true,
bool  el = false,
bool  deu = false,
bool  tr = false,
bool  He3 = false 
)

Definition at line 827 of file AliAnalysisTaskSEHFSystPID.cxx.

void AliAnalysisTaskSEHFSystPID::EnableSelectionWithAliEventCuts ( bool  useAliEventCuts = true,
int  opt = 2 
)
inline

Definition at line 95 of file AliAnalysisTaskSEHFSystPID.h.

bool AliAnalysisTaskSEHFSystPID::FillNsigma ( int  iDet,
AliAODTrack *  track 
)
private

Definition at line 1206 of file AliAnalysisTaskSEHFSystPID.cxx.

Referenced by UserExec().

void AliAnalysisTaskSEHFSystPID::GetNsigmaTPCMeanSigmaData ( float &  mean,
float &  sigma,
AliPID::EParticleType  species,
float  pTPC,
float  eta 
)
private

Definition at line 1108 of file AliAnalysisTaskSEHFSystPID.cxx.

Referenced by FillNsigma().

int AliAnalysisTaskSEHFSystPID::GetPDGcodeFromMC ( AliAODTrack *  track,
TClonesArray *  arrayMC 
)
private

Definition at line 982 of file AliAnalysisTaskSEHFSystPID.cxx.

Referenced by UserExec().

void AliAnalysisTaskSEHFSystPID::GetTaggedKaonsFromKinks ( vector< short > &  idKaonFromKinks)
private

Definition at line 1008 of file AliAnalysisTaskSEHFSystPID.cxx.

Referenced by UserExec().

void AliAnalysisTaskSEHFSystPID::GetTaggedV0s ( vector< short > &  idPionFromK0s,
vector< short > &  idPionFromL,
vector< short > &  idProtonFromL,
vector< short > &  idElectronFromGamma 
)
private

Definition at line 932 of file AliAnalysisTaskSEHFSystPID.cxx.

Referenced by UserExec().

float AliAnalysisTaskSEHFSystPID::GetTOFmomentum ( AliAODTrack *  track)
private

Definition at line 1078 of file AliAnalysisTaskSEHFSystPID.cxx.

Referenced by UserExec().

bool AliAnalysisTaskSEHFSystPID::IsCentralitySelected ( )
private

Definition at line 906 of file AliAnalysisTaskSEHFSystPID.cxx.

Referenced by UserExec().

int AliAnalysisTaskSEHFSystPID::IsEventSelectedWithAliEventCuts ( )
private

Definition at line 1147 of file AliAnalysisTaskSEHFSystPID.cxx.

Referenced by UserExec().

AliAODTrack * AliAnalysisTaskSEHFSystPID::IsKinkDaughter ( AliAODTrack *  track)
private

Definition at line 997 of file AliAnalysisTaskSEHFSystPID.cxx.

Referenced by GetTaggedKaonsFromKinks().

bool AliAnalysisTaskSEHFSystPID::IsSelectedByGeometricalCut ( AliAODTrack *  track)
private

Definition at line 1183 of file AliAnalysisTaskSEHFSystPID.cxx.

Referenced by UserExec().

bool AliAnalysisTaskSEHFSystPID::IsVertexAccepted ( )
private

Definition at line 856 of file AliAnalysisTaskSEHFSystPID.cxx.

Referenced by UserExec().

float AliAnalysisTaskSEHFSystPID::MaxOpeningAngleKnu ( float  p)
private

Definition at line 1068 of file AliAnalysisTaskSEHFSystPID.cxx.

Referenced by GetTaggedKaonsFromKinks().

void AliAnalysisTaskSEHFSystPID::SetAODMismatchProtection ( int  opt = 1)
inline

Definition at line 90 of file AliAnalysisTaskSEHFSystPID.h.

void AliAnalysisTaskSEHFSystPID::SetCentralityEstimator ( int  centest = kCentV0M)
inline

Definition at line 79 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by AddTaskHFSystPID().

void AliAnalysisTaskSEHFSystPID::SetCentralityLimits ( int  mincent,
int  maxcent 
)
inline

Definition at line 78 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by AddTaskHFSystPID().

void AliAnalysisTaskSEHFSystPID::SetConversionFactordEdx ( float  factor)
inline

Definition at line 98 of file AliAnalysisTaskSEHFSystPID.h.

void AliAnalysisTaskSEHFSystPID::SetDownSamplingOption ( int  opt = 0)
inline

Definition at line 91 of file AliAnalysisTaskSEHFSystPID.h.

void AliAnalysisTaskSEHFSystPID::SetESDtrackCuts ( AliESDtrackCuts *  trackCuts)
inline

Definition at line 80 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by AddTaskHFSystPID().

void AliAnalysisTaskSEHFSystPID::SetfFillTreeWithNsigmaPIDOnly ( bool  fillonlyNsigma = true)
inline

Definition at line 86 of file AliAnalysisTaskSEHFSystPID.h.

void AliAnalysisTaskSEHFSystPID::SetfFillTreeWithPIDInfo ( bool  fillPID = true)
inline

Definition at line 85 of file AliAnalysisTaskSEHFSystPID.h.

void AliAnalysisTaskSEHFSystPID::SetfFillTreeWithRawPIDOnly ( bool  fillonlyRawPID = true)
inline

Definition at line 87 of file AliAnalysisTaskSEHFSystPID.h.

void AliAnalysisTaskSEHFSystPID::SetfFillTreeWithTrackQualityInfo ( bool  fillTrack = true)
inline

Definition at line 88 of file AliAnalysisTaskSEHFSystPID.h.

void AliAnalysisTaskSEHFSystPID::SetKinksSelections ( float  qtmin = 0.15,
float  Rmin = 120,
float  Rmax = 210 
)
inline

Definition at line 84 of file AliAnalysisTaskSEHFSystPID.h.

void AliAnalysisTaskSEHFSystPID::SetNsigmaForKaonTagging ( float  nsigmamax = 0.02)
inline

Definition at line 82 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by AddTaskHFSystPID().

void AliAnalysisTaskSEHFSystPID::SetNsigmaForNucleiTagging ( float  nsigmamax = 3)
inline

Definition at line 83 of file AliAnalysisTaskSEHFSystPID.h.

void AliAnalysisTaskSEHFSystPID::SetNsigmaTPCDataCorr ( int  run)
private
void AliAnalysisTaskSEHFSystPID::SetReadMC ( bool  flag = true)
inline

Definition at line 77 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by AddTaskHFSystPID().

void AliAnalysisTaskSEHFSystPID::SetTriggerInfo ( TString  trigClass,
unsigned long long  mask = 0 
)
inline

Definition at line 81 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by AddTaskHFSystPID().

void AliAnalysisTaskSEHFSystPID::SetUseTimeRangeCutForPbPb2018 ( bool  opt)
inline

Definition at line 96 of file AliAnalysisTaskSEHFSystPID.h.

void AliAnalysisTaskSEHFSystPID::UserCreateOutputObjects ( )
virtual

Definition at line 288 of file AliAnalysisTaskSEHFSystPID.cxx.

void AliAnalysisTaskSEHFSystPID::UserExec ( Option_t option)
virtual

Definition at line 425 of file AliAnalysisTaskSEHFSystPID.cxx.

Member Data Documentation

AliEventCuts AliAnalysisTaskSEHFSystPID::fAliEventCuts
private

flag to enable usage of AliEventCuts foe event-selection

Definition at line 225 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by AliAnalysisTaskSEHFSystPID(), IsEventSelectedWithAliEventCuts(), UserCreateOutputObjects(), and UserExec().

int AliAnalysisTaskSEHFSystPID::fAODProtection
private

option for downsampling

Definition at line 209 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by UserExec().

int AliAnalysisTaskSEHFSystPID::fApplyPbPbOutOfBunchPileupCuts
private

event-cut object for centrality correlation event cuts

Definition at line 226 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by AliAnalysisTaskSEHFSystPID(), and IsEventSelectedWithAliEventCuts().

int AliAnalysisTaskSEHFSystPID::fCentEstimator
private

max centrality

Definition at line 187 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by IsCentralitySelected().

float AliAnalysisTaskSEHFSystPID::fCentMax
private

min centrality

Definition at line 186 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by IsCentralitySelected().

float AliAnalysisTaskSEHFSystPID::fCentMin
private

5th parameter geometrical cut

Definition at line 185 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by IsCentralitySelected().

float AliAnalysisTaskSEHFSystPID::fConversionFactordEdx
private

system: 0->pp,pPb 1->PbPb

Definition at line 193 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by UserExec().

float AliAnalysisTaskSEHFSystPID::fCutGeoNcrNclFractionNcl
private

4th parameter geometrical cut

Definition at line 183 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by IsSelectedByGeometricalCut().

float AliAnalysisTaskSEHFSystPID::fCutGeoNcrNclFractionNcr
private

3rd parameter geometrical cut

Definition at line 182 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by IsSelectedByGeometricalCut().

float AliAnalysisTaskSEHFSystPID::fCutGeoNcrNclGeom1Pt
private

2nd parameter geometrical cut

Definition at line 181 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by IsSelectedByGeometricalCut().

float AliAnalysisTaskSEHFSystPID::fCutGeoNcrNclLength
private

1st parameter geometrical cut

Definition at line 180 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by IsSelectedByGeometricalCut().

float AliAnalysisTaskSEHFSystPID::fDeadZoneWidth
private

max radius in XY for kink

Definition at line 179 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by IsSelectedByGeometricalCut().

unsigned short AliAnalysisTaskSEHFSystPID::fdEdxITS
private

TPC dEdX to fill the tree.

Definition at line 157 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by UserCreateOutputObjects(), and UserExec().

unsigned short AliAnalysisTaskSEHFSystPID::fdEdxTPC
private

HMPID momentum to fill the tree.

Definition at line 156 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by UserCreateOutputObjects(), and UserExec().

int AliAnalysisTaskSEHFSystPID::fDownSamplingOpt
private

pT max of tracks to downsample

Definition at line 207 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by UserExec().

bool AliAnalysisTaskSEHFSystPID::fEnabledDet[kNMaxDet]
private

array of flags to enable particle species

Definition at line 149 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by AliAnalysisTaskSEHFSystPID(), EnableDetectors(), UserCreateOutputObjects(), and UserExec().

bool AliAnalysisTaskSEHFSystPID::fEnabledDownSampling
private

flag to enable filling of the tree with track selections

Definition at line 204 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by UserExec().

bool AliAnalysisTaskSEHFSystPID::fEnabledSpecies[kNMaxHypo]
private
bool AliAnalysisTaskSEHFSystPID::fEnableNsigmaTPCDataCorr
private

run number of previous event

Definition at line 212 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by FillNsigma(), and UserExec().

AliESDtrackCuts* AliAnalysisTaskSEHFSystPID::fESDtrackCuts
private

conversion factor from float to short for dE/dx

Definition at line 195 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by GetTaggedKaonsFromKinks(), GetTaggedV0s(), UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskSEHFSystPID().

short AliAnalysisTaskSEHFSystPID::fEta
private

bit map with some track info (see enum above)

Definition at line 170 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by UserCreateOutputObjects(), and UserExec().

float AliAnalysisTaskSEHFSystPID::fEtalimitsNsigmaTPCDataCorr[AliAODPidHF::kMaxEtaBins+1]
private

number of p bins for data-driven NsigmaTPC correction

Definition at line 222 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by AliAnalysisTaskSEHFSystPID(), GetNsigmaTPCMeanSigmaData(), and UserExec().

bool AliAnalysisTaskSEHFSystPID::fFillTreeWithNsigmaPIDOnly
private

flag to enable filling of the tree with PID variables

Definition at line 201 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by UserCreateOutputObjects(), and UserExec().

bool AliAnalysisTaskSEHFSystPID::fFillTreeWithPIDInfo
private

AOD V0 cuts.

Definition at line 200 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by UserCreateOutputObjects(), and UserExec().

bool AliAnalysisTaskSEHFSystPID::fFillTreeWithRawPIDOnly
private

flag to enable filling of the tree with only Nsigma variables for the PID

Definition at line 202 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by UserCreateOutputObjects(), and UserExec().

bool AliAnalysisTaskSEHFSystPID::fFillTreeWithTrackQualityInfo
private

flag to enable filling of the tree with only raw variables for the PID

Definition at line 203 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by UserCreateOutputObjects(), and UserExec().

double AliAnalysisTaskSEHFSystPID::fFracToKeepDownSampling
private

flag to enable/disable downsampling

Definition at line 205 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by UserExec().

TH2F* AliAnalysisTaskSEHFSystPID::fHistArmenteroPlot[5]
private

! histo for armenteros-podolanski plot

Definition at line 139 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by AliAnalysisTaskSEHFSystPID(), GetTaggedV0s(), UserCreateOutputObjects(), and ~AliAnalysisTaskSEHFSystPID().

TH2F* AliAnalysisTaskSEHFSystPID::fHistdEdxVsPMotherKink
private

! histo for mother kink TPC dEdx vs. p

Definition at line 142 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by GetTaggedKaonsFromKinks(), UserCreateOutputObjects(), and ~AliAnalysisTaskSEHFSystPID().

TH1F* AliAnalysisTaskSEHFSystPID::fHistNEvents
private

! histo with number of events

Definition at line 138 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by IsVertexAccepted(), UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskSEHFSystPID().

TH2F* AliAnalysisTaskSEHFSystPID::fHistNsigmaVsPt[kNMaxDet][kNMaxHypo]
private

! array of histos for nsigma vs pt (MC truth)

Definition at line 145 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by AliAnalysisTaskSEHFSystPID(), UserCreateOutputObjects(), and UserExec().

TH2F* AliAnalysisTaskSEHFSystPID::fHistNTPCclsVsRadius
private

! histo for nTPC clusters vs. R mother kink

Definition at line 144 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by GetTaggedKaonsFromKinks(), UserCreateOutputObjects(), and ~AliAnalysisTaskSEHFSystPID().

TH2F* AliAnalysisTaskSEHFSystPID::fHistOpeningAngleVsPMotherKink
private

! histo for opening angle vs. pT mother kink

Definition at line 143 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by GetTaggedKaonsFromKinks(), UserCreateOutputObjects(), and ~AliAnalysisTaskSEHFSystPID().

TH2F* AliAnalysisTaskSEHFSystPID::fHistPDaughterVsMotherKink
private

! histo for pT daughter vs. pT mother kink

Definition at line 141 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by GetTaggedKaonsFromKinks(), UserCreateOutputObjects(), and ~AliAnalysisTaskSEHFSystPID().

TH2F* AliAnalysisTaskSEHFSystPID::fHistQtVsMassKinks
private

! histo for mother-kink qt vs. mass distribution

Definition at line 140 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by GetTaggedKaonsFromKinks(), UserCreateOutputObjects(), and ~AliAnalysisTaskSEHFSystPID().

unsigned short AliAnalysisTaskSEHFSystPID::fHMPIDoccupancy
private

HMPID signal.

Definition at line 168 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by UserCreateOutputObjects(), and UserExec().

unsigned short AliAnalysisTaskSEHFSystPID::fHMPIDsignal
private

ITS cluster map.

Definition at line 167 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by UserCreateOutputObjects(), and UserExec().

bool AliAnalysisTaskSEHFSystPID::fIsMC
private

trigger mask

Definition at line 190 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by UserCreateOutputObjects(), and UserExec().

unsigned char AliAnalysisTaskSEHFSystPID::fITSclsMap
private

number of TPC findable clusters

Definition at line 166 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by UserCreateOutputObjects(), and UserExec().

vector<vector<float> > AliAnalysisTaskSEHFSystPID::fMeanNsigmaTPCKaonData
private

array of NsigmaTPC pion mean in data

Definition at line 215 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by AliAnalysisTaskSEHFSystPID(), GetNsigmaTPCMeanSigmaData(), and UserExec().

vector<vector<float> > AliAnalysisTaskSEHFSystPID::fMeanNsigmaTPCPionData
private

system for data-driven NsigmaTPC correction

Definition at line 214 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by GetNsigmaTPCMeanSigmaData(), and UserExec().

vector<vector<float> > AliAnalysisTaskSEHFSystPID::fMeanNsigmaTPCProtonData
private

array of NsigmaTPC kaon mean in data

Definition at line 216 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by AliAnalysisTaskSEHFSystPID(), GetNsigmaTPCMeanSigmaData(), and UserExec().

int AliAnalysisTaskSEHFSystPID::fNEtabinsNsigmaTPCDataCorr
private

vector of eta limits for data-driven NsigmaTPC correction

Definition at line 223 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by AliAnalysisTaskSEHFSystPID(), GetNsigmaTPCMeanSigmaData(), and UserExec().

int AliAnalysisTaskSEHFSystPID::fNPbinsNsigmaTPCDataCorr
private

array of p limits for data-driven NsigmaTPC correction

Definition at line 221 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by AliAnalysisTaskSEHFSystPID(), GetNsigmaTPCMeanSigmaData(), and UserExec().

float AliAnalysisTaskSEHFSystPID::fNsigmaMaxForKaonTag
private

bit map for tag (see enum above)

Definition at line 174 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by UserExec().

float AliAnalysisTaskSEHFSystPID::fNsigmaMaxForNucleiTag
private

max nSigma value to tag kaons

Definition at line 175 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by UserExec().

TList* AliAnalysisTaskSEHFSystPID::fOutputList
private

! output list for histograms

Definition at line 136 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskSEHFSystPID().

unsigned short AliAnalysisTaskSEHFSystPID::fP
private

Nsigma PID to fill the tree.

Definition at line 152 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by UserCreateOutputObjects(), and UserExec().

int AliAnalysisTaskSEHFSystPID::fPDGcode
private

azimuthal angle of the track

Definition at line 172 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by UserCreateOutputObjects(), and UserExec().

unsigned short AliAnalysisTaskSEHFSystPID::fPhi
private

pseudorapidity of the track

Definition at line 171 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by UserCreateOutputObjects(), and UserExec().

unsigned short AliAnalysisTaskSEHFSystPID::fPHMPID
private

TOF momentum to fill the tree.

Definition at line 155 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by UserCreateOutputObjects(), and UserExec().

short AliAnalysisTaskSEHFSystPID::fPIDNsigma[kNMaxDet][kNMaxHypo]
private

array of flags to enable detectors

Definition at line 151 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by AliAnalysisTaskSEHFSystPID(), FillNsigma(), UserCreateOutputObjects(), and UserExec().

AliPIDResponse* AliAnalysisTaskSEHFSystPID::fPIDresp
private

AOD object.

Definition at line 197 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by FillNsigma(), GetTaggedKaonsFromKinks(), GetTOFmomentum(), and UserExec().

TTree* AliAnalysisTaskSEHFSystPID::fPIDtree
private

! tree with PID info

Definition at line 146 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskSEHFSystPID().

float AliAnalysisTaskSEHFSystPID::fPlimitsNsigmaTPCDataCorr[AliAODPidHF::kMaxPBins+1]
private

array of NsigmaTPC proton mean in data

Definition at line 220 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by AliAnalysisTaskSEHFSystPID(), GetNsigmaTPCMeanSigmaData(), and UserExec().

unsigned short AliAnalysisTaskSEHFSystPID::fPt
private

ToF signal to fill the tree.

Definition at line 159 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by UserCreateOutputObjects(), and UserExec().

double AliAnalysisTaskSEHFSystPID::fPtMaxDownSampling
private

fraction to keep when downsampling activated

Definition at line 206 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by UserExec().

unsigned short AliAnalysisTaskSEHFSystPID::fPTOF
private

TPC momentum to fill the tree.

Definition at line 154 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by UserCreateOutputObjects(), and UserExec().

unsigned short AliAnalysisTaskSEHFSystPID::fPTPC
private

Momentum at primary vertex to fill the tree.

Definition at line 153 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by UserCreateOutputObjects(), and UserExec().

float AliAnalysisTaskSEHFSystPID::fQtMinKinks
private

max nSigma value to tag nuclei

Definition at line 176 of file AliAnalysisTaskSEHFSystPID.h.

float AliAnalysisTaskSEHFSystPID::fRMaxKinks
private

min radius in XY for kinks

Definition at line 178 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by GetTaggedKaonsFromKinks().

float AliAnalysisTaskSEHFSystPID::fRMinKinks
private

min qt for kinks

Definition at line 177 of file AliAnalysisTaskSEHFSystPID.h.

int AliAnalysisTaskSEHFSystPID::fRunNumberPrevEvent
private

flag to activate protection against AOD-dAOD mismatch

Definition at line 211 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by IsEventSelectedWithAliEventCuts(), and UserExec().

vector<vector<float> > AliAnalysisTaskSEHFSystPID::fSigmaNsigmaTPCKaonData
private

array of NsigmaTPC pion mean in data

Definition at line 218 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by AliAnalysisTaskSEHFSystPID(), GetNsigmaTPCMeanSigmaData(), and UserExec().

vector<vector<float> > AliAnalysisTaskSEHFSystPID::fSigmaNsigmaTPCPionData
private

array of NsigmaTPC proton mean in data

Definition at line 217 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by AliAnalysisTaskSEHFSystPID(), GetNsigmaTPCMeanSigmaData(), and UserExec().

vector<vector<float> > AliAnalysisTaskSEHFSystPID::fSigmaNsigmaTPCProtonData
private

array of NsigmaTPC kaon mean in data

Definition at line 219 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by AliAnalysisTaskSEHFSystPID(), GetNsigmaTPCMeanSigmaData(), and UserExec().

unsigned short AliAnalysisTaskSEHFSystPID::fStartTimeRes
private

track length for TOF PID

Definition at line 163 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by UserCreateOutputObjects(), and UserExec().

int AliAnalysisTaskSEHFSystPID::fSystem
private

flag to switch on the MC analysis for the efficiency estimation

Definition at line 191 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by UserExec().

int AliAnalysisTaskSEHFSystPID::fSystNsigmaTPCDataCorr
private

flag to enable data-driven NsigmaTPC correction

Definition at line 213 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by UserExec().

unsigned short AliAnalysisTaskSEHFSystPID::fTag
private

PDG code in case of MC to fill the tree.

Definition at line 173 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by UserCreateOutputObjects(), and UserExec().

AliTimeRangeCut AliAnalysisTaskSEHFSystPID::fTimeRangeCut
private

flag to enable time-range cut in PbPb 2018

Definition at line 228 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by AliAnalysisTaskSEHFSystPID(), and UserExec().

unsigned short AliAnalysisTaskSEHFSystPID::fToF
private

ITS dEdX to fill the tree.

Definition at line 158 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by UserCreateOutputObjects(), and UserExec().

unsigned char AliAnalysisTaskSEHFSystPID::fTPCFindable
private

number of TPC crossed rows

Definition at line 165 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by UserCreateOutputObjects(), and UserExec().

unsigned char AliAnalysisTaskSEHFSystPID::fTPCNcls
private

transverse momentum to fill the tree

Definition at line 160 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by UserCreateOutputObjects(), and UserExec().

unsigned char AliAnalysisTaskSEHFSystPID::fTPCNclsPID
private

number of clusters in TPC to fill the tree

Definition at line 161 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by UserCreateOutputObjects(), and UserExec().

unsigned char AliAnalysisTaskSEHFSystPID::fTPCNcrossed
private

start time resolution for TOF PID

Definition at line 164 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by UserCreateOutputObjects(), and UserExec().

unsigned char AliAnalysisTaskSEHFSystPID::fTrackInfoMap
private

HMPID occupancy.

Definition at line 169 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by UserCreateOutputObjects(), and UserExec().

unsigned short AliAnalysisTaskSEHFSystPID::fTrackLength
private

number of PID clusters in TPC to fill the tree

Definition at line 162 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by UserCreateOutputObjects(), and UserExec().

TString AliAnalysisTaskSEHFSystPID::fTriggerClass
private

centrality estimator

Definition at line 188 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by UserExec().

unsigned long long AliAnalysisTaskSEHFSystPID::fTriggerMask
private

trigger class

Definition at line 189 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by UserExec().

bool AliAnalysisTaskSEHFSystPID::fUseAliEventCuts
private

number of eta bins for data-driven NsigmaTPC correction

Definition at line 224 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by AliAnalysisTaskSEHFSystPID(), UserCreateOutputObjects(), and UserExec().

bool AliAnalysisTaskSEHFSystPID::fUseTimeRangeCutForPbPb2018
private

option for Pb-Pb out-of bunch pileup cuts with AliEventCuts

Definition at line 227 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by AliAnalysisTaskSEHFSystPID(), IsEventSelectedWithAliEventCuts(), and UserExec().

AliAODv0KineCuts* AliAnalysisTaskSEHFSystPID::fV0cuts
private

basic pid object

Definition at line 198 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by GetTaggedV0s(), UserCreateOutputObjects(), UserExec(), and ~AliAnalysisTaskSEHFSystPID().

const float AliAnalysisTaskSEHFSystPID::kCSPEED = 2.99792457999999984e-02
private

Definition at line 132 of file AliAnalysisTaskSEHFSystPID.h.

Referenced by GetTOFmomentum().

const int AliAnalysisTaskSEHFSystPID::kNMaxDet = 4
staticprivate
const int AliAnalysisTaskSEHFSystPID::kNMaxHypo = 7
staticprivate

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