AliPhysics  vAN-20150924 (e816f45)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
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 "AliAnalysisTaskSE.h"
7 
8 class AliAnalysisUtils;
9 class TArrayD;
10 class TString;
11 
12 namespace EMCalTriggerPtAnalysis {
13 
14 class AliAnalysisTaskEmcalPatchesRef : public AliAnalysisTaskSE {
15 public:
17  AliAnalysisTaskEmcalPatchesRef(const char *name);
19 
21  void UserExec(Option_t *);
22  void Terminate(Option_t *) {}
23 
24  void SetCreateTriggerStringFromPatches(Bool_t doUsePatches) { fTriggerStringFromPatches = doUsePatches; }
25 
26 protected:
27  void CreateEnergyBinning(TArrayD& binning) const;
28  void FillPatchHistograms(TString triggerclass, TString patchname, double energy, double eta, double phi);
29  TString GetFiredTriggerClassesFromPatches(const TClonesArray* triggerpatches) const;
30 
31  AliAnalysisUtils *fAnalysisUtil;
33 
35 
36 private:
39 
41 
42 };
43 
44 } /* namespace EMCalTriggerPtAnalysis */
45 
46 #endif /* ALIANALYSISTASKEMCALPATCHESREF_H */
ClassDef(AliAnalysisTaskEmcalPatchesRef, 1)
Container class for histograms for the high- charged particle analysis.
AliAnalysisTaskEmcalPatchesRef & operator=(const AliAnalysisTaskEmcalPatchesRef &)
void FillPatchHistograms(TString triggerclass, TString patchname, double energy, double eta, double phi)
energy
TString GetFiredTriggerClassesFromPatches(const TClonesArray *triggerpatches) const