]>
Commit | Line | Data |
---|---|---|
c83e4f55 | 1 | #ifndef ALIHLTPHOSPROCESSOR_H |
2 | #define ALIHLTPHOSPROCESSOR_H | |
56673b84 | 3 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
4 | * See cxx source for full Copyright notice */ | |
c83e4f55 | 5 | |
6 | #include "AliHLTProcessor.h" | |
d2b84453 | 7 | #include "AliHLTPHOSBase.h" |
2ef3c547 | 8 | #include "AliHLTPHOSDefinitions.h" |
9c9d15d6 | 9 | #include "AliHLTDataTypes.h" |
dabc4c35 | 10 | |
11 | using namespace PhosHLTConst; | |
c83e4f55 | 12 | |
d2b84453 | 13 | class AliHLTPHOSProcessor:public AliHLTProcessor, public AliHLTPHOSBase |
c83e4f55 | 14 | { |
9c9d15d6 | 15 | |
c83e4f55 | 16 | public: |
17 | AliHLTPHOSProcessor(); | |
18 | virtual ~AliHLTPHOSProcessor(); | |
c83e4f55 | 19 | virtual int DoInit(int argc, const char** argv) = 0; |
20 | virtual int Deinit() = 0; | |
21 | virtual const char* GetComponentID() = 0; | |
c83e4f55 | 22 | virtual void GetInputDataTypes( std::vector <AliHLTComponentDataType>& list) =0; |
23 | virtual AliHLTComponentDataType GetOutputDataType() =0; | |
24 | virtual void GetOutputDataSize(unsigned long& constBase, double& inputMultiplier) =0; | |
25 | virtual AliHLTComponent* Spawn() = 0; | |
b60bd496 | 26 | |
939c67e7 | 27 | |
c83e4f55 | 28 | protected: |
939c67e7 | 29 | void ScanRunNumberFromFile(); |
25b7f84c | 30 | virtual int ScanArguments(int argc, const char** argv); |
c83e4f55 | 31 | int fPhosEventCount; /**<Global event counter for this component*/ |
c83e4f55 | 32 | AliHLTUInt8_t fModuleID; /**<ID of the module this component read data from (0-4)*/ |
c83e4f55 | 33 | Bool_t fPrintInfo; /**<wether or not to print debugg info to std out*/ |
c83e4f55 | 34 | int fPrintInfoFrequncy; /**<Defines the update frequency for information printet to std out*/ |
c83e4f55 | 35 | static const AliHLTComponentDataType fgkInputDataTypes[]; /**<List of datatypes that can be given to this component*/ |
939c67e7 | 36 | int fRunNumber; |
c83e4f55 | 37 | private: |
d2b84453 | 38 | AliHLTPHOSProcessor(const AliHLTPHOSProcessor & ); |
39 | AliHLTPHOSProcessor & operator = (const AliHLTPHOSProcessor &); | |
c83e4f55 | 40 | |
41 | }; | |
42 | ||
43 | ||
44 | #endif |