]>
Commit | Line | Data |
---|---|---|
1 | #ifndef ALIHLTPHOSRCUHISTOGRAMPRODUCERCOMPONENT_H | |
2 | #define ALIHLTPHOSRCUHISTOGRAMPRODUCERCOMPONENT_H | |
3 | ||
4 | /* Copyright(c) 2006, ALICE Experiment at CERN, All rights reserved. * | |
5 | * See cxx source for full Copyright notice */ | |
6 | ||
7 | #include "AliHLTProcessor.h" | |
8 | #include "AliHLTPHOSDefinitions.h" | |
9 | #include "AliHLTPHOSCommonDefs.h" | |
10 | //#include "AliHLTPHOSModuleCellAccumulatedEnergyDataStruct.h" | |
11 | #include "AliHLTPHOSRcuCellAccumulatedEnergyDataStruct.h" | |
12 | #include "Rtypes.h" | |
13 | ||
14 | class AliHLTPHOSRcuHistogramProducer; | |
15 | ||
16 | class AliHLTPHOSRcuHistogramProducerComponent:public AliHLTProcessor | |
17 | { | |
18 | public: | |
19 | AliHLTPHOSRcuHistogramProducerComponent(); | |
20 | virtual ~AliHLTPHOSRcuHistogramProducerComponent(); | |
21 | virtual int DoInit( int argc, const char** argv ); | |
22 | virtual int Deinit(); | |
23 | virtual int DoDeinit(); | |
24 | virtual int DoEvent(const AliHLTComponentEventData&, const AliHLTComponentBlockData*, AliHLTComponentTriggerData&, AliHLTUInt8_t*, | |
25 | AliHLTUInt32_t&, std::vector<AliHLTComponentBlockData, std::allocator<AliHLTComponentBlockData> >&); | |
26 | virtual void GetInputDataTypes(std::vector<AliHLTComponentDataType, std::allocator<AliHLTComponentDataType> >&); | |
27 | virtual AliHLTComponentDataType GetOutputDataType(); | |
28 | virtual void GetOutputDataSize(unsigned long& constBase, double& inputMultiplier); | |
29 | virtual AliHLTComponent* Spawn(); | |
30 | ||
31 | virtual const char* GetComponentID(); | |
32 | int GetEquippmentId(); | |
33 | void SetRcuX(AliHLTUInt8_t X); | |
34 | void SetRcuZ(AliHLTUInt8_t Z); | |
35 | void SetModuleID(AliHLTUInt8_t moduleID); | |
36 | void SetEquippmentId(int id); | |
37 | ||
38 | ||
39 | private: | |
40 | AliHLTPHOSRcuHistogramProducerComponent(const AliHLTPHOSRcuHistogramProducerComponent & ); | |
41 | AliHLTPHOSRcuHistogramProducerComponent & operator = (const AliHLTPHOSRcuHistogramProducerComponent &) | |
42 | { | |
43 | return *this; | |
44 | }; | |
45 | int fEventCount; | |
46 | AliHLTUInt8_t fRcuX; | |
47 | AliHLTUInt8_t fRcuZ; | |
48 | AliHLTUInt8_t fModuleID; | |
49 | AliHLTPHOSRcuHistogramProducer* fRcuHistoProducerPtr; | |
50 | AliHLTPHOSRcuCellAccumulatedEnergyDataStruct* fOutPtr; | |
51 | ||
52 | // AliHLTPHOSRcuCellAccumulatedEnergyDataStruct* fInnPtr; | |
53 | // AliHLTPHOSRcuCellAccumulatedEnergyDataStruct& fInnPtr; | |
54 | ||
55 | static const AliHLTComponentDataType inputDataTypes[]; | |
56 | static const AliHLTComponentDataType outputDataType; | |
57 | ||
58 | int fEquippmentID; | |
59 | }; | |
60 | ||
61 | #endif |