AliPhysics  7273240 (7273240)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliAnalysisTaskEmcalPatchesRef.h
Go to the documentation of this file.
1 #ifndef ALIANALYSISTASKEMCALPATCHESREF_H
2 #define ALIANALYSISTASKEMCALPATCHESREF_H
3 /* Copyright(c) 1998-2015, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice */
5 
6 #include <string>
7 #include <vector>
9 #include "AliCutValueRange.h"
10 #include <TCustomBinning.h>
11 #include <TString.h>
12 
13 class AliOADBContainer;
14 class AliEMCALTriggerPatchInfo;
15 class THistManager;
16 class TObjArray;
17 
18 namespace EMCalTriggerPtAnalysis {
19 
20 class AliEmcalTriggerOfflineSelection;
21 
30 public:
35 
40  AliAnalysisTaskEmcalPatchesRef(const char *name);
41 
46 
53  void SetCentralityRange(double min, double max) { fCentralityRange.SetLimits(min,max); fRequestCentrality = true; }
54 
55 protected:
56 
60  virtual void CreateUserObjects() {}
61 
67  virtual void CreateUserHistos();
68 
73  virtual bool IsUserEventSelected();
74 
80  virtual bool Run();
81 
90  virtual void UserFillHistosAfterEventSelection();
91 
98  void GetPatchBoundaries(const AliEMCALTriggerPatchInfo *patch, Double_t *boundaries) const;
99 
105  bool SelectSingleShowerPatch(const AliEMCALTriggerPatchInfo *patch) const;
106 
112  bool SelectJetPatch(const AliEMCALTriggerPatchInfo *patch) const;
113 
123  void FillPatchHistograms(TString triggerclass, TString patchname, double energy, double transverseenergy, double eta, double phi, int col, int row);
124 
128 
129 private:
130 
131  class EnergyBinning : public TCustomBinning {
132  public:
136  EnergyBinning();
137 
141  virtual ~EnergyBinning() {}
142  };
143 
146 
148  ClassDef(AliAnalysisTaskEmcalPatchesRef, 1);
150 };
151 
152 } /* namespace EMCalTriggerPtAnalysis */
153 
154 #endif /* ALIANALYSISTASKEMCALPATCHESREF_H */
void FillPatchHistograms(TString triggerclass, TString patchname, double energy, double transverseenergy, double eta, double phi, int col, int row)
double Double_t
Definition: External.C:58
Bool_t fRequestCentrality
Switch for request of centrality selection.
AliAnalysisTaskEmcalPatchesRef & operator=(const AliAnalysisTaskEmcalPatchesRef &)
bool SelectSingleShowerPatch(const AliEMCALTriggerPatchInfo *patch) const
Helper class creating user defined custom binning.
bool SelectJetPatch(const AliEMCALTriggerPatchInfo *patch) const
energy
Analysis of trigger patches in min. bias and triggered events.
AliCutValueRange< double > fCentralityRange
Range of accepted event centralities.
Container class for histograms for the high- charged particle analysis.
Definition: THistManager.h:43
bool Bool_t
Definition: External.C:53
void GetPatchBoundaries(const AliEMCALTriggerPatchInfo *patch, Double_t *boundaries) const