AliPhysics  97344c9 (97344c9)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliAnalysisTaskEmcalNoiseTriggers.h
Go to the documentation of this file.
1 #ifndef ALIANALYSISTASKEMCALNOISETRIGGERS_H
2 #define ALIANALYSISTASKEMCALNOISETRIGGERS_H
3 /* Copyright(c) 1998-2016, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice */
5 
7 #include "AliEMCALTriggerDataGrid.h"
8 #include <TString.h>
9 
11 class AliEMCALTriggerPatchInfo;
12 
13 namespace EMCalTriggerPtAnalysis {
14 
31 public:
33  kOnline = 0,
34  kRecalc = 1
35  };
36 
41 
46  AliAnalysisTaskEmcalNoiseTriggers(const char *name);
47 
52 
58  void SetSelectTrigger(ULong_t triggerbits, const TString &triggerstring = "") {
59  fTriggerBits = triggerbits;
60  fTriggerString = triggerstring;
61  }
62 
63 protected:
64 
70  virtual bool IsUserEventSelected();
71 
79  virtual bool Run();
80 
84  virtual void CreateUserHistos();
85 
89  virtual void CreateUserObjects() {}
90 
95  virtual void UserFillHistosAfterEventSelection();
96 
101  void PrepareL1FastorADC();
102 
109  AliEMCALTriggerPatchADCInfoAP *MakeFastorADCValuesForPatch(const AliEMCALTriggerPatchInfo &patch) const;
110 
115  void AnalyseFastors();
116 
127  Bool_t AnalyseTriggerPatch(const AliEMCALTriggerPatchInfo &recpatch, SelectPatchType_t pt, Bool_t maxpatch);
128 
129  static const TString fgkPatchNames[2];
133 
134 private:
137 
141 };
142 
143 } /* namespace EMCalTriggerPtAnalysis */
144 
145 #endif /* ALIANALYSISTASKEMCALNOISETRIGGERS_H */
AliAnalysisTaskEmcalNoiseTriggers & operator=(const AliAnalysisTaskEmcalNoiseTriggers &)
Analysis of trigger quantities in rejected (noise) events.
AliEMCALTriggerPatchADCInfoAP * MakeFastorADCValuesForPatch(const AliEMCALTriggerPatchInfo &patch) const
AliEMCALTriggerDataGrid< Int_t > fL1ADC
! Level1 fastor ADCs
void SetSelectTrigger(ULong_t triggerbits, const TString &triggerstring="")
unsigned long ULong_t
Definition: External.C:38
Bool_t AnalyseTriggerPatch(const AliEMCALTriggerPatchInfo &recpatch, SelectPatchType_t pt, Bool_t maxpatch)
static const TString fgkPatchNames[2]
Names of the trigger patch types (for histograms)
bool Bool_t
Definition: External.C:53