AliPhysics  c66ce6c (c66ce6c)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliEmcalCellMonitorTask.h
Go to the documentation of this file.
1 #ifndef ALIEMCALCELLMONITOR_H_
2 #define ALIEMCALCELLMONITOR_H_
3 /* Copyright(c) 1998-2016, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice */
5 
6 #include "AliAnalysisTaskSE.h"
7 #include <TCustomBinning.h>
8 #include <TString.h>
9 
10 class TArrayD;
11 class THistManager;
12 class AliEMCALGeometry;
13 
32 class AliEmcalCellMonitorTask : public AliAnalysisTaskSE {
33 public:
34 
39 
44  AliEmcalCellMonitorTask(const char *name);
45 
49  virtual ~AliEmcalCellMonitorTask();
50 
56  void SetMinCellAmplitudeForCellTime(Double_t minAmp) { fMinCellAmplitude = minAmp; }
57 
63  void SetRequestTrigger(ULong_t triggerbits, TString triggerstring = "") {
64  fRequestTrigger = triggerbits;
65  fTriggerString = triggerstring;
66  }
67 
71  void SetRun2() { fNumberOfCells = 17664; }
72 
73 protected:
74 
88  public:
89 
94 
99  };
100 
112  virtual void UserCreateOutputObjects();
113 
122  virtual void UserExec(Option_t *);
123 
124 private:
126  AliEMCALGeometry *fGeometry;
127 
128  Double_t fMinCellAmplitude;
129  ULong_t fRequestTrigger;
130  TString fTriggerString;
132 
135 
137  ClassDef(AliEmcalCellMonitorTask, 1);
139 };
140 
141 #endif /* ALIEMCALCELLMONITORTASK_H_ */
void SetRequestTrigger(ULong_t triggerbits, TString triggerstring="")
ULong_t fRequestTrigger
Trigger selection.
void SetMinCellAmplitudeForCellTime(Double_t minAmp)
Helper class creating user defined custom binning.
Int_t fNumberOfCells
Number of cells.
virtual void UserExec(Option_t *)
TString fTriggerString
Trigger string in addition to trigger selection.
Double_t fMinCellAmplitude
Min. cell amplitude requested for cell time.
Container class for histograms for the high- charged particle analysis.
Definition: THistManager.h:43
AliEmcalCellMonitorTask & operator=(const AliEmcalCellMonitorTask &ref)
AliEMCALGeometry * fGeometry
! EMCAL geometry
THistManager * fHistManager
! Histogram handler
Simple monitoring task for cell related quantities.