ROOT logo
AliRoot » PWGJE » USERTASKS » AliAnalysisTaskPID

class AliAnalysisTaskPID: public AliAnalysisTaskPIDV0base

Function Members (Methods)

public:
AliAnalysisTaskPID()
AliAnalysisTaskPID(const char* name)
virtual~AliAnalysisTaskPID()
virtual voidTTask::Abort()MENU
voidTObject::AbstractMethod(const char* method) const
virtual voidTTask::Add(TTask* task)
virtual voidAliAnalysisTaskSE::AddAODBranch(const char* cname, void* addobj, const char* fname = "")
virtual AliAODEvent*AliAnalysisTaskSE::AODEvent() const
virtual voidTObject::AppendPad(Option_t* option = "")
Bool_tAliAnalysisTask::AreSlotsConnected()
virtual voidTTask::Browse(TBrowser* b)
Bool_tCalculateMaxEtaVariationMapFromPIDResponse()
Bool_tAliAnalysisTask::CheckCircularDeps()
voidAliAnalysisTask::CheckNotify(Bool_t init = kFALSE)
virtual Bool_tAliAnalysisTask::CheckOwnership() const
virtual Bool_tAliAnalysisTask::CheckPostData() const
static TClass*Class()
virtual const char*TObject::ClassName() const
virtual voidTTask::CleanTasks()
voidCleanupParticleFractionHistos()
virtual voidTTask::Clear(Option_t* option = "")
virtual TObject*TNamed::Clone(const char* newname = "") const
virtual Int_tTNamed::Compare(const TObject* obj) const
virtual voidConfigureTaskForCurrentEvent(AliVEvent* event)
Bool_tAliAnalysisTask::ConnectInput(Int_t islot, AliAnalysisDataContainer* cont)
virtual voidAliAnalysisTaskSE::ConnectInputData(Option_t* option = "")
Bool_tAliAnalysisTask::ConnectOutput(Int_t islot, AliAnalysisDataContainer* cont)
virtual voidTTask::Continue()MENU
virtual voidTNamed::Copy(TObject& named) const
virtual voidAliAnalysisTaskSE::CreateOutputObjects()
virtual const char*AliAnalysisTaskSE::CurrentFileName()
virtual Int_tAliAnalysisTaskSE::DebugLevel() const
virtual voidTObject::Delete(Option_t* option = "")MENU
virtual Int_tTObject::DistancetoPrimitive(Int_t px, Int_t py)
virtual voidTObject::Draw(Option_t* option = "")
virtual voidTObject::DrawClass() constMENU
virtual TObject*TObject::DrawClone(Option_t* option = "") constMENU
virtual voidTObject::Dump() constMENU
virtual Long64_tAliAnalysisTaskSE::Entry() const
virtual voidTObject::Error(const char* method, const char* msgfmt) const
virtual AliESDfriend*AliAnalysisTaskSE::ESDfriend() const
virtual const AliEventTag*AliAnalysisTaskSE::EventTag() const
virtual voidAliAnalysisTaskSE::Exec(Option_t* option)
virtual voidTObject::Execute(const char* method, const char* params, Int_t* error = 0)
virtual voidTObject::Execute(TMethod* method, TObjArray* params, Int_t* error = 0)
virtual voidTObject::ExecuteEvent(Int_t event, Int_t px, Int_t py)
virtual voidTTask::ExecuteTask(Option_t* option = "0")MENU
virtual voidTTask::ExecuteTasks(Option_t* option)
virtual voidTObject::Fatal(const char* method, const char* msgfmt) const
virtual voidTNamed::FillBuffer(char*& buffer)
Bool_tFillCutHisto(Double_t value, AliAnalysisTaskPID::CutHistoType type)
Bool_tFillEfficiencyContainer(const Double_t* values, AliAnalysisTaskPID::EffSteps step, Double_t weight = 1.0)
Bool_tFillGeneratedYield(const Double_t* values, Double_t weight = 1.0)
Bool_tFillGenJets(Double_t centralityPercentile, Double_t jetPt, Double_t norm = -1.)
Bool_tFillPtResolution(Int_t mcID, const Double_t* values)
Bool_tFillPythiaTrials(Double_t avgTrials)
Bool_tFillRecJets(Double_t centralityPercentile, Double_t jetPt, Double_t norm = -1.)
Bool_tFillXsec(Double_t xsection)
virtual TObject*TObject::FindObject(const char* name) const
virtual TObject*TObject::FindObject(const TObject* obj) const
virtual voidAliAnalysisTask::FinishTaskOutput()
AliAnalysisTaskPID::ErrorCodeGenerateDetectorResponse(AliAnalysisTaskPID::ErrorCode errCode, Double_t mean, Double_t sigma, Double_t* responses, Int_t nResponses, Bool_t usePureGaus = kFALSE)
Double_tGetAccuracyNonGaussianTail() const
voidAliAnalysisTask::GetBranches(const char* type, TString& result) const
Int_tTTask::GetBreakin() const
Int_tTTask::GetBreakout() const
const TStringGetCentralityEstimator() const
Double_tGetCentralityPercentile(AliVEvent* evt) const
virtual UInt_tAliAnalysisTaskSE::GetCollisionCandidates() const
Double_tGetConvolutedGaussTransitionPar(Int_t index) const
static Double_tAliAnalysisTaskPIDV0base::GetCutGeo()
static Double_tAliAnalysisTaskPIDV0base::GetCutNcl()
static Double_tAliAnalysisTaskPIDV0base::GetCutNcr()
static UShort_tAliAnalysisTaskPIDV0base::GetCutPureNcl()
virtual Float_tAliAnalysisTaskPIDV0base::GetDeltaTOF(const AliVTrack* track, const AliTOFPIDResponse* tofPIDresponse, const Double_t* times, AliPID::EParticleType type) const
Bool_tGetDoBinZeroStudy() const
Bool_tGetDoDeDxCheck() const
Bool_tGetDoEfficiency() const
Bool_tGetDoPID() const
Bool_tGetDoPtResolution() const
virtual Option_t*TObject::GetDrawOption() const
static Long_tTObject::GetDtorOnly()
Double_tGetEtaAbsCutLow() const
Double_tGetEtaAbsCutUp() const
virtual Double_tAliAnalysisTaskPIDV0base::GetEtaCut() const
virtual const char*TObject::GetIconName() const
Int_tGetIndexOfChargeAxisData() const
Int_tGetIndexOfChargeAxisGen() const
Int_tGetIndexOfChargeAxisGenYield() const
Int_tGetIndexOfTOFpidInfoAxisData() const
Int_tGetIndexOfTOFpidInfoAxisGen() const
TObject*AliAnalysisTask::GetInputData(Int_t islot) const
Bool_tGetInputFromOtherTask() const
AliAnalysisDataSlot*AliAnalysisTask::GetInputSlot(Int_t islot) const
TClass*AliAnalysisTask::GetInputType(Int_t islot) const
virtual Bool_tAliAnalysisTaskPIDV0base::GetIsPbpOrpPb() const
virtual Bool_tAliAnalysisTaskPIDV0base::GetIsPileUp(AliVEvent* event, AliAnalysisTaskPIDV0base::PileUpRejectionType pileUpRejectionType) const
static voidGetJetTrackObservables(Double_t trackPt, Double_t jetPt, Double_t& z, Double_t& xi)
TList*TTask::GetListOfTasks() const
Double_tGetMaxEtaVariation(Double_t dEdxSplines)
static Double_tGetMCStrangenessFactorCMS(Int_t motherPDG, Double_t motherGenPt)
static Double_tGetMCStrangenessFactorCMS(AliMCEvent* mcEvent, AliMCParticle* daughter)
virtual const char*TNamed::GetName() const
Int_tAliAnalysisTask::GetNinputs() const
Int_tAliAnalysisTask::GetNoutputs() const
virtual char*TObject::GetObjectInfo(Int_t px, Int_t py) const
static Bool_tTObject::GetObjectStat()
virtual Option_t*TObject::GetOption() const
TObject*AliAnalysisTask::GetOutputData(Int_t islot) const
AliAnalysisDataSlot*AliAnalysisTask::GetOutputSlot(Int_t islot) const
TClass*AliAnalysisTask::GetOutputType(Int_t islot) const
Bool_tGetParticleFraction(Double_t trackPt, Double_t jetPt, Double_t multiplicity, AliPID::EParticleType species, Double_t& fraction, Double_t& fractionErrorStat, Double_t& fractionErrorSys) const
const TH3D*GetParticleFractionHisto(Int_t species, Bool_t sysError = kFALSE) const
Int_tGetParticleFractionHistoNbinsCentrality() const
Int_tGetParticleFractionHistoNbinsJetPt() const
Int_tGetParticleFractionHistoNbinsTrackPt() const
Bool_tGetParticleFractions(Double_t trackPt, Double_t jetPt, Double_t centralityPercentile, Double_t* prob, Int_t smearSpeciesByError, Int_t takeIntoAccountSpeciesSysError, Bool_t uniformSystematicError = kFALSE) const
virtual Double_tAliAnalysisTaskPIDV0base::GetPhiPrime(Double_t phi, Double_t magField, Int_t charge) const
AliAnalysisTaskPIDV0base::PileUpRejectionTypeGetPileUpRejectionType() const
const TStringGetPPCentralityEstimator() const
TObject*AliAnalysisTask::GetPublishedData() const
virtual TList*AliAnalysisTaskSE::GetQAHistos() const
Int_tGetRandomParticleTypeAccordingToParticleFractions(Double_t trackPt, Double_t jetPt, Double_t centralityPercentile, Bool_t smearByError, Bool_t takeIntoAccountSysError = kFALSE) const
Bool_tGetStoreAdditionalJetInformation() const
Bool_tGetStoreCentralityPercentile() const
virtual Bool_tAliAnalysisTaskPIDV0base::GetStoreMotherIndex() const
Double_tGetSystematicScalingEtaCorrectionHighMomenta() const
Double_tGetSystematicScalingEtaCorrectionLowMomenta() const
Double_tGetSystematicScalingEtaCorrectionMomentumThr() const
Double_tGetSystematicScalingEtaSigmaParaAboveThreshold() const
Double_tGetSystematicScalingEtaSigmaParaBelowThreshold() const
Double_tGetSystematicScalingEtaSigmaParaThreshold() const
Double_tGetSystematicScalingMultCorrection() const
Double_tGetSystematicScalingSplinesAboveThreshold() const
Double_tGetSystematicScalingSplinesBelowThreshold() const
Double_tGetSystematicScalingSplinesThreshold() const
Bool_tGetTakeIntoAccountMuons() const
virtual const char*TNamed::GetTitle() const
Int_tGetTOFmode() const
AliAnalysisTaskPID::TOFpidInfoGetTOFType(const AliVTrack* track, Int_t tofMode) const
virtual AliAnalysisTaskPIDV0base::TPCcutTypeAliAnalysisTaskPIDV0base::GetTPCcutType() const
virtual const AliAnalysisFilter*AliAnalysisTaskPIDV0base::GetTrackFilter() const
virtual UInt_tTObject::GetUniqueID() const
Bool_tGetUseConvolutedGaus() const
Bool_tGetUseITS() const
Bool_tGetUseMCidForGeneration() const
virtual Bool_tAliAnalysisTaskPIDV0base::GetUsePhiCut() const
Bool_tGetUsePriors() const
Bool_tGetUseTOF() const
virtual Bool_tAliAnalysisTaskPIDV0base::GetUseTPCCutMIGeo() const
Bool_tGetUseTPCDefaultPriors() const
virtual Bool_tAliAnalysisTaskPIDV0base::GetUseTPCnclCut() const
virtual Int_tAliAnalysisTaskPIDV0base::GetV0motherIndex(Int_t trackIndex) const
virtual Char_tAliAnalysisTaskPIDV0base::GetV0tag(Int_t trackIndex) const
virtual Bool_tAliAnalysisTaskPIDV0base::GetVertexIsOk(AliVEvent* event, Bool_t doVtxZcut = kTRUE) const
virtual Double_tAliAnalysisTaskPIDV0base::GetZvtxCutEvent() const
virtual Bool_tTObject::HandleTimer(TTimer* timer)
Bool_tAliAnalysisTask::HasBranches() const
Bool_tAliAnalysisTask::HasExecuted() const
virtual ULong_tTNamed::Hash() const
Bool_tIncrementEventCounter(Double_t centralityPercentile, AliAnalysisTaskPID::EventCounterType type)
virtual voidTObject::Info(const char* method, const char* msgfmt) const
virtual Bool_tTObject::InheritsFrom(const char* classname) const
virtual Bool_tTObject::InheritsFrom(const TClass* cl) const
virtual voidAliAnalysisTaskSE::Init()
virtual AliVEvent*AliAnalysisTaskSE::InputEvent() const
virtual voidTObject::Inspect() constMENU
voidTObject::InvertBit(UInt_t f)
virtual TClass*IsA() const
Bool_tTTask::IsActive() const
Bool_tAliAnalysisTask::IsChecked() const
virtual Bool_tTObject::IsEqual(const TObject* obj) const
virtual Bool_tAliAnalysisTaskSE::IsEventInBinZero()
virtual Bool_tTTask::IsFolder() const
Bool_tIsInAcceptedEtaRange(Double_t etaAbs) const
Bool_tAliAnalysisTask::IsInitialized() const
Bool_tTObject::IsOnHeap() const
Bool_tAliAnalysisTask::IsOutputReady(Int_t islot) const
Bool_tAliAnalysisTask::IsPostEventLoop() const
Bool_tAliAnalysisTask::IsReady() const
static Bool_tIsSecondaryWithStrangeMotherMC(AliMCEvent* mcEvent, Int_t partLabel)
virtual Bool_tTNamed::IsSortable() const
virtual Bool_tAliAnalysisTaskSE::IsStandardAOD() const
Bool_tAliAnalysisTask::IsUsed() const
Bool_tAliAnalysisTask::IsZombie() const
voidAliAnalysisTaskSE::LoadBranches() const
virtual voidAliAnalysisTask::LocalInit()
virtual voidTTask::ls(Option_t* option = "*") constMENU
voidTObject::MayNotUse(const char* method) const
virtual AliMCEvent*AliAnalysisTaskSE::MCEvent() const
virtual Bool_tAliAnalysisTaskSE::Notify()
virtual Bool_tAliAnalysisTask::NotifyBinChange()
virtual voidAliAnalysisTaskSE::NotifyRun()
voidTObject::Obsolete(const char* method, const char* asOfVers, const char* removedFromVers) const
static voidTObject::operator delete(void* ptr)
static voidTObject::operator delete(void* ptr, void* vp)
static voidTObject::operator delete[](void* ptr)
static voidTObject::operator delete[](void* ptr, void* vp)
void*TObject::operator new(size_t sz)
void*TObject::operator new(size_t sz, void* vp)
void*TObject::operator new[](size_t sz)
void*TObject::operator new[](size_t sz, void* vp)
virtual TTree*AliAnalysisTaskSE::OutputTree() const
virtual voidTObject::Paint(Option_t* option = "")
static Int_tPDGtoMCID(Int_t pdg)
virtual Bool_tAliAnalysisTaskPIDV0base::PhiPrimeCut(const AliVTrack* track, Double_t magField) const
virtual Bool_tAliAnalysisTaskPIDV0base::PhiPrimeCut(Double_t trackPt, Double_t trackPhi, Short_t trackCharge, Double_t magField) const
virtual voidTObject::Pop()
voidPostOutputData()
virtual voidTNamed::Print(Option_t* option = "") const
voidAliAnalysisTask::PrintContainers(Option_t* option = "all", Int_t indent = 0) const
voidPrintSettings(Bool_t printSystematicsSettings = kFALSE) const
voidPrintSystematicsSettings() const
virtual voidAliAnalysisTask::PrintTask(Option_t* option = "all", Int_t indent = 0) const
Bool_tProcessTrack(const AliVTrack* track, Int_t particlePDGcode, Double_t centralityPercentile, Double_t jetPt)
Bool_tAliAnalysisTask::ProducersTouched() const
virtual Int_tTObject::Read(const char* name)
virtual voidTObject::RecursiveRemove(TObject* obj)
virtual voidAliAnalysisTask::Reset()
voidTObject::ResetBit(UInt_t f)
virtual voidTObject::SaveAs(const char* filename = "", Option_t* option = "") constMENU
virtual voidTObject::SavePrimitive(basic_ostream<char,char_traits<char> >& out, Option_t* option = "")
virtual voidAliAnalysisTaskSE::SelectCollisionCandidates(UInt_t offlineTriggerMask = AliVEvent::kMB)
voidSetAccuracyNonGaussianTail(Double_t value)
voidTTask::SetActive(Bool_t active = kTRUE)TOGGLE
voidTObject::SetBit(UInt_t f)
voidTObject::SetBit(UInt_t f, Bool_t set)
voidAliAnalysisTask::SetBranches(const char* names)
voidTTask::SetBreakin(Int_t breakin = 1)TOGGLE
voidTTask::SetBreakout(Int_t breakout = 1)TOGGLE
voidSetCentralityEstimator(TString estimator)
voidAliAnalysisTask::SetChecked(Bool_t flag = kTRUE)
Bool_tSetConvolutedGaussLambdaParameter(Double_t lambda)
static voidAliAnalysisTaskPIDV0base::SetCutGeo(Double_t value)
static voidAliAnalysisTaskPIDV0base::SetCutNcl(Double_t value)
static voidAliAnalysisTaskPIDV0base::SetCutNcr(Double_t value)
static voidAliAnalysisTaskPIDV0base::SetCutPureNcl(UShort_t value)
virtual voidAliAnalysisTaskSE::SetDebugLevel(Int_t level)
voidSetDoBinZeroStudy(Bool_t flag)
voidSetDoDeDxCheck(Bool_t flag)
voidSetDoEfficiency(Bool_t flag)
voidSetDoPID(Bool_t flag)
voidSetDoPtResolution(Bool_t flag)
virtual voidTObject::SetDrawOption(Option_t* option = "")MENU
static voidTObject::SetDtorOnly(void* obj)
Bool_tSetEtaAbsCutRange(Double_t lowerLimit, Double_t upperLimit)
virtual voidAliAnalysisTaskPIDV0base::SetEtaCut(Double_t etaCut)
voidSetInputFromOtherTask(Bool_t flag)
virtual voidAliAnalysisTaskPIDV0base::SetIsPbpOrpPb(Bool_t newValue)
virtual voidTNamed::SetName(const char* name)MENU
virtual voidTNamed::SetNameTitle(const char* name, const char* title)
static voidTObject::SetObjectStat(Bool_t stat)
AliAnalysisTaskPID::ErrorCodeSetParamsForConvolutedGaus(Double_t gausMean, Double_t gausSigma)
Bool_tSetParticleFractionHisto(const TH3D* hist, Int_t species, Bool_t sysError = kFALSE)
Bool_tSetParticleFractionHistosFromFile(const TString filePathName, Bool_t sysError = kFALSE)
voidSetPileUpRejectionType(AliAnalysisTaskPIDV0base::PileUpRejectionType newType)
voidAliAnalysisTask::SetPostEventLoop(Bool_t flag = kTRUE)
voidSetStoreAdditionalJetInformation(Bool_t flag)
voidSetStoreCentralityPercentile(Bool_t flag)
virtual voidAliAnalysisTaskPIDV0base::SetStoreMotherIndex(Bool_t newValue)
voidSetSystematicScalingEtaCorrectionHighMomenta(Double_t scaleFactor)
voidSetSystematicScalingEtaCorrectionLowMomenta(Double_t scaleFactor)
voidSetSystematicScalingEtaCorrectionMomentumThr(Double_t threshold)
voidSetSystematicScalingEtaSigmaParaAboveThreshold(Double_t scaleFactor)
voidSetSystematicScalingEtaSigmaParaBelowThreshold(Double_t scaleFactor)
voidSetSystematicScalingEtaSigmaParaThreshold(Double_t threshold)
voidSetSystematicScalingMultCorrection(Double_t scaleFactor)
voidSetSystematicScalingSplinesAboveThreshold(Double_t scaleFactor)
voidSetSystematicScalingSplinesBelowThreshold(Double_t scaleFactor)
voidSetSystematicScalingSplinesThreshold(Double_t threshold)
voidSetTakeIntoAccountMuons(Bool_t flag)
virtual voidTNamed::SetTitle(const char* title = "")MENU
voidSetTOFmode(Int_t tofMode)
virtual voidAliAnalysisTaskPIDV0base::SetTPCcutType(AliAnalysisTaskPIDV0base::TPCcutType newType)
virtual voidAliAnalysisTaskPIDV0base::SetTrackFilter(AliAnalysisFilter* trackF)
virtual voidTObject::SetUniqueID(UInt_t uid)
voidSetUseConvolutedGaus(Bool_t flag)
voidAliAnalysisTask::SetUsed(Bool_t flag = kTRUE)
voidSetUseITS(Bool_t flag)
voidSetUseMCidForGeneration(Bool_t flag)
virtual voidAliAnalysisTaskPIDV0base::SetUsePhiCut(Bool_t newValue)
voidSetUsePriors(Bool_t flag)
voidSetUseTOF(Bool_t flag)
voidSetUseTPCDefaultPriors(Bool_t flag)
voidAliAnalysisTask::SetZombie(Bool_t flag = kTRUE)
virtual voidAliAnalysisTaskPIDV0base::SetZvtxCutEvent(Double_t newValue)
virtual voidShowMembers(TMemberInspector&)
virtual Int_tTNamed::Sizeof() const
virtual voidStreamer(TBuffer&)
voidStreamerNVirtual(TBuffer& ClassDef_StreamerNVirtual_b)
virtual voidTObject::SysError(const char* method, const char* msgfmt) const
virtual voidTerminate(Option_t*)
Bool_tTObject::TestBit(UInt_t f) const
Int_tTObject::TestBits(UInt_t f) const
static Bool_tAliAnalysisTaskPIDV0base::TPCCutMIGeo(const AliVTrack* track, const AliVEvent* evt, TTreeStream* streamer = 0x0)
static Bool_tAliAnalysisTaskPIDV0base::TPCCutMIGeo(const AliVTrack* track, const AliInputEventHandler* evtHandler, TTreeStream* streamer = 0x0)
static Bool_tAliAnalysisTaskPIDV0base::TPCnclCut(const AliVTrack* track)
virtual voidTObject::UseCurrentStyle()
virtual voidUserCreateOutputObjects()
virtual voidUserExec(Option_t* option)
virtual voidAliAnalysisTaskSE::UserExecMix(Option_t*)
virtual Bool_tAliAnalysisTaskSE::UserNotify()
virtual voidTObject::Warning(const char* method, const char* msgfmt) const
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0)
virtual Int_tTObject::Write(const char* name = 0, Int_t option = 0, Int_t bufsize = 0) const
protected:
voidCheckDoAnyStematicStudiesOnTheExpectedSignal()
voidAliAnalysisTaskPIDV0base::ClearV0PIDlist()
voidAliAnalysisTaskSE::ConnectMultiHandler()
Double_tConvolutedGaus(const Double_t* xx, const Double_t* par) const
voidAliAnalysisTask::DefineInput(Int_t islot, TClass* type)
voidAliAnalysisTask::DefineOutput(Int_t islot, TClass* type)
voidAliAnalysisTaskSE::DisconnectMultiHandler()
virtual voidTObject::DoError(int level, const char* location, const char* fmt, va_list va) const
voidAliAnalysisTask::EnableBranch(Int_t islot, const char* bname) const
Double_tFastGaus(Double_t x, Double_t mean, Double_t sigma) const
Double_tFastNormalisedGaus(Double_t x, Double_t mean, Double_t sigma) const
voidAliAnalysisTaskPIDV0base::FillV0PIDlist(AliESDEvent* esdEvent = 0x0)
Int_tFindBinWithinRange(TAxis* axis, Double_t value) const
Int_tFindFirstBinAboveIn3dSubset(const TH3* hist, Double_t threshold, Int_t yValue, Int_t zValue) const
Int_tFindLastBinAboveIn3dSubset(const TH3* hist, Double_t threshold, Int_t yValue, Int_t zValue) const
char*AliAnalysisTask::GetBranchAddress(Int_t islot, const char* branch) const
voidTObject::MakeZombie()
TFile*AliAnalysisTask::OpenFile(Int_t iout, Option_t* option = "RECREATE") const
Bool_tAliAnalysisTask::PostData(Int_t iout, TObject* data, Option_t* option = "")
Bool_tAliAnalysisTask::SetBranchAddress(Int_t islot, const char* branch, void* address) const
virtual voidSetUpBinZeroStudyHist(THnSparse* hist, const Double_t* binsCent, const Double_t* binsPt) const
virtual voidSetUpDeDxCheckHist(THnSparse* hist, const Double_t* binsPt, const Double_t* binsJetPt, const Double_t* binsEtaAbs) const
virtual voidSetUpGenHist(THnSparse* hist, Double_t* binsPt, Double_t* binsDeltaPrime, Double_t* binsCent, Double_t* binsJetPt) const
virtual voidSetUpGenYieldHist(THnSparse* hist, Double_t* binsPt, Double_t* binsCent, Double_t* binsJetPt) const
virtual voidSetUpHist(THnSparse* hist, Double_t* binsPt, Double_t* binsDeltaPrime, Double_t* binsCent, Double_t* binsJetPt) const
virtual voidSetUpPIDcombined()
virtual voidSetUpPtResHist(THnSparse* hist, Double_t* binsPt, Double_t* binsJetPt, Double_t* binsCent) const
virtual voidSetUpSharedClsHist(THnSparse* hist, Double_t* binsPt, Double_t* binsJetPt) const

Data Members

public:
enum ErrorCode { kNoErrors
kWarning
kError
};
enum dataAxes { kDataMCID
kDataSelectSpecies
kDataPt
kDataDeltaPrimeSpecies
kDataCentrality
kDataJetPt
kDataZ
kDataXi
kDataCharge
kDataTOFpidInfo
kDataNumAxes
};
enum genAxes { kGenMCID
kGenSelectSpecies
kGenPt
kGenDeltaPrimeSpecies
kGenCentrality
kGenJetPt
kGenZ
kGenXi
kGenCharge
kGenTOFpidInfo
kGenNumAxes
};
enum genYieldAxes { kGenYieldMCID
kGenYieldPt
kGenYieldCentrality
kGenYieldJetPt
kGenYieldZ
kGenYieldXi
kGenYieldCharge
kGenYieldNumAxes
};
enum ptResolutionAxes { kPtResJetPt
kPtResGenPt
kPtResRecPt
kPtResCharge
kPtResCentrality
kPtResNumAxes
};
enum qaSharedClsAxes { kQASharedClsJetPt
kQASharedClsPt
kQASharedClsNumSharedCls
kQASharedClsPadRow
kQASharedClsNumAxes
};
enum dEdxCheckAxes { kDeDxCheckPID
kDeDxCheckP
kDeDxCheckJetPt
kDeDxCheckEtaAbs
kDeDxCheckDeDx
kDeDxCheckNumAxes
};
enum binZeroStudyAxes { kBinZeroStudyCentrality
kBinZeroStudyGenPt
kBinZeroStudyGenEta
kBinZeroStudyNumAxes
};
enum efficiencyAxes { kEffMCID
kEffTrackPt
kEffTrackEta
kEffTrackCharge
kEffCentrality
kEffJetPt
kEffZ
kEffXi
kEffNumAxes
};
enum EffSteps { kStepGenWithGenCuts
kStepRecWithGenCuts
kStepRecWithGenCutsMeasuredObs
kStepRecWithRecCutsMeasuredObs
kStepRecWithRecCutsMeasuredObsPrimaries
kStepRecWithRecCutsMeasuredObsStrangenessScaled
kStepRecWithRecCutsPrimaries
kNumSteps
};
enum TOFpidInfo { kNoTOFinfo
kNoTOFpid
kTOFpion
kTOFkaon
kTOFproton
kNumTOFspecies
kNumTOFpidInfoBins
};
enum EventCounterType { kTriggerSel
kTriggerSelAndVtxCut
kTriggerSelAndVtxCutAndZvtxCutNoPileUpRejection
kTriggerSelAndVtxCutAndZvtxCut
};
enum CutHistoType { kMCPtHardCut
};
enum AliAnalysisTaskPIDV0base::PileUpRejectionType { kPileUpRejectionOff
kPileUpRejectionSPD
kPileUpRejectionMV
};
enum AliAnalysisTaskPIDV0base::TPCcutType { kNoCut
kTPCCutMIGeo
kTPCnclCut
};
enum AliAnalysisTask::EAnalysisTaskFlags { kTaskUsed
kTaskZombie
kTaskChecked
kTaskPostEventLoop
};
enum TObject::EStatusBits { kCanDelete
kMustCleanup
kObjInCanvas
kIsReferenced
kHasUUID
kCannotPick
kNoContextMenu
kInvalidObject
};
enum TObject::[unnamed] { kIsOnHeap
kNotDeleted
kZombie
kBitMask
kSingleKey
kOverwrite
kWriteDelete
};
protected:
Bool_tTTask::fActivetrue if task is active
AliAnalysisUtils*AliAnalysisTaskPIDV0base::fAnaUtils! Object to use analysis utils like pile-up rejection
TStringAliAnalysisTask::fBranchNamesList of input branches that need to be loaded for this task
Int_tTTask::fBreakin=1 if a break point set at task extry
Int_tTTask::fBreakout=1 if a break point set at task exit
Int_tAliAnalysisTaskSE::fCurrentRunNumber! Current run number
Int_tAliAnalysisTaskSE::fDebugDebug flag
AliESDEvent*AliAnalysisTaskPIDV0base::fESD! ESDEvent object, if ESD
AliESDfriend*AliAnalysisTaskSE::fESDfriend! ESD friend
Int_tAliAnalysisTaskSE::fEntryCurrent entry in the chain
Double_tAliAnalysisTaskPIDV0base::fEtaCutEta cut
AliVEvent*AliAnalysisTaskPIDV0base::fEvent! VEvent object
Bool_tTTask::fHasExecutedTrue if task has executed
TList*AliAnalysisTaskSE::fHistosQA! Output histos for QA
Bool_tAliAnalysisTask::fInitializedTrue if Init() was called
AliVEvent*AliAnalysisTaskSE::fInputEvent! VEvent Input
AliInputEventHandler*AliAnalysisTaskSE::fInputHandler! Input Handler
TObjArray*AliAnalysisTask::fInputsArray of input slots
Bool_tAliAnalysisTaskPIDV0base::fIsPbpOrpPbPbp/pPb collision or something else?
AliMCEvent*AliAnalysisTaskPIDV0base::fMC! MC object
AliMCEvent*AliAnalysisTaskSE::fMCEvent! MC
AliInputEventHandler*AliAnalysisTaskSE::fMCEventHandler! pointer to MCEventHandler
AliMultiInputEventHandler*AliAnalysisTaskSE::fMultiInputHandler! pointer to multihandler
TStringTNamed::fNameobject identifier
Int_tAliAnalysisTask::fNinputsNumber of inputs
Int_tAliAnalysisTask::fNoutputsNumber of outputs
Int_tAliAnalysisTaskPIDV0base::fNumTagsStoredNumber of entries of fV0tags
UInt_tAliAnalysisTaskSE::fOfflineTriggerMaskTask processes collision candidates only
TStringTTask::fOptionOption specified in ExecuteTask
AliAODEvent*AliAnalysisTaskSE::fOutputAOD! AOD out
Bool_t*AliAnalysisTask::fOutputReady[fNoutputs] Flags for output readyness
TObjArray*AliAnalysisTask::fOutputsArray of output slots
AliPIDResponse*AliAnalysisTaskPIDV0base::fPIDResponse! PID response Handler
TF1*AliAnalysisTaskPIDV0base::fPhiCutHighphi prime cut, high
TF1*AliAnalysisTaskPIDV0base::fPhiCutLowphi prime cut, low
TObject*AliAnalysisTask::fPublishedData! published data
TRandom3*AliAnalysisTaskPIDV0base::fRandom! Can be used to statistically determine the shape in the pt bins e.g.
Bool_tAliAnalysisTask::fReadyFlag if the task is ready
Bool_tAliAnalysisTaskPIDV0base::fStoreMotherIndexSwitch on/off storing the mother indices of V0 daughters
AliAnalysisTaskPIDV0base::TPCcutTypeAliAnalysisTaskPIDV0base::fTPCcutTypeType of TPC cut to be used
TList*TTask::fTasksList of Tasks
TStringTNamed::fTitleobject title
AliAnalysisFilter*AliAnalysisTaskPIDV0base::fTrackFilterTrack Filter
TTree*AliAnalysisTaskSE::fTreeAAOD output Tree
Bool_tAliAnalysisTaskPIDV0base::fUsePhiCutUse cut on phi (useful for TPC)
AliESDv0KineCuts*AliAnalysisTaskPIDV0base::fV0KineCuts! ESD V0 kine cuts
Int_t*AliAnalysisTaskPIDV0base::fV0motherIndex! Pointer to array with index of the mother V0
Char_t*AliAnalysisTaskPIDV0base::fV0tags! Pointer to array with tags for identified particles from V0 decays
Double_tAliAnalysisTaskPIDV0base::fZvtxCutEventVertex z cut for the event (cm)
static TClonesArray*AliAnalysisTaskSE::fgAODCaloClusters! CaloClusters for replication
static TClonesArray*AliAnalysisTaskSE::fgAODDimuons! Dimuons replication
static AliAODCaloTrigger*AliAnalysisTaskSE::fgAODEMCALTrigger! Emcal Trigger for replication
static AliAODCaloCells*AliAnalysisTaskSE::fgAODEmcalCells! Emcal Cell replication
static TClonesArray*AliAnalysisTaskSE::fgAODFMDClusters! FMDClusters for replication
static AliVHeader*AliAnalysisTaskSE::fgAODHeader! Header for replication
static TClonesArray*AliAnalysisTaskSE::fgAODHmpidRings! HMPID replication
static TClonesArray*AliAnalysisTaskSE::fgAODJets! Jets for replication
static TClonesArray*AliAnalysisTaskSE::fgAODMCParticles! MC Particles for replicatio
static AliAODCaloTrigger*AliAnalysisTaskSE::fgAODPHOSTrigger! Phos Trigger for replication
static TClonesArray*AliAnalysisTaskSE::fgAODPMDClusters! PMDClusters for replication
static AliAODCaloCells*AliAnalysisTaskSE::fgAODPhosCells! Phos Cell replication
static AliAODTracklets*AliAnalysisTaskSE::fgAODTracklets! Tracklets for replication
static TClonesArray*AliAnalysisTaskSE::fgAODTracks! Tracks for replication
static TClonesArray*AliAnalysisTaskSE::fgAODV0s! V0s for replication
static AliAODVZERO*AliAnalysisTaskSE::fgAODVZERO! VZERO for replication
static TClonesArray*AliAnalysisTaskSE::fgAODVertices! Vertices for replication
static TTask*TTask::fgBeginTaskpointer to task initiator
static TTask*TTask::fgBreakPointpointer to current break point
static Double_tAliAnalysisTaskPIDV0base::fgCutGeoCut variable for TPCCutMIGeo concerning geometry
static Double_tAliAnalysisTaskPIDV0base::fgCutNclCut variable for TPCCutMIGeo concerning num clusters
static Double_tAliAnalysisTaskPIDV0base::fgCutNcrCut variable for TPCCutMIGeo concerning num crossed rows
static UShort_tAliAnalysisTaskPIDV0base::fgCutPureNclCut variable for TPCnclCut
static AliTOFHeader*AliAnalysisTaskSE::fgTOFHeader! TOFHeader for replication
static const Double_tfgkEpsilonDouble_t threshold above zero
static const Int_tfgkMaxNumGenEntriesMaximum number of generated detector responses per track and delta(Prime) and associated species
static const Int_tfgkNumJetAxesNumber of additional axes for jets
static const Double_tfgkOneOverSqrt2= 1. / TMath::Sqrt2();
private:
Double_tfAccuracyNonGaussianTailAccuracy of the non-gaussian tail (fraction of the maximum)
TStringfCentralityEstimatorEstimator for the centrality (e.g. V0A, V0M)
THnSparseD*fChargedGenPrimariesTriggerSel! Histo holding the generated charged primary yields for triggered events
THnSparseD*fChargedGenPrimariesTriggerSelVtxCut! Histo holding the generated charged primary yields for triggered events passing vertex cuts
THnSparseD*fChargedGenPrimariesTriggerSelVtxCutZ! Histo holding the generated charged primary yields for triggered events passing vertex cuts (including cut on z)
THnSparseD*fChargedGenPrimariesTriggerSelVtxCutZPileUpRej! Histo holding the generated charged primary yields for triggered events passing vertex cuts (including cut on z) and pile-up rejection
AliCFContainer*fContainerEff! Container for efficiency determination
TF1*fConvolutedGausDeltaPrimeGaus convoluted with exponential tail to generate detector response (deltaPrime)
Double_tfConvolutedGaussTransitionPars[3]Parameter for transition from gaussian parameters to asymmetric shape
THnSparseD*fDeDxCheck! dEdx check
TAxis*fDeltaPrimeAxis! Axis holding the deltaPrime binning
Bool_tfDoAnySystematicStudiesOnTheExpectedSignalInternal flag indicating whether any systematic studies are going to be performed
Bool_tfDoBinZeroStudyDo bin zero study, if flag is set to kTRUE
Bool_tfDoDeDxCheckCheck dEdx, if flag set to kTRUE
Bool_tfDoEfficiencyDo efficiency processing (and post the output), if flag is set to kTRUE
Bool_tfDoPIDDo PID processing (and post the output), if flag is set to kTRUE
Bool_tfDoPtResolutionDo pT resolution processing (and post the output), if flag is set to kTRUE
Double_tfEtaAbsCutLowLower cut value on |eta|
Double_tfEtaAbsCutUpUpper cut value on |eta|
TH3D*fFractionHists[5]3D histos of particle fraction as function with trackPt, jetPt (-1 for inclusive spectra), centralityPercentile (-1 for pp)
TH3D*fFractionSysErrorHists[5]3D histos of sys. error of particle fraction as function with trackPt, jetPt (-1 for inclusive spectra), centralityPercentile (-1 for pp)
Double_t*fGenRespElDeltaPrimeEl! Generated responses for a single track
Double_t*fGenRespElDeltaPrimeKa! Generated responses for a single track
Double_t*fGenRespElDeltaPrimePi! Generated responses for a single track
Double_t*fGenRespElDeltaPrimePr! Generated responses for a single track
Double_t*fGenRespKaDeltaPrimeEl! Generated responses for a single track
Double_t*fGenRespKaDeltaPrimeKa! Generated responses for a single track
Double_t*fGenRespKaDeltaPrimePi! Generated responses for a single track
Double_t*fGenRespKaDeltaPrimePr! Generated responses for a single track
Double_t*fGenRespMuDeltaPrimeEl! Generated responses for a single track
Double_t*fGenRespMuDeltaPrimeKa! Generated responses for a single track
Double_t*fGenRespMuDeltaPrimePi! Generated responses for a single track
Double_t*fGenRespMuDeltaPrimePr! Generated responses for a single track
Double_t*fGenRespPiDeltaPrimeEl! Generated responses for a single track
Double_t*fGenRespPiDeltaPrimeKa! Generated responses for a single track
Double_t*fGenRespPiDeltaPrimePi! Generated responses for a single track
Double_t*fGenRespPiDeltaPrimePr! Generated responses for a single track
Double_t*fGenRespPrDeltaPrimeEl! Generated responses for a single track
Double_t*fGenRespPrDeltaPrimeKa! Generated responses for a single track
Double_t*fGenRespPrDeltaPrimePi! Generated responses for a single track
Double_t*fGenRespPrDeltaPrimePr! Generated responses for a single track
Bool_tfInputFromOtherTaskIf set to kTRUE, no events are processed and the input must be fed in from another task. If set to kFALSE, normal event processing
TObjArray*fOutputContainer! output data container
AliPIDCombined*fPIDcombined! PID combined object
AliAnalysisTaskPIDV0base::PileUpRejectionTypefPileUpRejectionTypeWhich pile-up rejection is used (if any)
THnSparseD*fPtResolution[5]! Pt Resolution for the individual species
TObjArray*fQAContainer! output data container for QA
THnSparseD*fQASharedCls! QA for shared clusters
Int_tfRunCurrent run number
Bool_tfStoreAdditionalJetInformationIf set to kTRUE, additional jet information like jetPt, z, xi will be stored in the THnSparses
Bool_tfStoreCentralityPercentileIf set to kTRUE, store centrality percentile for each event. In case of kFALSE (appropriate for pp), centrality percentile will be set to -1 for every event
Double_tfSystematicScalingEtaCorrectionHighMomentaSystematic scale factor for the eta correction (1. = no systematics) at high momenta
Double_tfSystematicScalingEtaCorrectionLowMomentaSystematic scale factor for the eta correction (1. = no systematics) at low momenta
Double_tfSystematicScalingEtaCorrectionMomentumThrMomentum threshold for the systematic scale factor for the eta correction (separates low-p from high-p
Double_tfSystematicScalingEtaSigmaParaAboveThresholdSystematic scale factor for the parametrisation of the relative signal width (1. = no systematics) above threshold
Double_tfSystematicScalingEtaSigmaParaBelowThresholdSystematic scale factor for the parametrisation of the relative signal width (1. = no systematics) below threshold
Double_tfSystematicScalingEtaSigmaParaThresholddEdx threshold for the systematic scale factor for the parametrisation of the relative signal width
Double_tfSystematicScalingMultCorrectionSystematic scale factor for the multiplicity correction (1. = no systematics)
Double_tfSystematicScalingSplinesAboveThresholdSystematic scale factor for the splines (1. = no systematics) above threshold
Double_tfSystematicScalingSplinesBelowThresholdSystematic scale factor for the splines (1. = no systematics) below threshold
Double_tfSystematicScalingSplinesThresholdbeta-gamma threshold for the systematic spline scale factor
Int_tfTOFmodeTOF mode used for TOF PID info (affects num sigma inclusion/exclusion)
Bool_tfTPCDefaultPriorsUse TPC default priors for PID combined probabilities, if priors are enabled
Bool_tfTakeIntoAccountMuonsAlso take into account muons for the generation of the expected response and the most probable PID
Bool_tfUseConvolutedGausUse convoluted gaus to generate detector response instead of pure gaus
Bool_tfUseITSUse ITS for PID combined probabilities
Bool_tfUseMCidForGenerationIf MC, use MCid instead of PIDcombined to generate the signals
Bool_tfUsePriorsUse priors for PID combined probabilities
Bool_tfUseTOFUse TOF for PID combined probabilities
static const Double_tfgkSigmaReferenceForTransitionParsReference sigma chosen to calculate transition parameters
TH1F*fh1EvtsPtHardCut! Number events before and after the cut on MC pT hard
TH1D*fh1Trials! sum of trials
TProfile*fh1Xsec! pythia cross section and trials
TH2D*fh2FFJetPtGen! Number of generated jets vs. jetPt and centrality
TH2D*fh2FFJetPtRec! Number of reconstructed jets vs. jetPt and centrality
TH1D*fhEventsProcessed! Histo holding the number of processed events (i.e. passing trigger selection, vtx and zvtx cuts and (if enabled) pile-up rejection)
TH1D*fhEventsProcessedNoPileUpRejection! Histo holding the number of processed events before pile-up rejection
TH1D*fhEventsTriggerSel! Histo holding the number of events passing trigger selection
TH1D*fhEventsTriggerSelVtxCut! Histo holding the number of events passing trigger selection and vtx cut
THnSparseD*fhGenEl! Generated response for el
THnSparseD*fhGenKa! Generated response for ka
THnSparseD*fhGenMu! Generated response for mu
THnSparseD*fhGenPi! Generated response for pi
THnSparseD*fhGenPr! Generated response for pr
THnSparseD*fhMCgeneratedYieldsPrimaries! Histo holding the generated (no reco, no cuts) primary particle yields in considered eta range
TH1D*fhMaxEtaVariation! Histo holding the maximum deviation of the eta correction factor from unity vs. 1/dEdx(splines)
THnSparseD*fhPIDdataAll! Data histo
const Int_tfkConvolutedGausNParNumber of parameters for convoluted gaus
const Double_tfkDeltaPrimeLowLimitLower deltaPrime limit
const Double_tfkDeltaPrimeUpLimitUpper deltaPrime limit

Class Charts

Inheritance Chart:
TTask
AliAnalysisTask
AliAnalysisTaskSE
AliAnalysisTaskPIDV0base
AliAnalysisTaskPID

Function documentation

AliAnalysisTaskPID()
  , fGenRespElDeltaEl(new Double_t[fgkMaxNumGenEntries])
  , fGenRespElDeltaKa(new Double_t[fgkMaxNumGenEntries])
  , fGenRespElDeltaPi(new Double_t[fgkMaxNumGenEntries])
  , fGenRespElDeltaPr(new Double_t[fgkMaxNumGenEntries])
  , fGenRespKaDeltaEl(new Double_t[fgkMaxNumGenEntries])
  , fGenRespKaDeltaKa(new Double_t[fgkMaxNumGenEntries])
  , fGenRespKaDeltaPi(new Double_t[fgkMaxNumGenEntries])
  , fGenRespKaDeltaPr(new Double_t[fgkMaxNumGenEntries])
  , fGenRespPiDeltaEl(new Double_t[fgkMaxNumGenEntries])
  , fGenRespPiDeltaKa(new Double_t[fgkMaxNumGenEntries])
  , fGenRespPiDeltaPi(new Double_t[fgkMaxNumGenEntries])
  , fGenRespPiDeltaPr(new Double_t[fgkMaxNumGenEntries])
  , fGenRespMuDeltaEl(new Double_t[fgkMaxNumGenEntries])
  , fGenRespMuDeltaKa(new Double_t[fgkMaxNumGenEntries])
  , fGenRespMuDeltaPi(new Double_t[fgkMaxNumGenEntries])
  , fGenRespMuDeltaPr(new Double_t[fgkMaxNumGenEntries])
  , fGenRespPrDeltaEl(new Double_t[fgkMaxNumGenEntries])
  , fGenRespPrDeltaKa(new Double_t[fgkMaxNumGenEntries])
  , fGenRespPrDeltaPi(new Double_t[fgkMaxNumGenEntries])
  , fGenRespPrDeltaPr(new Double_t[fgkMaxNumGenEntries])

 default Constructor
AliAnalysisTaskPID(const char* name)
  , fGenRespElDeltaEl(new Double_t[fgkMaxNumGenEntries])
  , fGenRespElDeltaKa(new Double_t[fgkMaxNumGenEntries])
  , fGenRespElDeltaPi(new Double_t[fgkMaxNumGenEntries])
  , fGenRespElDeltaPr(new Double_t[fgkMaxNumGenEntries])
  , fGenRespKaDeltaEl(new Double_t[fgkMaxNumGenEntries])
  , fGenRespKaDeltaKa(new Double_t[fgkMaxNumGenEntries])
  , fGenRespKaDeltaPi(new Double_t[fgkMaxNumGenEntries])
  , fGenRespKaDeltaPr(new Double_t[fgkMaxNumGenEntries])
  , fGenRespPiDeltaEl(new Double_t[fgkMaxNumGenEntries])
  , fGenRespPiDeltaKa(new Double_t[fgkMaxNumGenEntries])
  , fGenRespPiDeltaPi(new Double_t[fgkMaxNumGenEntries])
  , fGenRespPiDeltaPr(new Double_t[fgkMaxNumGenEntries])
  , fGenRespMuDeltaEl(new Double_t[fgkMaxNumGenEntries])
  , fGenRespMuDeltaKa(new Double_t[fgkMaxNumGenEntries])
  , fGenRespMuDeltaPi(new Double_t[fgkMaxNumGenEntries])
  , fGenRespMuDeltaPr(new Double_t[fgkMaxNumGenEntries])
  , fGenRespPrDeltaEl(new Double_t[fgkMaxNumGenEntries])
  , fGenRespPrDeltaKa(new Double_t[fgkMaxNumGenEntries])
  , fGenRespPrDeltaPi(new Double_t[fgkMaxNumGenEntries])
  , fGenRespPrDeltaPr(new Double_t[fgkMaxNumGenEntries])

 Constructor
~AliAnalysisTaskPID()
 dtor
void SetUpPIDcombined()
 Initialise the PIDcombined object
Bool_t CalculateMaxEtaVariationMapFromPIDResponse()
 Calculate the maximum deviation from unity of the eta correction factors for each row in 1/dEdx(splines)
 from the eta correction map of the TPCPIDResponse. The result is stored in fhMaxEtaVariation.
void UserCreateOutputObjects()
 Create histograms
 Called once
void UserExec(Option_t* option)
 Main loop
 Called for each event
void Terminate(Option_t* )
 Draw result to the screen
 Called once at the end of the query
void CheckDoAnyStematicStudiesOnTheExpectedSignal()
 Check whether at least one scale factor indicates the ussage of systematic studies
 and set internal flag accordingly.
void ConfigureTaskForCurrentEvent(AliVEvent* event)
 Configure the task for the current event. In particular, this is needed if the run number changes
Int_t PDGtoMCID(Int_t pdg)
 Returns the corresponding AliPID index to the given pdg code.
 Returns AliPID::kUnkown if pdg belongs to a not considered species.
void GetJetTrackObservables(Double_t trackPt, Double_t jetPt, Double_t& z, Double_t& xi)
 Uses trackPt and jetPt to obtain z and xi.
void CleanupParticleFractionHistos()
 Delete histos with particle fractions
Double_t ConvolutedGaus(const Double_t* xx, const Double_t* par) const
 Convolutes gauss with an exponential tail which describes dEdx-response better than pure gaussian
Double_t FastGaus(Double_t x, Double_t mean, Double_t sigma) const
 Calculate an unnormalised gaussian function with mean and sigma.
Double_t FastNormalisedGaus(Double_t x, Double_t mean, Double_t sigma) const
 Calculate a normalised (divided by sqrt(2*Pi)*sigma) gaussian function with mean and sigma.
Int_t FindBinWithinRange(TAxis* axis, Double_t value) const
 Find the corresponding bin of the axis. Values outside the range (also under and overflow) will be set to the first/last
 available bin
Int_t FindFirstBinAboveIn3dSubset(const TH3* hist, Double_t threshold, Int_t yValue, Int_t zValue) const
 Kind of projects a TH3 to 1 bin combination in y and z
 and looks for the first x bin above a threshold for this projection.
 If no such bin is found, -1 is returned.
Int_t FindLastBinAboveIn3dSubset(const TH3* hist, Double_t threshold, Int_t yValue, Int_t zValue) const
 Kind of projects a TH3 to 1 bin combination in y and z
 and looks for the last x bin above a threshold for this projection.
 If no such bin is found, -1 is returned.
Bool_t GetParticleFraction(Double_t trackPt, Double_t jetPt, Double_t multiplicity, AliPID::EParticleType species, Double_t& fraction, Double_t& fractionErrorStat, Double_t& fractionErrorSys) const
 Computes the particle fraction for the corresponding species for the given trackPt, jetPt and centrality.
 Use jetPt = -1 for inclusive spectra and centralityPercentile = -1 for pp.
 On success (return value kTRUE), fraction contains the particle fraction, fractionErrorStat(Sys) the sigma of its
 statistical (systematic) error
Bool_t GetParticleFractions(Double_t trackPt, Double_t jetPt, Double_t centralityPercentile, Double_t* prob, Int_t smearSpeciesByError, Int_t takeIntoAccountSpeciesSysError, Bool_t uniformSystematicError = kFALSE) const
 Fills the particle fractions for the given trackPt, jetPt and centrality into "prob".
 Use jetPt = -1 for inclusive spectra and centralityPercentile = -1 for pp.
 If smearSpeciesByError is >= 0 && < AliPID::kSPECIES, the returned fractions will be a random number distributed
 with a gauss with mean being the corresponding particle fraction and sigma it's error for the considered species
 "smearSpeciesByError".
 Note that in this case the fractions for all species will NOT sum up to 1!
 Thus, all other species fractions will be re-scaled weighted with their corresponding statistical error.
 A similar procedure is used for "takeIntoAccountSpeciesSysError":  The systematic error of the corresponding species
 is used to generate a random number with uniform distribution in [mean - sysError, mean + sysError] for the new mean
 (in cace of uniformSystematicError = kTRUE, otherwise it will be a gaus(mean, sysError)),
 then the other species will be re-scaled according to their systematic errors.
 First, the systematic error uncertainty procedure will be performed (that is including re-scaling), then the statistical
 uncertainty procedure.
 On success, kTRUE is returned.
const TH3D* GetParticleFractionHisto(Int_t species, Bool_t sysError = kFALSE) const
Double_t GetMCStrangenessFactorCMS(Int_t motherPDG, Double_t motherGenPt)
 Strangeness ratio MC/data as function of mother pt from CMS data in |eta|<2.0
 -> Based on function in PWGJE/AliAnalysisTaskFragmentationFunction, which uses
 the following data from CMS pp @ 7 TeV inclusive (JHEP 05 (2011) 064)
Double_t GetMCStrangenessFactorCMS(AliMCEvent* mcEvent, AliMCParticle* daughter)
 Strangeness ratio MC/data as function of mother pt from CMS data in |eta|<2.0
 -> Based on function in PWGJE/AliAnalysisTaskFragmentationFunction
Bool_t IsSecondaryWithStrangeMotherMC(AliMCEvent* mcEvent, Int_t partLabel)
 Check whether particle is a secondary with strange mother, i.e. returns kTRUE if a strange mother is found
 and the particle is NOT a physical primary. In all other cases kFALSE is returned
Bool_t SetParticleFractionHisto(const TH3D* hist, Int_t species, Bool_t sysError = kFALSE)
 Store a clone of hist (containing the particle fractions of the corresponding species with statistical error (sysError = kFALSE)
 or systematic error (sysError = kTRUE), respectively), internally
Bool_t SetParticleFractionHistosFromFile(const TString filePathName, Bool_t sysError = kFALSE)
 Loads particle fractions for all species from the desired file and returns kTRUE on success.
 The maps are assumed to be of Type TH3D, to sit in the main directory and to have names
 Form("hFraction_%e", AliPID::ParticleName(i)) for sysError = kFALSE and
 Form("hFractionSysError_%e", AliPID::ParticleName(i)) for sysError = kTRUE.
Double_t GetMaxEtaVariation(Double_t dEdxSplines)
 Returns the maximum eta variation (i.e. deviation of eta correction factor from unity) for the
 given (spline) dEdx
Int_t GetRandomParticleTypeAccordingToParticleFractions(Double_t trackPt, Double_t jetPt, Double_t centralityPercentile, Bool_t smearByError, Bool_t takeIntoAccountSysError = kFALSE) const
 Uses the stored histograms with the particle fractions to generate a random particle type according to these fractions.
 In case of problems (e.g. histo missing), AliPID::kUnknown is returned.
 If smearByError is kTRUE, the used fractions will be random numbers distributed with a gauss with mean
 being the corresponding particle fraction and sigma it's error.
 Note that in this case only the fraction of a random species is varied in this way. The other fractions
 will be re-normalised according their statistical errors.
 The same holds for the systematic error of species "takeIntoAccountSpeciesSysError", but the random number will be
 uniformly distributed within [mean - sys, mean + sys] and the re-normalisation will be weighted with the systematic errors.
 Note that the fractions will be calculated first with only the systematic error taken into account (if desired), including
 re-normalisation. Then, the resulting fractions will be used to calculate the final fractions - either with statistical error
 or without. The species, for which the error will be used for smearing, is the same for sys and stat error.
void PrintSettings(Bool_t printSystematicsSettings = kFALSE) const
 Print current settings.
void PrintSystematicsSettings() const
 Print current settings for systematic studies.
Bool_t ProcessTrack(const AliVTrack* track, Int_t particlePDGcode, Double_t centralityPercentile, Double_t jetPt)
 Process the track (generate expected response, fill histos, etc.).
 particlePDGcode == 0 means data. Otherwise, the corresponding MC ID will be assumed.
Bool_t SetConvolutedGaussLambdaParameter(Double_t lambda)
 Set the lambda parameter of the convolution to the desired value. Automatically
 calculates the parameters for the transition (restricted) gauss -> convoluted gauss.
void SetUpGenHist(THnSparse* hist, Double_t* binsPt, Double_t* binsDeltaPrime, Double_t* binsCent, Double_t* binsJetPt) const
 Sets bin limits for axes which are not standard binned and the axes titles.
void SetUpGenYieldHist(THnSparse* hist, Double_t* binsPt, Double_t* binsCent, Double_t* binsJetPt) const
 Sets bin limits for axes which are not standard binned and the axes titles.
void SetUpHist(THnSparse* hist, Double_t* binsPt, Double_t* binsDeltaPrime, Double_t* binsCent, Double_t* binsJetPt) const
 Sets bin limits for axes which are not standard binned and the axes titles.
void SetUpPtResHist(THnSparse* hist, Double_t* binsPt, Double_t* binsJetPt, Double_t* binsCent) const
 Sets bin limits for axes which are not standard binned and the axes titles.
void SetUpSharedClsHist(THnSparse* hist, Double_t* binsPt, Double_t* binsJetPt) const
 Sets bin limits for axes which are not standard binned and the axes titles.
void SetUpDeDxCheckHist(THnSparse* hist, const Double_t* binsPt, const Double_t* binsJetPt, const Double_t* binsEtaAbs) const
 Sets bin limits for axes which are not standard binned and the axes titles.
void SetUpBinZeroStudyHist(THnSparse* hist, const Double_t* binsCent, const Double_t* binsPt) const
 Sets bin limits for axes which are not standard binned and the axes titles.
Bool_t FillEfficiencyContainer(const Double_t* values, AliAnalysisTaskPID::EffSteps step, Double_t weight = 1.0)
Bool_t FillGeneratedYield(const Double_t* values, Double_t weight = 1.0)
Bool_t FillGenJets(Double_t centralityPercentile, Double_t jetPt, Double_t norm = -1.)
Bool_t FillRecJets(Double_t centralityPercentile, Double_t jetPt, Double_t norm = -1.)
Bool_t FillPtResolution(Int_t mcID, const Double_t* values)
Bool_t IncrementEventCounter(Double_t centralityPercentile, AliAnalysisTaskPID::EventCounterType type)
Bool_t FillCutHisto(Double_t value, AliAnalysisTaskPID::CutHistoType type)
Bool_t SetEtaAbsCutRange(Double_t lowerLimit, Double_t upperLimit)
Double_t GetConvolutedGaussTransitionPar(Int_t index) const
Int_t GetParticleFractionHistoNbinsTrackPt() const
Int_t GetParticleFractionHistoNbinsJetPt() const
Int_t GetParticleFractionHistoNbinsCentrality() const
Double_t GetCentralityPercentile(AliVEvent* evt) const
void PostOutputData()
AliAnalysisTaskPID()
Int_t GetIndexOfChargeAxisData() const
Int_t GetIndexOfChargeAxisGen() const
Int_t GetIndexOfChargeAxisGenYield() const
Int_t GetIndexOfTOFpidInfoAxisData() const
Int_t GetIndexOfTOFpidInfoAxisGen() const
Bool_t FillXsec(Double_t xsection)
{ if (!fh1Xsec) return kFALSE; fh1Xsec->Fill("<#sigma>", xsection); return kTRUE; }
Bool_t FillPythiaTrials(Double_t avgTrials)
ErrorCode GenerateDetectorResponse(AliAnalysisTaskPID::ErrorCode errCode, Double_t mean, Double_t sigma, Double_t* responses, Int_t nResponses, Bool_t usePureGaus = kFALSE)
const TString GetCentralityEstimator() const
const TString GetPPCentralityEstimator() const
void SetCentralityEstimator(TString estimator)
{ fCentralityEstimator = estimator; }
Bool_t GetInputFromOtherTask() const
void SetInputFromOtherTask(Bool_t flag)
Bool_t GetDoPID() const
{ return fDoPID; }
void SetDoPID(Bool_t flag)
{ fDoPID = flag; }
Bool_t GetDoEfficiency() const
{ return fDoEfficiency; }
void SetDoEfficiency(Bool_t flag)
{ fDoEfficiency = flag; }
Bool_t GetDoPtResolution() const
{ return fDoPtResolution; }
void SetDoPtResolution(Bool_t flag)
{ fDoPtResolution = flag; }
Bool_t GetDoDeDxCheck() const
{ return fDoDeDxCheck; }
void SetDoDeDxCheck(Bool_t flag)
{ fDoDeDxCheck = flag; }
Bool_t GetDoBinZeroStudy() const
{ return fDoBinZeroStudy; }
void SetDoBinZeroStudy(Bool_t flag)
{ fDoBinZeroStudy = flag; }
Bool_t GetStoreCentralityPercentile() const
void SetStoreCentralityPercentile(Bool_t flag)
Bool_t GetStoreAdditionalJetInformation() const
void SetStoreAdditionalJetInformation(Bool_t flag)
Bool_t GetUseMCidForGeneration() const
void SetUseMCidForGeneration(Bool_t flag)
Bool_t GetUseConvolutedGaus() const
{ return fUseConvolutedGaus; }
void SetUseConvolutedGaus(Bool_t flag)
{ fUseConvolutedGaus = flag; }
Double_t GetAccuracyNonGaussianTail() const
void SetAccuracyNonGaussianTail(Double_t value)
Bool_t GetTakeIntoAccountMuons() const
void SetTakeIntoAccountMuons(Bool_t flag)
Int_t GetTOFmode() const
{ return fTOFmode; }
void SetTOFmode(Int_t tofMode)
{ fTOFmode = tofMode; }
Bool_t GetUseTPCDefaultPriors() const
{ return fTPCDefaultPriors; }
void SetUseTPCDefaultPriors(Bool_t flag)
{ fTPCDefaultPriors = flag; }
Bool_t GetUsePriors() const
{ return fUsePriors; }
void SetUsePriors(Bool_t flag)
{ fUsePriors = flag; }
Bool_t GetUseITS() const
{ return fUseITS; }
void SetUseITS(Bool_t flag)
{ fUseITS = flag; }
Bool_t GetUseTOF() const
{ return fUseTOF; }
void SetUseTOF(Bool_t flag)
{ fUseTOF = flag; }
Double_t GetEtaAbsCutLow() const
{ return fEtaAbsCutLow; }
Double_t GetEtaAbsCutUp() const
{ return fEtaAbsCutUp; }
Bool_t IsInAcceptedEtaRange(Double_t etaAbs) const
{ return (etaAbs >= fEtaAbsCutLow && etaAbs <= fEtaAbsCutUp); }
AliAnalysisTaskPIDV0base::PileUpRejectionType GetPileUpRejectionType() const
void SetPileUpRejectionType(AliAnalysisTaskPIDV0base::PileUpRejectionType newType)
{ fPileUpRejectionType = newType; }
Double_t GetSystematicScalingSplinesThreshold() const
void SetSystematicScalingSplinesThreshold(Double_t threshold)
Double_t GetSystematicScalingSplinesBelowThreshold() const
void SetSystematicScalingSplinesBelowThreshold(Double_t scaleFactor)
Double_t GetSystematicScalingSplinesAboveThreshold() const
void SetSystematicScalingSplinesAboveThreshold(Double_t scaleFactor)
Double_t GetSystematicScalingEtaCorrectionMomentumThr() const
void SetSystematicScalingEtaCorrectionMomentumThr(Double_t threshold)
Double_t GetSystematicScalingEtaCorrectionLowMomenta() const
void SetSystematicScalingEtaCorrectionLowMomenta(Double_t scaleFactor)
Double_t GetSystematicScalingEtaCorrectionHighMomenta() const
void SetSystematicScalingEtaCorrectionHighMomenta(Double_t scaleFactor)
Double_t GetSystematicScalingEtaSigmaParaThreshold() const
void SetSystematicScalingEtaSigmaParaThreshold(Double_t threshold)
Double_t GetSystematicScalingEtaSigmaParaBelowThreshold() const
void SetSystematicScalingEtaSigmaParaBelowThreshold(Double_t scaleFactor)
Double_t GetSystematicScalingEtaSigmaParaAboveThreshold() const
void SetSystematicScalingEtaSigmaParaAboveThreshold(Double_t scaleFactor)
Double_t GetSystematicScalingMultCorrection() const
void SetSystematicScalingMultCorrection(Double_t scaleFactor)
TOFpidInfo GetTOFType(const AliVTrack* track, Int_t tofMode) const
AliAnalysisTaskPID& operator=(const AliAnalysisTaskPID& )