1 #ifndef ALIANALYSISTASKEMCALCLUSTERSREF_H
2 #define ALIANALYSISTASKEMCALCLUSTERSREF_H
6 #include "AliAnalysisTaskSE.h"
11 class AliAnalysisUtils;
12 class AliEMCALGeometry;
13 class AliOADBContainer;
22 namespace EMCalTriggerPtAnalysis {
24 class AliEmcalTriggerOfflineSelection;
58 void FillClusterHistograms(
const TString &triggerclass,
double energy,
double transversenergy,
double eta,
double phi, TList *triggerpatches);
61 void FindPatchesForTrigger(TString triggerclass,
const TClonesArray * triggerpatches, TList &foundpatches)
const;
62 Bool_t
CorrelateToTrigger(Double_t etaclust, Double_t phiclust, TList *triggerpatches)
const;
void GetPatchBoundaries(TObject *o, Double_t *boundaries) const
bool SelectSingleShowerPatch(TObject *o) const
Bool_t CorrelateToTrigger(Double_t etaclust, Double_t phiclust, TList *triggerpatches) const
TClonesArray * fTriggerPatches
! Container with trigger patches
AliEMCALGeometry * fGeometry
! EMCAL geometry
AliAnalysisTaskEmcalClustersRef & operator=(const AliAnalysisTaskEmcalClustersRef &)
bool SelectJetPatch(TObject *o) const
Bool_t fRequestCentrality
Swich on request for centrality range.
void FillEventHistograms(const TString &triggerclass, double centrality, double vertexz)
AliAnalysisUtils * fAnalysisUtil
Analysis utils for additional event selection / pileup rejection.
void SetRequestAnalysisUtil(Bool_t doRequest)
void FillClusterHistograms(const TString &triggerclass, double energy, double transversenergy, double eta, double phi, TList *triggerpatches)
AliEmcalTriggerOfflineSelection * fTriggerSelection
EMCAL offline trigger selection tool.
void SetLimits(t min, t max)
void SetOfflineTriggerSelection(AliEmcalTriggerOfflineSelection *sel)
void SetCentralityRange(double min, double max)
Double_t GetTriggerWeight(const TString &triggerclass) const
THistManager * fHistos
! Histogram handler
AliAnalysisTaskEmcalClustersRef()
Bool_t fInitialized
Check for initialized.
TString fClusterContainer
Name of the cluster container in the event.
void Terminate(Option_t *)
Bool_t fTriggerStringFromPatches
Build trigger string from trigger patches.
Helper class creating user defined custom binning.
double GetPatchEnergy(TObject *o) const
TObjArray * fDownscaleFactors
! Downscalfactors for given run
AliOADBContainer * fDownscaleOADB
! Container with downscale factors for different triggers
virtual void RunChanged(Int_t runnumber)
Int_t fCurrentRun
Current run number (for RunChange method)
void UserCreateOutputObjects()
AliCutValueRange< double > fCentralityRange
Selected centrality range.
void UserExec(Option_t *)
void SetClusterContainer(TString clustercontname)
TString GetFiredTriggerClassesFromPatches(const TClonesArray *triggerpatches) const
AliCutValueRange< double > fVertexRange
Selected vertex range.
Container class for histograms for the high- charged particle analysis.
void SetDownscaleOADB(TString oadbname)
bool SelectDCALPatch(TObject *o) const
Bool_t fRequestAnalysisUtil
Switch on request for event selection using analysis utils.
virtual ~AliAnalysisTaskEmcalClustersRef()
TString fNameDownscaleOADB
Name of the downscale OADB container.
bool IsOfflineSimplePatch(TObject *o) const
void SetVertexRange(double min, double max)
void FindPatchesForTrigger(TString triggerclass, const TClonesArray *triggerpatches, TList &foundpatches) const
void SetCreateTriggerStringFromPatches(Bool_t doUsePatches)