]>
Commit | Line | Data |
---|---|---|
4a93a6e5 | 1 | #ifndef ALIEMCALTRIGGEREVENTCOUNTERANALYSISCOMPONENT_H |
2 | #define ALIEMCALTRIGGEREVENTCOUNTERANALYSISCOMPONENT_H | |
3 | /* Copyright(c) 1998-2014, ALICE Experiment at CERN, All rights reserved. * | |
4 | * See cxx source for full Copyright notice */ | |
5 | ||
6 | // Author: Markus Fasel | |
7 | ||
8 | #include "AliEMCalTriggerTracksAnalysisComponent.h" | |
9 | ||
10 | namespace EMCalTriggerPtAnalysis { | |
11 | ||
12 | class AliEMCalTriggerEventData; | |
13 | ||
14 | class AliEMCalTriggerEventCounterAnalysisComponent: public AliEMCalTriggerTracksAnalysisComponent { | |
15 | public: | |
16 | AliEMCalTriggerEventCounterAnalysisComponent(); | |
17 | AliEMCalTriggerEventCounterAnalysisComponent(const char *name); | |
18 | virtual ~AliEMCalTriggerEventCounterAnalysisComponent() {} | |
19 | ||
20 | virtual void CreateHistos(); | |
21 | virtual void Process(const AliEMCalTriggerEventData * const data); | |
22 | ||
edc6be66 | 23 | void SetUsePatches(Bool_t doUse = kTRUE) { fUsePatches = doUse; } |
24 | ||
4a93a6e5 | 25 | protected: |
26 | void DefineAxis(TAxis& axis, const char* name, | |
27 | const char* title, int nbins, double min, double max, | |
28 | const char** labels) const; | |
29 | ||
edc6be66 | 30 | Bool_t fUsePatches; // Use patches for trigger decision |
31 | ||
4a93a6e5 | 32 | ClassDef(AliEMCalTriggerEventCounterAnalysisComponent, 1); // Analysis component for event counting |
33 | }; | |
34 | ||
35 | } /* namespace EMCalTriggerPtAnalysis */ | |
36 | ||
37 | #endif /* ALIEMCALTRIGGEREVENTCOUNTERANALYSISCOMPONENT_H */ |