AliPhysics  db95e02 (db95e02)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliEmcalFastOrMonitorTask.h
Go to the documentation of this file.
1 #ifndef ALIEMCALFASTORMONITORTASK_H
2 #define ALIEMCALFASTORMONITORTASK_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 <TString.h>
8 
9 class AliEMCALGeometry;
10 class THistManager;
11 
35 public:
36 
41 
46  AliEmcalFastOrMonitorTask(const char *name);
47 
52 
58  void SetRequestTrigger(ULong_t triggerbits, TString triggerstring = "") {
59  fRequestTrigger = triggerbits;
60  fTriggerPattern = triggerstring;
61  }
62 
68  void AddMaskedFastor(int fastorID){ fMaskedFastors.push_back(fastorID); }
69 
70 protected:
71 
76  virtual void UserCreateOutputObjects();
77 
87  virtual void UserExec(Option_t *);
88 
95  virtual void ExecOnce();
96 
101  virtual void RunChanged();
102 
110  Double_t GetTransverseTimeSum(Int_t fastorAbsID, Double_t adc, const Double_t *vtx) const;
111 
113  AliEMCALGeometry *fGeom;
116 
119 
120  std::vector<int> fMaskedFastors;
121 
123  ClassDef(AliEmcalFastOrMonitorTask, 1);
125 };
126 
127 #endif /* ALIEMCALFASTORMONITORTASK_H */
double Double_t
Definition: External.C:58
Int_t fOldRun
Old Run (for RunChanged())
int Int_t
Definition: External.C:63
ULong_t fRequestTrigger
Trigger selection bits.
Double_t GetTransverseTimeSum(Int_t fastorAbsID, Double_t adc, const Double_t *vtx) const
AliEMCALGeometry * fGeom
! EMCAL Geometry object
unsigned long ULong_t
Definition: External.C:38
void SetRequestTrigger(ULong_t triggerbits, TString triggerstring="")
Bool_t fLocalInitialized
Switch whether task is initialized (for ExecOnce)
std::vector< int > fMaskedFastors
List of masked fastors.
TString fTriggerPattern
Trigger string pattern used in addition to the trigger selection bits.
Container class for histograms.
Definition: THistManager.h:43
const char Option_t
Definition: External.C:48
virtual void UserExec(Option_t *)
bool Bool_t
Definition: External.C:53
THistManager * fHistos
! Histogram handler
Simlple monitoring of EMCAL FastOr quantities.