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