]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/TPCLib/AliHLTTPCCalibSignalComponent.h
Refactoring of classes + cleanup + documentaion.
[u/mrichter/AliRoot.git] / HLT / TPCLib / AliHLTTPCCalibSignalComponent.h
CommitLineData
02d01bbf 1
2
3#ifndef ALIHLTTPCCALIBSIGNAlCOMPONENT_H
4#define ALIHLTTPCCALIBSIGNALCOMPONENT_H
5
6/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
7 * See cxx source for full Copyright notice */
8
9/** @file AliHLTTPCCalibSignalComponent.h
10 @author Jochen Thaeder, Sorina Popescu
11 @date
12 @brief HLT Pulser calibration component for the TPC.
13*/
14
15#include "AliHLTProcessor.h"
16#include "AliHLTTPCDefinitions.h"
17
18class AliTPCRawStream;
19class AliRawReaderMemory;
20class AliTPCCalibSignal;
21
22/**
23 * @class AliHLTTPCCalibSignalComponent
24 *
25 * This class is the component for the AliTPCCalibSignal class used for
26 * pedestal calibration of the TPC. It uses the high-level interface and
27 * the output is the TObject of AliTPCCalibSignal.
28 *
29 * The component has the following component arguments:
30 * - The RCU format: rcuformat
31 * which can be either
32 * - old ( used in the TPC Commissioning )
33 * - new
34 *
35 * @ingroup alihlt_tpc
36 */
37class AliHLTTPCCalibSignalComponent : public AliHLTProcessor
38 {
39 public:
40 /**
41 * constructor
42 */
43 AliHLTTPCCalibSignalComponent();
44 /** not a valid copy constructor, defined according to effective C++ style */
45 AliHLTTPCCalibSignalComponent(const AliHLTTPCCalibSignalComponent&);
46 /** not a valid assignment op, but defined according to effective C++ style */
47 AliHLTTPCCalibSignalComponent& operator=(const AliHLTTPCCalibSignalComponent&);
48 /** destructor */
49 virtual ~AliHLTTPCCalibSignalComponent();
50
51 // Public functions to implement AliHLTComponent's interface.
52 // These functions are required for the registration process
53
54 const char* GetComponentID();
55 void GetInputDataTypes( vector<AliHLTComponentDataType>& list);
56 AliHLTComponentDataType GetOutputDataType();
57 virtual void GetOutputDataSize( unsigned long& constBase, double& inputMultiplier );
58 AliHLTComponent* Spawn();
59
60 protected:
61
62 // Protected functions to implement AliHLTComponent's interface.
63 // These functions provide initialization as well as the actual processing
64 // capabilities of the component.
65
66 Int_t DoInit( int argc, const char** argv );
67 Int_t DoDeinit();
68 Int_t DoEvent( const AliHLTComponentEventData& evtData, AliHLTComponentTriggerData& trigData );
69
70 private:
71
72 /** the reader object for reading from memory */
73 AliRawReaderMemory* fRawReader; //!transient
74
75 /** the reader object for reading TPC raw data */
76 AliTPCRawStream* fRawStream; //!transient
77
78 /** Signal Calibration class */
79 AliTPCCalibSignal * fCalibSignal; //!transient
80
81 /** if use old RCU format */
82 Bool_t fRCUFormat; // see description
83
84 ClassDef(AliHLTTPCCalibSignalComponent, 0)
85
86 };
87#endif