AliPhysics  c7b8e89 (c7b8e89)
AliAnalysisTaskSEDmesonPIDSysProp Class Reference

#include <AliAnalysisTaskSEDmesonPIDSysProp.h>

Inheritance diagram for AliAnalysisTaskSEDmesonPIDSysProp:

Public Types

enum  DecChannel { kDplustoKpipi, kD0toKpi, kDstartoKpipi, kDstoKKpi }
 
enum  PIDstrategy { kConservativePID, kStrongPID, knSigmaPID }
 
enum  KaonTOFhisto { kKaonTPCtag, kSamePionV0tag }
 
enum  KaonTPChisto { kKaonTOFtag, kKaonKinkstag }
 

Public Member Functions

 AliAnalysisTaskSEDmesonPIDSysProp ()
 
 AliAnalysisTaskSEDmesonPIDSysProp (int ch, AliRDHFCuts *cuts, TString systfilename)
 
virtual ~AliAnalysisTaskSEDmesonPIDSysProp ()
 
virtual void UserCreateOutputObjects ()
 
virtual void Init ()
 
virtual void UserExec (Option_t *)
 
void SetAODMismatchProtection (int opt=1)
 
void SetPIDEffSystFileName (TString filename)
 
void SetPIDStrategy (int PIDst=kStrongPID)
 
void SetKaonHistoOptions (int tpcopt, int tofopt)
 
int GetDecayChannel () const
 

Private Member Functions

int LoadEffSystFile ()
 
double GetDmesonPIDuncertainty (AliAODTrack *track[], const int nDau, TClonesArray *arrayMC, double ptD)
 
void GetSingleTrackSystAndProb (TH1F *hSingleTrackSyst, TH1F *hSingleTrackEff, int bin, double &syst, double &prob)
 

Private Attributes

TListfOutput
 ! tlist with output More...
 
TH1F * fHistNEvents
 ! histo with number of events More...
 
TH2FfHistPtDauVsD
 ! histo with pT daughters vs pT candidate More...
 
TH2FfHistSystPIDEffD
 ! histo with PID systematic uncertainty on the D candidate More...
 
TH1F * fHistEffPionTPC [2]
 
TH1F * fHistEffPionTOF
 
TH1F * fHistEffKaonTPC [2]
 
TH1F * fHistEffKaonTOF
 
TH1F * fHistSystPionTPC [2]
 
TH1F * fHistSystPionTOF
 
TH1F * fHistSystKaonTPC [2]
 
TH1F * fHistSystKaonTOF
 
TString fPartName
 
AliPIDResponse * fPIDresp
 string for particle name More...
 
TString fSystFileName
 basic pid object More...
 
int fPIDstrategy
 Name of file with single track syst. unc. More...
 
double fnSigma
 PID strategy (conservative, strong, nsigma..) More...
 
int fDecayChannel
 number of sigma PID if nsigma strategy enabled More...
 
int fKaonTPCHistoOpt
 identify the decay channel More...
 
int fKaonTOFHistoOpt
 option for syst on kaon TPC PID efficiency More...
 
int fAODProtection
 option for syst on kaon TOF PID efficiency More...
 
int fNPtBins
 flag to activate protection against AOD-dAOD mismatch. More...
 
double * fPtLimits
 number of pT bins More...
 
AliRDHFCutsfAnalysisCuts
 limits of pT bins More...
 

Detailed Description

Definition at line 20 of file AliAnalysisTaskSEDmesonPIDSysProp.h.

Member Enumeration Documentation

Enumerator
kDplustoKpipi 
kD0toKpi 
kDstartoKpipi 
kDstoKKpi 

Definition at line 22 of file AliAnalysisTaskSEDmesonPIDSysProp.h.

Enumerator
kKaonTPCtag 
kSamePionV0tag 

Definition at line 25 of file AliAnalysisTaskSEDmesonPIDSysProp.h.

Enumerator
kKaonTOFtag 
kKaonKinkstag 

Definition at line 26 of file AliAnalysisTaskSEDmesonPIDSysProp.h.

Enumerator
kConservativePID 
kStrongPID 
knSigmaPID 

Definition at line 23 of file AliAnalysisTaskSEDmesonPIDSysProp.h.

Constructor & Destructor Documentation

AliAnalysisTaskSEDmesonPIDSysProp::AliAnalysisTaskSEDmesonPIDSysProp ( )

Definition at line 38 of file AliAnalysisTaskSEDmesonPIDSysProp.cxx.

AliAnalysisTaskSEDmesonPIDSysProp::AliAnalysisTaskSEDmesonPIDSysProp ( int  ch,
AliRDHFCuts cuts,
TString  systfilename 
)

Definition at line 73 of file AliAnalysisTaskSEDmesonPIDSysProp.cxx.

AliAnalysisTaskSEDmesonPIDSysProp::~AliAnalysisTaskSEDmesonPIDSysProp ( )
virtual

Definition at line 108 of file AliAnalysisTaskSEDmesonPIDSysProp.cxx.

Member Function Documentation

int AliAnalysisTaskSEDmesonPIDSysProp::GetDecayChannel ( ) const
inline

Definition at line 41 of file AliAnalysisTaskSEDmesonPIDSysProp.h.

double AliAnalysisTaskSEDmesonPIDSysProp::GetDmesonPIDuncertainty ( AliAODTrack *  track[],
const int  nDau,
TClonesArray *  arrayMC,
double  ptD 
)
private

Definition at line 516 of file AliAnalysisTaskSEDmesonPIDSysProp.cxx.

Referenced by GetDecayChannel(), and UserExec().

void AliAnalysisTaskSEDmesonPIDSysProp::GetSingleTrackSystAndProb ( TH1F *  hSingleTrackSyst,
TH1F *  hSingleTrackEff,
int  bin,
double &  syst,
double &  prob 
)
private
void AliAnalysisTaskSEDmesonPIDSysProp::Init ( )
virtual

Definition at line 178 of file AliAnalysisTaskSEDmesonPIDSysProp.cxx.

int AliAnalysisTaskSEDmesonPIDSysProp::LoadEffSystFile ( )
private
void AliAnalysisTaskSEDmesonPIDSysProp::SetAODMismatchProtection ( int  opt = 1)
inline

Definition at line 36 of file AliAnalysisTaskSEDmesonPIDSysProp.h.

void AliAnalysisTaskSEDmesonPIDSysProp::SetKaonHistoOptions ( int  tpcopt,
int  tofopt 
)
inline

Definition at line 39 of file AliAnalysisTaskSEDmesonPIDSysProp.h.

void AliAnalysisTaskSEDmesonPIDSysProp::SetPIDEffSystFileName ( TString  filename)
inline

Definition at line 37 of file AliAnalysisTaskSEDmesonPIDSysProp.h.

void AliAnalysisTaskSEDmesonPIDSysProp::SetPIDStrategy ( int  PIDst = kStrongPID)
inline

Definition at line 38 of file AliAnalysisTaskSEDmesonPIDSysProp.h.

Referenced by AddTaskDmesonPIDSysProp().

void AliAnalysisTaskSEDmesonPIDSysProp::UserCreateOutputObjects ( )
virtual

Definition at line 130 of file AliAnalysisTaskSEDmesonPIDSysProp.cxx.

void AliAnalysisTaskSEDmesonPIDSysProp::UserExec ( Option_t )
virtual

Definition at line 198 of file AliAnalysisTaskSEDmesonPIDSysProp.cxx.

Member Data Documentation

AliRDHFCuts* AliAnalysisTaskSEDmesonPIDSysProp::fAnalysisCuts
private
int AliAnalysisTaskSEDmesonPIDSysProp::fAODProtection
private

option for syst on kaon TOF PID efficiency

Definition at line 74 of file AliAnalysisTaskSEDmesonPIDSysProp.h.

Referenced by SetAODMismatchProtection(), and UserExec().

int AliAnalysisTaskSEDmesonPIDSysProp::fDecayChannel
private

number of sigma PID if nsigma strategy enabled

Definition at line 70 of file AliAnalysisTaskSEDmesonPIDSysProp.h.

Referenced by GetDecayChannel(), Init(), and UserExec().

TH1F* AliAnalysisTaskSEDmesonPIDSysProp::fHistEffKaonTOF
private

Definition at line 56 of file AliAnalysisTaskSEDmesonPIDSysProp.h.

Referenced by GetDmesonPIDuncertainty(), and LoadEffSystFile().

TH1F* AliAnalysisTaskSEDmesonPIDSysProp::fHistEffKaonTPC[2]
private
TH1F* AliAnalysisTaskSEDmesonPIDSysProp::fHistEffPionTOF
private

Definition at line 54 of file AliAnalysisTaskSEDmesonPIDSysProp.h.

Referenced by GetDmesonPIDuncertainty(), and LoadEffSystFile().

TH1F* AliAnalysisTaskSEDmesonPIDSysProp::fHistEffPionTPC[2]
private
TH1F* AliAnalysisTaskSEDmesonPIDSysProp::fHistNEvents
private

! histo with number of events

Definition at line 49 of file AliAnalysisTaskSEDmesonPIDSysProp.h.

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

TH2F* AliAnalysisTaskSEDmesonPIDSysProp::fHistPtDauVsD
private

! histo with pT daughters vs pT candidate

Definition at line 50 of file AliAnalysisTaskSEDmesonPIDSysProp.h.

Referenced by GetDmesonPIDuncertainty(), UserCreateOutputObjects(), and ~AliAnalysisTaskSEDmesonPIDSysProp().

TH1F* AliAnalysisTaskSEDmesonPIDSysProp::fHistSystKaonTOF
private
TH1F* AliAnalysisTaskSEDmesonPIDSysProp::fHistSystKaonTPC[2]
private
TH2F* AliAnalysisTaskSEDmesonPIDSysProp::fHistSystPIDEffD
private

! histo with PID systematic uncertainty on the D candidate

Definition at line 51 of file AliAnalysisTaskSEDmesonPIDSysProp.h.

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

TH1F* AliAnalysisTaskSEDmesonPIDSysProp::fHistSystPionTOF
private
TH1F* AliAnalysisTaskSEDmesonPIDSysProp::fHistSystPionTPC[2]
private
int AliAnalysisTaskSEDmesonPIDSysProp::fKaonTOFHistoOpt
private

option for syst on kaon TPC PID efficiency

Definition at line 72 of file AliAnalysisTaskSEDmesonPIDSysProp.h.

Referenced by LoadEffSystFile(), and SetKaonHistoOptions().

int AliAnalysisTaskSEDmesonPIDSysProp::fKaonTPCHistoOpt
private

identify the decay channel

Definition at line 71 of file AliAnalysisTaskSEDmesonPIDSysProp.h.

Referenced by LoadEffSystFile(), and SetKaonHistoOptions().

int AliAnalysisTaskSEDmesonPIDSysProp::fNPtBins
private

flag to activate protection against AOD-dAOD mismatch.

Definition at line 76 of file AliAnalysisTaskSEDmesonPIDSysProp.h.

Referenced by UserCreateOutputObjects().

double AliAnalysisTaskSEDmesonPIDSysProp::fnSigma
private

PID strategy (conservative, strong, nsigma..)

Definition at line 68 of file AliAnalysisTaskSEDmesonPIDSysProp.h.

Referenced by LoadEffSystFile().

TList* AliAnalysisTaskSEDmesonPIDSysProp::fOutput
private

! tlist with output

Definition at line 48 of file AliAnalysisTaskSEDmesonPIDSysProp.h.

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

TString AliAnalysisTaskSEDmesonPIDSysProp::fPartName
private

Definition at line 63 of file AliAnalysisTaskSEDmesonPIDSysProp.h.

Referenced by UserExec().

AliPIDResponse* AliAnalysisTaskSEDmesonPIDSysProp::fPIDresp
private

string for particle name

Definition at line 64 of file AliAnalysisTaskSEDmesonPIDSysProp.h.

Referenced by GetDmesonPIDuncertainty(), UserExec(), and ~AliAnalysisTaskSEDmesonPIDSysProp().

int AliAnalysisTaskSEDmesonPIDSysProp::fPIDstrategy
private

Name of file with single track syst. unc.

Definition at line 67 of file AliAnalysisTaskSEDmesonPIDSysProp.h.

Referenced by GetDmesonPIDuncertainty(), LoadEffSystFile(), and SetPIDStrategy().

double* AliAnalysisTaskSEDmesonPIDSysProp::fPtLimits
private

number of pT bins

Definition at line 77 of file AliAnalysisTaskSEDmesonPIDSysProp.h.

Referenced by UserCreateOutputObjects(), and ~AliAnalysisTaskSEDmesonPIDSysProp().

TString AliAnalysisTaskSEDmesonPIDSysProp::fSystFileName
private

basic pid object

Definition at line 66 of file AliAnalysisTaskSEDmesonPIDSysProp.h.

Referenced by LoadEffSystFile(), and SetPIDEffSystFileName().


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