AliPhysics  vAN-20150924 (e816f45)
 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 class AliEMCALGeometry;
10 
11 class TArrayD;
12 class TClonesArray;
13 class TList;
14 class TString;
15 
16 namespace EMCalTriggerPtAnalysis {
17 
18 class AliEMCalHistoContainer;
19 
20 class AliAnalysisTaskEmcalClustersRef : public AliAnalysisTaskSE {
21 public:
23  AliAnalysisTaskEmcalClustersRef(const char *name);
25 
27  void UserExec(Option_t *);
28  void Terminate(Option_t *) {}
29 
30  void SetClusterContainer(TString clustercontname) { fClusterContainer = clustercontname; }
31  void SetCreateTriggerStringFromPatches(Bool_t doUsePatches) { fTriggerStringFromPatches = doUsePatches; }
32 
33 protected:
34 
35  void CreateEnergyBinning(TArrayD& binning) const;
36  void FillClusterHistograms(TString triggerclass, double energy, double eta, double phi, TList *triggerpatches);
37  TString GetFiredTriggerClassesFromPatches(const TClonesArray* triggerpatches) const;
38  void FindPatchesForTrigger(TString triggerclass, const TClonesArray * triggerpatches, TList &foundpatches) const;
39  Bool_t CorrelateToTrigger(Double_t etaclust, Double_t phiclust, TList *triggerpatches) const;
40 
41  AliAnalysisUtils *fAnalysisUtil;
43  AliEMCALGeometry *fGeometry;
45 
47 
48 private:
51 
53 };
54 
55 } /* namespace EMCalTriggerPtAnalysis */
56 
57 #endif /* ALIANALYSISTASKEMCALCLUSTERSREF_H */
Bool_t CorrelateToTrigger(Double_t etaclust, Double_t phiclust, TList *triggerpatches) const
AliAnalysisTaskEmcalClustersRef & operator=(const AliAnalysisTaskEmcalClustersRef &)
void FillClusterHistograms(TString triggerclass, double energy, double eta, double phi, TList *triggerpatches)
Container class for histograms for the high- charged particle analysis.
ClassDef(AliAnalysisTaskEmcalClustersRef, 1)
energy
TString GetFiredTriggerClassesFromPatches(const TClonesArray *triggerpatches) const
void FindPatchesForTrigger(TString triggerclass, const TClonesArray *triggerpatches, TList &foundpatches) const