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