AliPhysics  v5-07-15-01 (b3d7633)
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Macros
AliAnalysisTaskEMCALDCALTrigger2015.h
Go to the documentation of this file.
1 #ifndef ALIANALYSISTASKEMCALDCALTRIGGER2015_H_
2 #define ALIANALYSISTASKEMCALDCALTRIGGER2015_H_
3 
4 #include <TString.h>
5 
6 #include "AliAnalysisTaskSE.h"
7 
8 class TArrayD;
9 class TClonesArray;
10 
11 class AliEmcalTriggerPatchInfo;
12 class AliVCluster;
13 
14 namespace EMCalTriggerPtAnalysis {
15 
16 class AliEMCalHistoContainer;
17 
18 class AliAnalysisTaskEMCALDCALTrigger2015 : public AliAnalysisTaskSE {
19 public:
21  AliAnalysisTaskEMCALDCALTrigger2015(const char *name);
23 
25  void UserExec(Option_t * opt);
26 
27  void SetClusterContainerName(const char *name) { fClusterContainerName = name; }
28 
29 protected:
30  void ProcessCluster(const TString &triggerclass, const AliVCluster * const clust, bool isCalib);
31  void ProcessPatch(const TString &triggerclass, const AliEmcalTriggerPatchInfo * const patch, bool isOnline);
32  void CreateEnergyBinning(TArrayD& binning) const;
33  void CreateLinearBinning(TArrayD& binning, int nbins, double min, double max) const;
34 
35  static const TString fgkTriggerClasses[11];
36  static const TString fgkBeamDirs[4];
37 
40  AliEMCALGeometry *fGeometry;
41  TClonesArray *fClusterContainer;
42  TClonesArray *fPatchContainer;
43 
44 private:
47 
49 };
50 
51 } /* namespace EMCalTriggerPtAnalysis */
52 
53 #endif
Container class for histograms for the high- charged particle analysis.
AliAnalysisTaskEMCALDCALTrigger2015 & operator=(const AliAnalysisTaskEMCALDCALTrigger2015 &)
void CreateLinearBinning(TArrayD &binning, int nbins, double min, double max) const
ClassDef(AliAnalysisTaskEMCALDCALTrigger2015, 1)
void ProcessCluster(const TString &triggerclass, const AliVCluster *const clust, bool isCalib)
void ProcessPatch(const TString &triggerclass, const AliEmcalTriggerPatchInfo *const patch, bool isOnline)
const Int_t nbins