1 #ifndef ALIANALYSISTASKCHARGEDPARTICLESREFMC_H 2 #define ALIANALYSISTASKCHARGEDPARTICLESREFMC_H 17 class AliAnalysisUtils;
19 class AliEMCALGeometry;
22 class AliGenPythiaEventHeader;
28 class AliEMCalTriggerWeightHandler;
305 TString GetFiredTriggerClasses(
const TClonesArray * triggerpatches);
315 Bool_t IsPhysicalPrimary(
const AliVParticle *
const part, AliMCEvent *
const mcevent);
338 virtual ~PtBinning() {}
349 std::vector<TString> fEventTriggers;
362 Bool_t fRequireTOFBunchCrossing;
void SetMinPtTracks(Double_t minpt)
Set minimum used to select track candidate.
Interface for virtual track selection.
virtual Bool_t Run()
Run function. This is the core function of the analysis and contains the user code. Therefore users have to implement this function.
void SetAnalysisUtil(AliAnalysisUtils *util)
void SetOfflineTriggerSelection(AliEmcalTriggerOfflineSelection *sel)
Set offline trigger selection.
AliAnalysisTaskChargedParticlesRefMC()
Dummy constructor.
void SetTriggerAcceptanceOADB(const TString &name)
Base task in the EMCAL framework.
AliEmcalTriggerOfflineSelection * GetOfflineTriggerSelection() const
Get the trigger offline selection.
AliAnalysisTaskEmcal & operator=(const AliAnalysisTaskEmcal &)
void SetBeamDirection(BeamDirection_t beamdir)
Helper class selecting events on the presence of a trigger patch for the given type above threshold...
void SetRapidityShift(Double_t yshift)
Set rapidity shift originating from the asymmetric collision system.
TString part
use mixed event to constrain combinatorial background
void SetStudyEMCALgeo(Bool_t doStudy)
Add histograms for tracks pointing to EMCAL supermodules.
static AliAnalysisTaskChargedParticlesRefMC * AddTaskChargedParticlesRefMCDefault(const TString &cutname="standard")
BeamDirection_t
Direction of the beams.
AliAnalysisUtils * fAliAnalysisUtils
!vertex selection (optional)
Helper class creating user defined custom binning.
virtual ~AliAnalysisTaskChargedParticlesRefMC()
Destuctor.
void EnableSumw2(Bool_t doEnable)
Enable Sumw2 when creating the histograms.
Test class for charged particle distributions (MC case)
virtual Bool_t IsEventSelected()
Performing event selection.
void SetPlotPID(Bool_t plotPID)
Enable PID-related plots.
Analysis of high- tracks in triggered events.
Container class for histograms.
virtual void ExecOnce()
Perform steps needed to initialize the analysis.
void SetEtaLabCut(double etamin, double etamax)
void SetEMCALTrackSelection(AliEmcalTrackSelection *sel)
Set the virtual track selection.
virtual void UserCreateOutputObjects()
Create the output histograms.
void SetTrackPhiCut(double phimin, double phimax)
static AliAnalysisTaskChargedParticlesRefMC * AddTaskChargedParticlesRefMC(const TString &suffix)
void InitializeTrackCuts(TString cutname, bool isAOD)
void SetRequireTOFBunchCrossing(Bool_t doRequire)
Require bunch crossing information of track obtained from TOF (if available) matches the bunch crossi...
void SetWeightHandler(const AliEMCalTriggerWeightHandler *wh)
void SetEtaCMSCut(double etamin, double etamax)