3 #ifndef ALIHLTPHOSRAWANALYZERCOMPONENT_H
4 #define ALIHLTPHOSRAWANALYZERCOMPONENT_H
6 /* Copyright(c) 2006, ALICE Experiment at CERN, All rights reserved. *
7 * See cxx source for full Copyright notice */
10 //#include "TObject.h"
11 #include "AliHLTProcessor.h"
12 #include "AliHLTPHOSRawAnalyzer.h"
13 //#include "AliHLTPHOSRawAnalyzerCrude.h"
15 class AliHLTPHOSRawAnalyzerComponent: public AliHLTProcessor
18 AliHLTPHOSRawAnalyzerComponent();
19 ~AliHLTPHOSRawAnalyzerComponent();
20 AliHLTPHOSRawAnalyzerComponent(const AliHLTPHOSRawAnalyzerComponent & );
21 AliHLTPHOSRawAnalyzerComponent & operator = (const AliHLTPHOSRawAnalyzerComponent)
26 virtual int DoInit( int argc, const char** argv );
28 virtual int DoDeinit();
30 virtual const char* GetComponentID() = 0;
32 virtual void GetInputDataTypes(std::vector<AliHLTComponentDataType, std::allocator<AliHLTComponentDataType> >&);
33 virtual AliHLTComponentDataType GetOutputDataType();
34 virtual void GetOutputDataSize(long unsigned int&, double&);
36 // virtual void GetOutputDataSize(long int&, double&);
38 // virtual AliHLTComponent* Spawn();
39 virtual AliHLTComponent* Spawn() = 0;
41 virtual int DoEvent(const AliHLTComponentEventData&, const AliHLTComponentBlockData*, AliHLTComponentTriggerData&, AliHLTUInt8_t*, AliHLTUInt32_t&, std::vector<AliHLTComponentBlockData, std::allocator<AliHLTComponentBlockData> >&);
45 AliHLTPHOSRawAnalyzer *analyzerPtr;
47 // ClassDef(AliHLTPHOSRawAnalyzerComponent, 2)
50 static const AliHLTComponentDataType inputDataTypes[];
51 static const AliHLTComponentDataType outputDataType;