]>
Commit | Line | Data |
---|---|---|
6a76e30e | 1 | #ifndef ALIHLTPHOSRCUCALIBRATIONPROCESSORCOMPONENT_H |
2 | #define ALIHLTPHOSRCUCALIBRATIONPROCESSORCOMPONENT_H | |
3 | ||
4 | #include "AliHLTCalibrationProcessor.h" | |
5 | ||
6 | class AliHLTPHOSRcuCalibrationProcessor; | |
7 | class AliHLTPHOSSharedMemoryInterface; | |
8 | class TObjArray; | |
9 | ||
10 | class AliHLTPHOSRcuCalibrationProcessorComponent: public AliHLTCalibrationProcessor | |
11 | //class AliHLTPHOSRcuCalibrationProcessorComponent: public AliHLTPHOSBase, public AliHLTProcessor | |
12 | { | |
13 | public: | |
14 | ||
15 | /** constructor */ | |
16 | AliHLTPHOSRcuCalibrationProcessorComponent(); | |
b444d727 | 17 | |
18 | ||
6a76e30e | 19 | /** destructor */ |
20 | virtual ~AliHLTPHOSRcuCalibrationProcessorComponent(); | |
21 | ||
22 | // Public functions to implement AliHLTComponent's interface. | |
23 | // These functions are required for the registration process | |
24 | ||
25 | const char* GetComponentID(); | |
26 | void GetInputDataTypes( vector<AliHLTComponentDataType>& list); | |
27 | AliHLTComponentDataType GetOutputDataType(); | |
28 | virtual void GetOutputDataSize( unsigned long& constBase, double& inputMultiplier ); | |
29 | AliHLTComponent* Spawn(); | |
30 | ||
31 | protected: | |
32 | ||
33 | // Protected functions to implement AliHLTComponent's interface. | |
34 | // These functions provide initialization as well as the actual processing | |
35 | // capabilities of the component. | |
36 | ||
37 | /** Initialize the calibration component. */ | |
38 | Int_t InitCalibration(); | |
39 | ||
40 | /** Scan commandline arguments of the calibration component. */ | |
41 | Int_t ScanArgument( Int_t argc, const char** argv ); | |
42 | ||
43 | /** DeInitialize the calibration component. */ | |
44 | Int_t DeinitCalibration(); | |
45 | ||
46 | /** Process the data in the calibration component. */ | |
b444d727 | 47 | using AliHLTCalibrationProcessor::ProcessCalibration; |
6a76e30e | 48 | Int_t ProcessCalibration( const AliHLTComponentEventData& evtData, AliHLTComponentTriggerData& trigData ); |
49 | ||
50 | /** Ship the data to the FXS at end of run or eventmodulo. */ | |
b444d727 | 51 | using AliHLTCalibrationProcessor::ShipDataToFXS; |
6a76e30e | 52 | Int_t ShipDataToFXS( const AliHLTComponentEventData& evtData, AliHLTComponentTriggerData& trigData ); |
53 | ||
54 | private: | |
b444d727 | 55 | /** not a valid copy constructor, defined according to effective C++ style */ |
56 | AliHLTPHOSRcuCalibrationProcessorComponent(const AliHLTPHOSRcuCalibrationProcessorComponent&); | |
57 | /** not a valid assignment op, but defined according to effective C++ style */ | |
58 | AliHLTPHOSRcuCalibrationProcessorComponent& operator=(const AliHLTPHOSRcuCalibrationProcessorComponent&); | |
6a76e30e | 59 | TObjArray* fCalibDataPtr; //! transient |
60 | AliHLTPHOSRcuCalibrationProcessor* fRcuCalibProcessorPtr; /**<Pointer to a phos histoproducer object*/ | |
61 | AliHLTPHOSSharedMemoryInterface *fShmPtr; // Interface to read altro channel data from shared memory | |
62 | ||
63 | }; | |
64 | ||
65 | #endif |