AliPhysics  7273240 (7273240)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliEmcalTriggerOfflineSelection.h
Go to the documentation of this file.
1 #ifndef ALIEMCALTRIGGEROFFLINESELECTION_H
2 #define ALIEMCALTRIGGEROFFLINESELECTION_H
3 /* Copyright(c) 1998-2016, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice */
5 
6 #include <TObject.h>
7 
8 class TClonesArray;
9 class TH2;
10 
11 namespace EMCalTriggerPtAnalysis {
12 
46 public:
52  kTrgEL0 = 0,
63  };
64 
69 
74 
81  void SetOfflineEnergyThreshold(EmcalTriggerClass trgcls, double threshold) { fOfflineEnergyThreshold[trgcls] = threshold; }
82 
89  void SetAcceptanceMap(EmcalTriggerClass trgcls, const TH2 *accmap) { fAcceptanceMaps[trgcls] = accmap; }
90 
106  Bool_t IsOfflineSelected(EmcalTriggerClass trgcls, const TClonesArray * const triggerpatches) const;
107 
114 
121 
127  static Bool_t IsDCAL(EmcalTriggerClass cls);
128 
129 protected:
132 
134  ClassDef(AliEmcalTriggerOfflineSelection, 1);
136 };
137 
138 } /* namespace EMCalTriggerPtAnalysis */
139 
140 #endif /* ALIEMCALTRIGGEROFFLINESELECTION_H */
double Double_t
Definition: External.C:58
Helper class selecting events on the presence of a trigger patch for the given type above threshold...
Double_t fOfflineEnergyThreshold[kTrgn]
Thresholds applied on offline energy.
void SetAcceptanceMap(EmcalTriggerClass trgcls, const TH2 *accmap)
EmcalTriggerClass
Definition of the various supported trigger types.
void SetOfflineEnergyThreshold(EmcalTriggerClass trgcls, double threshold)
Bool_t IsOfflineSelected(EmcalTriggerClass trgcls, const TClonesArray *const triggerpatches) const
Definition: External.C:220
const TH2 * fAcceptanceMaps[kTrgn]
Online acceptance distribution.
bool Bool_t
Definition: External.C:53