AliPhysics  master (3d17d9d)
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 }
 
enum  VarForProp { kPt, kP }
 

Public Member Functions

 AliAnalysisTaskSEDmesonPIDSysProp ()
 
 AliAnalysisTaskSEDmesonPIDSysProp (int ch, AliRDHFCuts *cuts)
 
virtual ~AliAnalysisTaskSEDmesonPIDSysProp ()
 
virtual void UserCreateOutputObjects ()
 
virtual void Init ()
 
virtual void UserExec (Option_t *)
 
void SetAODMismatchProtection (int opt=1)
 
void SetPIDStrategy (int PIDst=kStrongPID)
 
void SetKaonHistoOptions (int tpcopt, int tofopt)
 
void SetVariableForUncProp (int var=kPt)
 
int GetDecayChannel () const
 
bool LoadEffSystFile (TFile *systfile)
 

Private Member Functions

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...
 
int fPIDstrategy
 basic pid object 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...
 
int fVarForProp
 cuts 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.

Enumerator
kPt 
kP 

Definition at line 28 of file AliAnalysisTaskSEDmesonPIDSysProp.h.

Constructor & Destructor Documentation

AliAnalysisTaskSEDmesonPIDSysProp::AliAnalysisTaskSEDmesonPIDSysProp ( )

Definition at line 38 of file AliAnalysisTaskSEDmesonPIDSysProp.cxx.

AliAnalysisTaskSEDmesonPIDSysProp::AliAnalysisTaskSEDmesonPIDSysProp ( int  ch,
AliRDHFCuts cuts 
)

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 43 of file AliAnalysisTaskSEDmesonPIDSysProp.h.

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

Definition at line 586 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 180 of file AliAnalysisTaskSEDmesonPIDSysProp.cxx.

bool AliAnalysisTaskSEDmesonPIDSysProp::LoadEffSystFile ( TFile *  systfile)
void AliAnalysisTaskSEDmesonPIDSysProp::SetAODMismatchProtection ( int  opt = 1)
inline

Definition at line 38 of file AliAnalysisTaskSEDmesonPIDSysProp.h.

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

Definition at line 40 of file AliAnalysisTaskSEDmesonPIDSysProp.h.

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

Definition at line 39 of file AliAnalysisTaskSEDmesonPIDSysProp.h.

Referenced by AddTaskDmesonPIDSysProp().

void AliAnalysisTaskSEDmesonPIDSysProp::SetVariableForUncProp ( int  var = kPt)
inline

Definition at line 41 of file AliAnalysisTaskSEDmesonPIDSysProp.h.

void AliAnalysisTaskSEDmesonPIDSysProp::UserCreateOutputObjects ( )
virtual

Definition at line 129 of file AliAnalysisTaskSEDmesonPIDSysProp.cxx.

void AliAnalysisTaskSEDmesonPIDSysProp::UserExec ( Option_t )
virtual

Definition at line 200 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 76 of file AliAnalysisTaskSEDmesonPIDSysProp.h.

Referenced by SetAODMismatchProtection(), and UserExec().

int AliAnalysisTaskSEDmesonPIDSysProp::fDecayChannel
private

number of sigma PID if nsigma strategy enabled

Definition at line 72 of file AliAnalysisTaskSEDmesonPIDSysProp.h.

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

TH1F* AliAnalysisTaskSEDmesonPIDSysProp::fHistEffKaonTOF
private

Definition at line 59 of file AliAnalysisTaskSEDmesonPIDSysProp.h.

Referenced by GetDmesonPIDuncertainty(), and LoadEffSystFile().

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

Definition at line 57 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 52 of file AliAnalysisTaskSEDmesonPIDSysProp.h.

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

TH2F* AliAnalysisTaskSEDmesonPIDSysProp::fHistPtDauVsD
private

! histo with pT daughters vs pT candidate

Definition at line 53 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 54 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 74 of file AliAnalysisTaskSEDmesonPIDSysProp.h.

Referenced by LoadEffSystFile(), and SetKaonHistoOptions().

int AliAnalysisTaskSEDmesonPIDSysProp::fKaonTPCHistoOpt
private

identify the decay channel

Definition at line 73 of file AliAnalysisTaskSEDmesonPIDSysProp.h.

Referenced by LoadEffSystFile(), and SetKaonHistoOptions().

int AliAnalysisTaskSEDmesonPIDSysProp::fNPtBins
private

flag to activate protection against AOD-dAOD mismatch.

Definition at line 78 of file AliAnalysisTaskSEDmesonPIDSysProp.h.

Referenced by UserCreateOutputObjects().

double AliAnalysisTaskSEDmesonPIDSysProp::fnSigma
private

PID strategy (conservative, strong, nsigma..)

Definition at line 70 of file AliAnalysisTaskSEDmesonPIDSysProp.h.

Referenced by LoadEffSystFile().

TList* AliAnalysisTaskSEDmesonPIDSysProp::fOutput
private

! tlist with output

Definition at line 51 of file AliAnalysisTaskSEDmesonPIDSysProp.h.

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

TString AliAnalysisTaskSEDmesonPIDSysProp::fPartName
private

Definition at line 66 of file AliAnalysisTaskSEDmesonPIDSysProp.h.

Referenced by UserExec().

AliPIDResponse* AliAnalysisTaskSEDmesonPIDSysProp::fPIDresp
private

string for particle name

Definition at line 67 of file AliAnalysisTaskSEDmesonPIDSysProp.h.

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

int AliAnalysisTaskSEDmesonPIDSysProp::fPIDstrategy
private

basic pid object

Definition at line 69 of file AliAnalysisTaskSEDmesonPIDSysProp.h.

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

double* AliAnalysisTaskSEDmesonPIDSysProp::fPtLimits
private

number of pT bins

Definition at line 79 of file AliAnalysisTaskSEDmesonPIDSysProp.h.

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

int AliAnalysisTaskSEDmesonPIDSysProp::fVarForProp
private

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