27 #ifndef ALIANALYSISTASKEMCALCLUSTERSREF_H 28 #define ALIANALYSISTASKEMCALCLUSTERSREF_H AliCutValueRange< double > fClusterTimeRange
Selected range on cluster time.
void SetEnergyDefinition(EnergyDefinition_t edef)
Define type of energy used in the monitoring histograms.
void GetPatchBoundaries(TObject *o, Double_t *boundaries) const
Get the boundaries of the trigger patch.
Double_t fEventCentrality
! Current event centrality
void EnableSumw2(Bool_t doEnable)
Bool_t CorrelateToTrigger(Double_t etaclust, Double_t phiclust, TList *triggerpatches) const
Check whether cluster is inside a trigger patch which has fired the trigger.
int CountEmcalClusters(double ecut)
AliAnalysisTaskEmcalClustersRef & operator=(const AliAnalysisTaskEmcalClustersRef &)
void SetFillMultiplicityHistograms(Bool_t doFill)
Switch for filling multiplicity correlation histograms.
virtual bool IsUserEventSelected()
User event selection: Select event in maching centrality range (if requested)
Energy corrected for the hadronic contribution.
Simple monitoring task for cluster-related quantities in EMCAL-triggered events.
Char_t fBunchCrossingIndex
Bunch Crossing index.
Bool_t fRequestCentrality
Switch on request for centrality range.
virtual void CreateUserObjects()
Task has no user-defined objects.
void SetBunchCrossingIndex(Int_t bunchCrossingIndex)
Select events only from certain bunch crossings.
void SetClusterTimeRange(double mintime, double maxtime)
Define cut on the time of the leading cell in the cluster.
void SetLimits(t min, t max)
Bool_t fDoFillMultiplicityHistograms
Swich for multiplcity histograms.
void SetCentralityRange(double min, double max)
Define centrality range used to select.
Base class for analyses using EMCAL triggers.
AliAnalysisTaskEmcalClustersRef()
Dummy (I/O) constructor.
virtual void UserFillHistosAfterEventSelection()
Bool_t fEnableSumw2
Enable sumw2 when creating histograms.
void SetUserCentralityEstimator(TString centest)
Helper class creating user defined custom binning.
static AliAnalysisTaskEmcalClustersRef * AddTaskEmcalClustersRef(const TString &nClusters="usedefault", const TString &suffix="")
Preconfigure task so that it can be used in subwagons.
EnergyDefinition_t
Type of the energy used in the monitoring histograms.
int CountTracklets(double etamin, double etamax, double phimin, double phimax)
int GetEMCALCellOccupancy(double ecut)
TString fCentralityEstimator
Centrality estimator (default: V0M for PbPb)
static AliAnalysisTaskEmcalClustersRef * AddTaskEmcalClustersRefDefault(const TString &nClusters="usedefault")
Preconfigure task and add it to the analysis manager.
Analysis of high- tracks in triggered events.
AliCutValueRange< double > fCentralityRange
Selected centrality range.
Uncorrected energy measurement.
EnergyDefinition_t fEnergyDefinition
Energy definition used for a given cluster.
Energy corrected for non-linearity.
virtual void CreateUserHistos()
Creating histograms for the distributions monitored by the task.
virtual ~AliAnalysisTaskEmcalClustersRef()
Destructor.
void FillClusterHistograms(const TString &triggerclass, double energy, double transversenergy, double eta, double phi, double clustertime, int ncell, TList *triggerpatches)
void FindPatchesForTrigger(TString triggerclass, const TClonesArray *triggerpatches, TList &foundpatches) const