1 #ifndef ALIANALYSISTASKEMCALPATCHESREF_H
2 #define ALIANALYSISTASKEMCALPATCHESREF_H
6 #include "AliAnalysisTaskSE.h"
11 class AliAnalysisUtils;
12 class AliOADBContainer;
16 namespace EMCalTriggerPtAnalysis {
18 class AliEmcalTriggerOfflineSelection;
50 void FillPatchHistograms(TString triggerclass, TString patchname,
double energy,
double transverseenergy,
double eta,
double phi,
int col,
int row);
void Terminate(Option_t *)
void FillPatchHistograms(TString triggerclass, TString patchname, double energy, double transverseenergy, double eta, double phi, int col, int row)
virtual void RunChanged(Int_t runnumber)
void SetRequestAnalysisUtil(bool doUse)
Bool_t fTriggerStringFromPatches
Switch on building a trigger string based on available trigger patches.
AliAnalysisTaskEmcalPatchesRef()
double GetPatchEnergy(TObject *o) const
AliCutValueRange< double > fVertexRange
Range of the z-position in order to accept a primary vertex.
void SetLimits(t min, t max)
void SetVertexRange(double min, double max)
Double_t GetTriggerWeight(const TString &triggerclass) const
void SetOfflineTriggerSelection(AliEmcalTriggerOfflineSelection *sel)
Bool_t fRequestCentrality
Switch for request of centrality selection.
AliEmcalTriggerOfflineSelection * fTriggerSelection
Offline trigger selection tool.
THistManager * fHistos
! Histogram handler
void FillEventHistograms(const TString &triggerclass, double centrality, double vertexz)
Bool_t fRequestAnalysisUtil
Switch on request for analysis util.
void GetPatchBoundaries(TObject *o, Double_t *boundaries) const
AliAnalysisTaskEmcalPatchesRef & operator=(const AliAnalysisTaskEmcalPatchesRef &)
Helper class creating user defined custom binning.
TObjArray * fDownscaleFactors
! Downscalefactors for given run
Int_t fCurrentRun
Current run number (for RunChange method)
void UserCreateOutputObjects()
TString fNameDownscaleOADB
Name of the downscale OADB container.
void SetDownscaleOADB(TString oadbname)
bool IsOfflineSimplePatch(TObject *o) const
virtual ~AliAnalysisTaskEmcalPatchesRef()
void UserExec(Option_t *)
Bool_t fInitialized
Check for initialized.
AliAnalysisUtils * fAnalysisUtil
Analysis utils for event selection.
void SetCreateTriggerStringFromPatches(Bool_t doUsePatches)
AliOADBContainer * fDownscaleOADB
! Container with downscale factors for different triggers
AliCutValueRange< double > fCentralityRange
Range of accepted event centralities.
Container class for histograms for the high- charged particle analysis.
bool SelectDCALPatch(TObject *o) const
TString GetFiredTriggerClassesFromPatches(const TClonesArray *triggerpatches) const
bool SelectJetPatch(TObject *o) const
bool SelectSingleShowerPatch(TObject *o) const
TClonesArray * fTriggerPatches
! Container with trigger patches
void SetCentralityRange(double min, double max)