AliPhysics  63d3444 (63d3444)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliEmcalTriggerMakerTask.h
Go to the documentation of this file.
1 #ifndef ALIEMCALTRIGGERMAKERTASK_H
2 #define ALIEMCALTRIGGERMAKERTASK_H
3 /* Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice */
5 
7 #include "AliAnalysisTaskEmcal.h"
8 #include <TString.h>
9 #if !(defined(__CINT__) || defined(__MAKECINT__))
10 #include <functional>
11 #endif
12 
13 class TClonesArray;
14 class THistManager;
15 class AliVVZERO;
16 class AliEMCALTriggerPatchInfo;
17 
38 public:
39  /***
40  * @enum TriggerMakerTriggerBitConfig_t
41  * @brief Definition of trigger bit configurations
42  *
43  * This enumeration handles different trigger bit configurations for the
44  * EMCAL Level1 triggers (with and without different thresholds) applied
45  * in the reconstruction of different samples.
46  */
50  };
51 
59  enum Exception_t {
61  };
62 
67 
74  AliEmcalTriggerMakerTask(const char *name, Bool_t doQA = kFALSE);
75 
79  virtual ~AliEmcalTriggerMakerTask();
80 
86  virtual void UserCreateOutputObjects();
87 
93  virtual void ExecOnce();
94 
105  virtual Bool_t Run();
106 
111  void SetRunQA(Bool_t doQA = kTRUE) { fDoQA = doQA; }
112 
119 
120 
125  void SetCaloTriggersOutName(const char *name) { fCaloTriggersOutName = name; }
126 
131  void SetV0InName(const char *name) { fV0InName = name; }
132 
139 
145 
153 
155 
162  void SetApplyTRUMaskingToFEE(Bool_t doApply = kTRUE) {
164  }
165 
168  }
171  }
174  }
177  }
178 
180 
182 
183 protected:
184 
185 #if !(defined(__CINT__) || defined(__MAKECINT__))
186 
191  std::function<int (unsigned int, unsigned int)> GetMaskHandler() const;
192 #endif
193 
202  void FillQAHistos(const TString &patchtype, const AliEMCALTriggerPatchInfo &recpatch);
203 
210  virtual void RunChanged(Int_t newrun);
211 
216 
221 
226 
228  AliVVZERO *fV0;
229 
236  TClonesArray *fCaloTriggersOut;
237 
240 
241 private:
244 
246  ClassDef(AliEmcalTriggerMakerTask, 2);
248 };
249 
250 #endif
AliVVZERO * fV0
! VZERO data
New configuration, distinction between high and low threshold.
AliEmcalTriggerMakerTask & operator=(const AliEmcalTriggerMakerTask &)
Base task in the EMCAL framework.
TCanvas * c
Definition: TestFitELoss.C:172
Bool_t fUseL0Amplitudes
Use L0 amplitudes instead of L1 time sum (useful for runs where STU was not read) ...
void SetCaloTriggersOutName(const char *name)
Bool_t fLoadFastORMaskingFromOCDB
Load FastOR masking from the OCDB.
void SetMaskedFastorOADBContainer(const TString &name)
TString fV0InName
name of output track array
void SetRunQA(Bool_t doQA=kTRUE)
int Int_t
Definition: External.C:63
Exception_t
Definition of various exception codes used in the trigger maker.
Old configuration, no distinction between high and low threshold.
void SetMaskedFEEChannelOADBContainer(const TString &name)
void SetV0InName(const char *name)
void SetUseTriggerBitConfig(TriggerMakerBitConfig_t bitConfig)
AliEmcalTriggerMakerKernel * fTriggerMaker
The actual trigger maker kernel.
void SetTriggerThresholdGammaHigh(Int_t a, Int_t b, Int_t c)
void SetTriggerThresholdJetHigh(Int_t a, Int_t b, Int_t c)
void SetL0TimeRange(Int_t min, Int_t max)
void SetApplyOnlineBadChannelMaskingToOffline(Bool_t doApply=kTRUE)
void SetTriggerThresholdGammaLow(Int_t a, Int_t b, Int_t c)
void SetApplyTRUMaskingToFEE(Bool_t doApply=kTRUE)
EMCAL trigger maker task.
void SetTriggerThresholdGammaLow(Int_t a, Int_t b, Int_t c)
void SetL0TimeRange(Int_t min, Int_t max)
void SetTriggerThresholdGammaHigh(Int_t a, Int_t b, Int_t c)
std::function< int(unsigned int, unsigned int)> GetMaskHandler() const
virtual void RunChanged(Int_t newrun)
void FillQAHistos(const TString &patchtype, const AliEMCALTriggerPatchInfo &recpatch)
TString fBadFEEChannelOADB
name of the OADB container containing channels to be masked inside the trigger maker ...
TString fCaloTriggersOutName
name of output track array
TClonesArray * fCaloTriggersOut
! trigger array out
Container class for histograms for the high- charged particle analysis.
Definition: THistManager.h:43
Kernel of the EMCAL trigger patch maker.
TString fMaskedFastorOADB
name of the OADB container containing fastors to be masked inside the trigger maker ...
void SetTriggerThresholdJetHigh(Int_t a, Int_t b, Int_t c)
bool Bool_t
Definition: External.C:53
THistManager * fQAHistos
! Histograms for QA
void SetTriggerThresholdJetLow(Int_t a, Int_t b, Int_t c)
Bool_t fDoQA
Fill QA histograms.
AliEmcalTriggerMakerKernel * GetTriggerMaker() const
void SetTriggerThresholdJetLow(Int_t a, Int_t b, Int_t c)
void SetLoadFastORMaskingFromOCDB(Bool_t doLoad=kTRUE)