ALIROOT-5433 Transition to CDHv3 in HLT
[u/mrichter/AliRoot.git] / HLT / trigger / AliHLTEmcalElectronMonitorComponent.h
CommitLineData
93654f63 1#ifndef ALIHLTEMCALELECTRONMONITORCOMPONENT_H
2#define ALIHLTEMCALELECTRONMONITORCOMPONENT_H
3
4#include "AliHLTProcessor.h"
5
6class AliHLTEmcalElectronMonitor;
7
8class AliHLTEmcalElectronMonitorComponent : public AliHLTProcessor
9{
10 public:
11 // Constructor
12 AliHLTEmcalElectronMonitorComponent();
13
14 // Destructor
15 virtual ~AliHLTEmcalElectronMonitorComponent();
16
17 // interface function
18 const char* GetComponentID();
19
20 // interface function
21 void GetInputDataTypes(std::vector<AliHLTComponentDataType> &list);
22
23 // interface function
24 AliHLTComponentDataType GetOutputDataType();
25
26 // interface function
27 void GetOutputDataSize(unsigned long &constBase, double &inputMultiplier);
28
29 // interface function
30 int DoEvent(const AliHLTComponentEventData &evtData, const AliHLTComponentBlockData *blocks,
31 AliHLTComponentTriggerData &/*trigData*/, AliHLTUInt8_t */*outputPtr*/, AliHLTUInt32_t &/*size*/,
32 std::vector<AliHLTComponentBlockData> &/*outputBlocks*/);
33
34 // interface function
35 AliHLTComponent* Spawn();
36
37 protected:
38
39 // interface function
40 int DoInit(int argc, const char **argv);
41 int DoDeinit() {return 0;};
42
43 using AliHLTProcessor::DoEvent;
44
45 // interface function
46 virtual int Deinit();
47
48
49 private:
50 TString fRootFileName;
51 int fPushFraction;
52 int fLocalEventCount;
53 int fVerbose;
54
55 // pointer to the histo maker itself
56 AliHLTEmcalElectronMonitor *fHistoPtr;
57
58 AliHLTEmcalElectronMonitorComponent(const AliHLTEmcalElectronMonitorComponent &);
59 AliHLTEmcalElectronMonitorComponent & operator = (const AliHLTEmcalElectronMonitorComponent &);
60
61};
62
63#endif