AliPhysics  v5-06-40-01 (42bb456)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
AliAnalysisTaskEmcalClustersRef.h
Go to the documentation of this file.
1 #ifndef ALIANALYSISTASKEMCALCLUSTERSREF_H
2 #define ALIANALYSISTASKEMCALCLUSTERSREF_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 
10 class TArrayD;
11 class TString;
12 
13 namespace EMCalTriggerPtAnalysis {
14 
15 class AliEMCalHistoContainer;
16 
17 class AliAnalysisTaskEmcalClustersRef : public AliAnalysisTaskSE {
18 public:
20  AliAnalysisTaskEmcalClustersRef(const char *name);
22 
24  void UserExec(Option_t *);
25  void Terminate(Option_t *) {}
26 
27  void SetClusterContainer(TString clustercontname) { fClusterContainer = clustercontname; }
28  void SetCreateTriggerStringFromPatches(Bool_t doUsePatches) { fTriggerStringFromPatches = doUsePatches; }
29 
30 protected:
31 
32  void CreateEnergyBinning(TArrayD& binning) const;
33  void FillClusterHistograms(TString triggerclass, double energy, double eta, double phi);
34  TString GetFiredTriggerClassesFromPatches(const TClonesArray* triggerpatches) const;
35 
36  AliAnalysisUtils *fAnalysisUtil;
39 
41 
42 private:
45 
47 };
48 
49 } /* namespace EMCalTriggerPtAnalysis */
50 
51 #endif /* ALIANALYSISTASKEMCALCLUSTERSREF_H */
AliAnalysisTaskEmcalClustersRef & operator=(const AliAnalysisTaskEmcalClustersRef &)
Container class for histograms for the high- charged particle analysis.
ClassDef(AliAnalysisTaskEmcalClustersRef, 1)
energy
TString GetFiredTriggerClassesFromPatches(const TClonesArray *triggerpatches) const
void FillClusterHistograms(TString triggerclass, double energy, double eta, double phi)