1 #ifndef ALIANALYSISTASKEMCALCLUSTERSREF_H
2 #define ALIANALYSISTASKEMCALCLUSTERSREF_H
13 namespace EMCalTriggerPtAnalysis {
AliCutValueRange< double > fClusterTimeRange
Selected range on cluster time.
void SetEnergyDefinition(EnergyDefinition_t edef)
void GetPatchBoundaries(TObject *o, Double_t *boundaries) const
Double_t fEventCentrality
! Current event centrality
void EnableSumw2(Bool_t doEnable)
Bool_t CorrelateToTrigger(Double_t etaclust, Double_t phiclust, TList *triggerpatches) const
int CountEmcalClusters(double ecut)
AliAnalysisTaskEmcalClustersRef & operator=(const AliAnalysisTaskEmcalClustersRef &)
virtual bool IsUserEventSelected()
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()
void SetBunchCrossingIndex(Int_t bunchCrossingIndex)
void SetClusterTimeRange(double mintime, double maxtime)
void SetLimits(t min, t max)
void SetCentralityRange(double min, double max)
Base class for analyses using EMCAL triggers.
AliAnalysisTaskEmcalClustersRef()
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="")
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")
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()
virtual ~AliAnalysisTaskEmcalClustersRef()
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