1 #ifndef ALIANALYSISTASKCHARGEDPARTICLESREFMC_H
2 #define ALIANALYSISTASKCHARGEDPARTICLESREFMC_H
6 #include "AliAnalysisTaskSE.h"
14 class AliAnalysisUtils;
16 class AliEMCALGeometry;
19 class AliGenPythiaEventHeader;
23 namespace EMCalTriggerPtAnalysis {
25 class AliEMCalTriggerWeightHandler;
66 void FillTrackHistos(
const char *eventclass, Double_t weight, Double_t pt, Double_t eta, Double_t etacent, Double_t phi, Bool_t etacut, Bool_t inEmcal, Bool_t hasTRD,
const char *pid);
70 Bool_t
PythiaInfoFromFile(
const char* currFile, Float_t &fXsec, Float_t &fTrials, Int_t &pthard)
const;
72 Bool_t
IsPhysicalPrimary(
const AliVParticle *
const part, AliMCEvent *
const mcevent);
73 Bool_t
IsOutlier(AliGenPythiaEventHeader *
const header)
const;
void SetUsePythiaHard(Bool_t usePythiaHard)
Interface for virtual track selection.
const AliEMCalTriggerWeightHandler * fWeightHandler
Weight handler (optional)
void SetAnalysisUtil(AliAnalysisUtils *util)
void SetOfflineTriggerSelection(AliEmcalTriggerOfflineSelection *sel)
AliAnalysisTaskChargedParticlesRefMC()
Int_t fNTrials
event trials
Double_t fEtaLabCut[2]
Cut applied in Eta Lab frame.
void FillTriggerJetHistograms(Bool_t aftercut, AliGenPythiaEventHeader *const header)
Int_t fPtHardBin
event pt hard bin
Double_t fEtaCmsCut[2]
Cut applied in Eta centre-of-mass frame.
void SetBeamDirection(BeamDirection_t beamdir)
void SetRapidityShift(Double_t yshift)
AliGenPythiaEventHeader * GetPythiaHeader() const
Double_t fYshift
Rapidity shift.
Double_t fFracPtHard
Cut on the maximum fraction of pt hard of any trigger jet.
AliAnalysisTaskChargedParticlesRefMC & operator=(const AliAnalysisTaskChargedParticlesRefMC &)
void Terminate(Option_t *)
AliEmcalTriggerOfflineSelection * fTriggerSelection
Offline trigger selection.
Bool_t IsOutlier(AliGenPythiaEventHeader *const header) const
Bool_t fUsePythiaHard
flag whether using PYTHIA Hard
THistManager * fHistos
Histogram manager.
Bool_t IsPhysicalPrimary(const AliVParticle *const part, AliMCEvent *const mcevent)
Helper class creating user defined custom binning.
Bool_t PythiaInfoFromFile(const char *currFile, Float_t &fXsec, Float_t &fTrials, Int_t &pthard) const
virtual ~AliAnalysisTaskChargedParticlesRefMC()
Unit test class for charged particle distributions (MC case)
AliEMCALGeometry * fGeometry
EMCAL geometry methods.
Double_t fPtHard
event pt hard
void FillTrackHistos(const char *eventclass, Double_t weight, Double_t pt, Double_t eta, Double_t etacent, Double_t phi, Bool_t etacut, Bool_t inEmcal, Bool_t hasTRD, const char *pid)
AliEmcalTrackSelection * fTrackCuts
Standard track selection.
TString GetFiredTriggerClasses(const TClonesArray *triggerpatches)
Double_t fEtaSign
Sign of the eta distribution (swaps when beam directions swap): p-Pb: +1, Pb-p: -1.
void SetOutlierCut(double fracpthard=1.2)
Container class for histograms for the high- charged particle analysis.
void SetEtaLabCut(double etamin, double etamax)
AliAnalysisUtils * fAnalysisUtil
Event selection.
void UserExec(Option_t *)
void UserCreateOutputObjects()
Float_t fXsection
x-section from pythia header
void InitializeTrackCuts(TString cutname, bool isAOD)
void SetTrackSelection(AliEmcalTrackSelection *sel)
void SetWeightHandler(const AliEMCalTriggerWeightHandler *wh)
void SetEtaCMSCut(double etamin, double etamax)