2 #ifndef ALIHLTTPCCALIBPEDESTALCOMPONENT_H
3 #define ALIHLTTPCCALIBPEDESTALCOMPONENT_H
5 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
6 * See cxx source for full Copyright notice */
8 /** @file AliHLTTPCCalibPedestalComponent.h
11 @brief A pedestal calibration component for the TPC.
14 #include "AliHLTProcessor.h"
15 #include "AliHLTTPCDefinitions.h"
17 class AliTPCRawStream;
18 class AliRawReaderMemory;
19 class AliTPCCalibPedestal;
22 * @class AliHLTTPCCalibPedestalComponent
24 * This class is the component for the AliTPCCalibPedestal class used for
25 * pedestal calibration of the TPC. It uses the high-level interface and
26 * the output is the TObject of AliTPCCalibPedestal.
28 * The component has the following component arguments:
29 * - The RCU format: rcuformat
31 * - old ( used in the TPC Commissioning )
36 class AliHLTTPCCalibPedestalComponent : public AliHLTProcessor
42 AliHLTTPCCalibPedestalComponent();
43 /** not a valid copy constructor, defined according to effective C++ style */
44 AliHLTTPCCalibPedestalComponent(const AliHLTTPCCalibPedestalComponent&);
45 /** not a valid assignment op, but defined according to effective C++ style */
46 AliHLTTPCCalibPedestalComponent& operator=(const AliHLTTPCCalibPedestalComponent&);
48 virtual ~AliHLTTPCCalibPedestalComponent();
50 // Public functions to implement AliHLTComponent's interface.
51 // These functions are required for the registration process
53 const char* GetComponentID();
54 void GetInputDataTypes( vector<AliHLTComponentDataType>& list);
55 AliHLTComponentDataType GetOutputDataType();
56 virtual void GetOutputDataSize( unsigned long& constBase, double& inputMultiplier );
57 AliHLTComponent* Spawn();
61 // Protected functions to implement AliHLTComponent's interface.
62 // These functions provide initialization as well as the actual processing
63 // capabilities of the component.
65 Int_t DoInit( int argc, const char** argv );
67 Int_t DoEvent( const AliHLTComponentEventData& evtData, AliHLTComponentTriggerData& trigData );
71 /** the reader object for reading from memory */
72 AliRawReaderMemory* fRawReader; //!transient
74 /** the reader object for reading TPC raw data */
75 AliTPCRawStream* fRawStream; //!transient
77 /** Pedestal Calibration class */
78 AliTPCCalibPedestal * fCalibPedestal; //!transient
80 /** if use old RCU format */
81 Bool_t fRCUFormat; // see above
83 ClassDef(AliHLTTPCCalibPedestalComponent, 0)