]>
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 | |
af6a2273 | 10 | // |
11 | // Class tp produce calibration data | |
12 | // too be sendt to the HLT file exhange server | |
13 | // and to the PHOS HLT monitoring GUI | |
14 | // | |
15 | ||
16 | ||
792f66f1 | 17 | class AliHLTPHOSRcuHistogramProducer; |
1b486665 | 18 | class AliHLTPHOSRcuCellAccumulatedEnergyDataStruct; |
14ff16ed | 19 | class AliHLTPHOSSharedMemoryInterface; |
792f66f1 | 20 | |
b60bd496 | 21 | class AliHLTPHOSRcuHistogramProducerComponent:public AliHLTPHOSRcuProcessor |
792f66f1 | 22 | { |
23 | public: | |
24 | AliHLTPHOSRcuHistogramProducerComponent(); | |
25 | virtual ~AliHLTPHOSRcuHistogramProducerComponent(); | |
26 | virtual int DoInit( int argc, const char** argv ); | |
27 | virtual int Deinit(); | |
d504c864 | 28 | virtual int DoEvent( const AliHLTComponentEventData& evtData, const AliHLTComponentBlockData* blocks, |
29 | AliHLTComponentTriggerData& trigData, AliHLTUInt8_t* outputPtr, | |
30 | AliHLTUInt32_t& size, vector<AliHLTComponentBlockData>& outputBlocks ); | |
9d05c97d | 31 | |
9be2600f | 32 | virtual void GetInputDataTypes( vector <AliHLTComponentDataType>&); |
792f66f1 | 33 | virtual AliHLTComponentDataType GetOutputDataType(); |
34 | virtual void GetOutputDataSize(unsigned long& constBase, double& inputMultiplier); | |
35 | virtual AliHLTComponent* Spawn(); | |
792f66f1 | 36 | virtual const char* GetComponentID(); |
792f66f1 | 37 | |
1804b020 | 38 | protected: |
39 | using AliHLTPHOSRcuProcessor::DoEvent; | |
40 | ||
792f66f1 | 41 | private: |
b444d727 | 42 | AliHLTPHOSRcuHistogramProducerComponent(const AliHLTPHOSRcuHistogramProducerComponent &); |
43 | AliHLTPHOSRcuHistogramProducerComponent & operator = (const AliHLTPHOSRcuHistogramProducerComponent &); | |
c0b4e7eb | 44 | int fHistoWriteFrequency; |
1b486665 | 45 | AliHLTPHOSRcuHistogramProducer* fRcuHistoProducerPtr; /**<Pointer to a phos histoproducer object*/ |
46 | AliHLTPHOSRcuCellAccumulatedEnergyDataStruct* fOutPtr; /**<Pointer to outputbuffer to write results from the component into shared memory*/ | |
af6a2273 | 47 | AliHLTPHOSSharedMemoryInterface *fShmPtr; // Interface to read altro channel data from shared memory |
792f66f1 | 48 | }; |
49 | ||
50 | #endif |