AliPhysics  bba8f44 (bba8f44)
AliAnalysisTaskEGAMonitor.h
Go to the documentation of this file.
1 #ifndef ALIANALYSISTASKEGAMONITOR_H
2 #define ALIANALYSISTASKEGAMONITOR_H
3 
4 class THistManager;
5 class AliOADBContainer;
6 
7 #include "AliAnalysisTaskEmcal.h"
8 #include <TString.h>
9 #include <vector>
10 
11 namespace EMCalTriggerPtAnalysis {
12 
18 public:
20  AliAnalysisTaskEGAMonitor(const char *name);
22 
23  void SetUseRecalcPatches(Double_t recalcLow, Double_t recalcHigh) {
24  fUseRecalcPatches = kTRUE;
25  fRecalcLow = recalcLow;
26  fRecalcHigh = recalcHigh;
27  }
28 
29  void AddMaskedFastor(int fastorAbsID) { fMaskedFastors.push_back(fastorAbsID); }
30  void SetMaskedFastorOADB(TString oadbname) { fNameMaskedFastorOADB = oadbname; }
31  bool IsPatchRejected(int col, int row);
32 
33 protected:
34  virtual void UserCreateOutputObjects();
35  virtual bool IsEventSelected();
36  virtual bool Run();
37 
38  virtual void ExecOnce();
39  virtual void RunChanged(Int_t newrun);
40 
41 private:
43 
47 
49  AliOADBContainer *fMaskedFastorOADB;
50  std::vector<int> fMaskedFastors;
51 
53  ClassDef(AliAnalysisTaskEGAMonitor, 1);
55 };
56 
57 } /* namespace EMCalTriggerPtAnalysis */
58 
59 #endif /* ALIANALYSISTASKEGAMONITOR_H */
Double_t fRecalcHigh
High threshold for recalc gamma trigger.
double Double_t
Definition: External.C:58
Base task in the EMCAL framework.
TString fNameMaskedFastorOADB
Name of the OADB container with the masked fastor information.
Bool_t fUseRecalcPatches
Defined whether to use recalc patches.
Simplistic class, checks distribution of the online EGA trigger patches.
int Int_t
Definition: External.C:63
void SetUseRecalcPatches(Double_t recalcLow, Double_t recalcHigh)
virtual void RunChanged(Int_t newrun)
Process tasks relevant when a file with a different run number is processed.
virtual bool Run()
Run function. This is the core function of the analysis and contains the user code. Therefore users have to implement this function.
AliOADBContainer * fMaskedFastorOADB
OADB container with masked fastor information.
Analysis of high- tracks in triggered events.
Double_t fRecalcLow
Low threshold for recalc gamma trigger.
virtual void ExecOnce()
Perform steps needed to initialize the analysis.
std::vector< int > fMaskedFastors
List of masked fastors.
Container class for histograms.
Definition: THistManager.h:99
bool Bool_t
Definition: External.C:53
virtual bool IsEventSelected()
Performing event selection.