]>
Commit | Line | Data |
---|---|---|
792f66f1 | 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 | ||
1b486665 | 7 | #include "AliHLTPHOSProcessor.h" |
792f66f1 | 8 | #include "AliHLTPHOSDefinitions.h" |
9 | #include "AliHLTPHOSCommonDefs.h" | |
1b486665 | 10 | //#include "AliHLTPHOSRcuCellAccumulatedEnergyDataStruct.h" |
792f66f1 | 11 | #include "Rtypes.h" |
12 | ||
1b486665 | 13 | |
792f66f1 | 14 | class AliHLTPHOSRcuHistogramProducer; |
1b486665 | 15 | class AliHLTPHOSRcuCellAccumulatedEnergyDataStruct; |
792f66f1 | 16 | |
1b486665 | 17 | class AliHLTPHOSRcuHistogramProducerComponent:public AliHLTPHOSProcessor |
792f66f1 | 18 | { |
19 | public: | |
20 | AliHLTPHOSRcuHistogramProducerComponent(); | |
21 | virtual ~AliHLTPHOSRcuHistogramProducerComponent(); | |
22 | virtual int DoInit( int argc, const char** argv ); | |
23 | virtual int Deinit(); | |
d504c864 | 24 | virtual int DoEvent( const AliHLTComponentEventData& evtData, const AliHLTComponentBlockData* blocks, |
25 | AliHLTComponentTriggerData& trigData, AliHLTUInt8_t* outputPtr, | |
26 | AliHLTUInt32_t& size, vector<AliHLTComponentBlockData>& outputBlocks ); | |
9be2600f | 27 | virtual void GetInputDataTypes( vector <AliHLTComponentDataType>&); |
792f66f1 | 28 | virtual AliHLTComponentDataType GetOutputDataType(); |
29 | virtual void GetOutputDataSize(unsigned long& constBase, double& inputMultiplier); | |
30 | virtual AliHLTComponent* Spawn(); | |
792f66f1 | 31 | virtual const char* GetComponentID(); |
792f66f1 | 32 | |
33 | private: | |
34 | AliHLTPHOSRcuHistogramProducerComponent(const AliHLTPHOSRcuHistogramProducerComponent & ); | |
35 | AliHLTPHOSRcuHistogramProducerComponent & operator = (const AliHLTPHOSRcuHistogramProducerComponent &) | |
36 | { | |
37 | return *this; | |
38 | }; | |
792f66f1 | 39 | |
1b486665 | 40 | AliHLTPHOSRcuHistogramProducer* fRcuHistoProducerPtr; /**<Pointer to a phos histoproducer object*/ |
41 | AliHLTPHOSRcuCellAccumulatedEnergyDataStruct* fOutPtr; /**<Pointer to outputbuffer to write results from the component into shared memory*/ | |
42 | // static const AliHLTComponentDataType fgkIinputDataTypes[]; | |
43 | // static const AliHLTComponentDataType fgkOutputDataType; /**<List of datatypes that can be given to this component*/ | |
792f66f1 | 44 | }; |
45 | ||
46 | #endif |