1 #ifndef ALIANALYSISTASKCHARGEDPARTICLESREF_H 2 #define ALIANALYSISTASKCHARGEDPARTICLESREF_H Interface for virtual track selection.
BeamDirection_t
Direction of the beams in an asymmetric collision system.
virtual bool Run()
Simple task testing particle spectra in triggered events.
void SetRequireTOFBunchCrossing(Bool_t doRequire)
Require bunch crossing information of track obtained from TOF (if available) matches the bunch crossi...
Double_t fEtaSign
Sign of the eta distribution (swaps when beam directions swap): p-Pb: +1, Pb-p: -1.
AliEmcalTrackSelection * fTrackCuts
Standard track selection.
virtual ~AliAnalysisTaskChargedParticlesRef()
Destuctor.
Test class for charged particle distributions.
static AliAnalysisTaskChargedParticlesRef * AddTaskChargedParticlesRef(const TString &suffix)
Pre-configure task so that it can be used in subwagons.
void SetTrackPhiCut(double phimin, double phimax)
Define cut on used to select tracks.
Int_t GetTOFBunchCrossing(const AliVTrack *trk, Double_t b=0, Double_t spacing=25, Bool_t pidTPConly=kTRUE) const
void EnableSumw2(Bool_t doEnable)
Enable Sumw2 when creating the histograms.
void SetEtaLabCut(double etamin, double etamax)
Define cut on used to select tracks.
Bool_t fStudyPID
Use kinematics correlation histograms.
Double_t fMinPt
Minimum -used to select tracks.
virtual void UserFillHistosBeforeEventSelection()
Implementation of framework function UserFillHistosBeforeEventSelection.
void SetPlotPID(Bool_t plotPID)
Enable PID-related plots (THnSparses, might be big)
void SetLimits(t min, t max)
bool IsExoticsTrigger(const TString &trg)
Check if the trigger is fired by an exotic cluster.
AliCutValueRange< double > fEtaCmsCut
Cut applied in frame.
Bool_t fStudyEMCALgeo
Add histograms for tracks pointing to the EMCAL acceptance.
void SetRapidityShift(Double_t yshift)
Define rapidity shift applied to convert to .
Base class for analyses using EMCAL triggers.
Double_t fYshift
Rapidity shift.
static AliAnalysisTaskChargedParticlesRef * AddTaskChargedParticlesRefDefault(const TString &cutname="standard")
Fully configure task, not intended for subwagons. Using a default cut configuration.
Bool_t fStudyExoticTriggers
Switch on whether to study exotic triggers or not.
virtual void CreateUserHistos()
Create the output histograms.
AliAnalysisTaskChargedParticlesRef()
Dummy constructor.
void SetStudyEMCALgeo(Bool_t doStudy)
Add histograms for tracks pointing to EMCAL supermodules.
Definition of the -binning used in the histograms.
void SetEMCALTrackSelection(AliEmcalTrackSelection *sel)
Set the virtual track selection.
Helper class creating user defined custom binning.
void SetMinPtTracks(Double_t minpt)
Set minimum used to select track candidate.
void SetStudyExoticTriggers(Bool_t doStudy)
Switch on-/off- study of exotic triggers (default: off)
virtual void CreateUserObjects()
Creating user objects.
AliCutValueRange< double > fPhiCut
Cut applied in .
AliCutValueRange< double > fEtaLabCut
Cut applied in frame.
void SetBeamDirection(BeamDirection_t beamdir)
Specify directions of the incoming beams (p-Pb or Pb-p)
Analysis of high- tracks in triggered events.
void SetEtaCMSCut(double etamin, double etamax)
Define cut on used to select tracks.
void FillPIDHistos(const TString &eventclass, const AliVTrack &track)
Fill PID-related histograms.
void FillTrackHistos(const TString &eventclass, const TString &histtag, Bool_t posCharge, Double_t pt, Double_t eta, Double_t etacent, Double_t phi, Bool_t inEmcal)
Fill track (kinematic) histograms.
Container class for histograms.
void InitializeTrackCuts(TString cutname, bool isAOD)
Set the track selection.
Bool_t fRequireTOFBunchCrossing
Require that the bunch crossing ID determined by TOF matches the bunch crossing ID of the event...
AliAnalysisTaskChargedParticlesRef & operator=(const AliAnalysisTaskChargedParticlesRef &)
virtual void UserFillHistosAfterEventSelection()
Implementation of framework function UserFillHistosAfterEventSelection.
Bool_t fEnableSumw2
Enable sumw2 during histogram creation.