AliPhysics  95775ff (95775ff)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AliAnalysisTaskEmcalMaxPatch.h
Go to the documentation of this file.
1 #ifndef ALIANALYSISTASKEMCALMAXPATCH_H
2 #define ALIANALYSISTASKEMCALMAXPATCH_H
3 /* Copyright(c) 1998-2016, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice */
5 
6 #include "AliAnalysisTaskEmcal.h"
7 #include <TString.h>
8 
9 class THistManager;
10 
11 namespace EMCalTriggerPtAnalysis {
12 
13 class AliEMCalTriggerWeightHandler;
14 
25 public:
26 
31 
36  AliAnalysisTaskEmcalMaxPatch(const char *name);
37 
42 
48  void SetTriggerSelection(ULong_t trigger) { fSelectTrigger = trigger; };
49 
55  void SetTriggerPattern(const TString &pattern) { fTriggerPattern = pattern; }
56 
57 protected:
58 
64  virtual void UserCreateOutputObjects();
65 
71  virtual Bool_t IsEventSelected();
72 
79  virtual Bool_t Run();
80 
81 private:
86 
89 
91  ClassDef(AliAnalysisTaskEmcalMaxPatch, 1);
93 };
94 
95 } /* namespace EMCalTriggerPtAnalysis */
96 
97 #endif /* ALIANALYSISTASKEMCALMAXPATCH_H */
Base task in the EMCAL framework.
TString fTriggerPattern
Trigger pattern string (i.e. EG1)
Simple task monitoring the energy spectrum of the maximum patch in the event.
THistManager * fHistos
! Local Histogram handler. Histograms are stored in the AliEmcalList later
unsigned long ULong_t
Definition: External.C:38
AliAnalysisTaskEmcalMaxPatch & operator=(const AliAnalysisTaskEmcalMaxPatch &)
const AliEMCalTriggerWeightHandler * fWeightHandler
Weight handler (optional)
Container class for histograms.
Definition: THistManager.h:43
bool Bool_t
Definition: External.C:53