]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/PHOS/AliHLTPHOSRawAnalyzerComponent.h
Basic functionality of the HLT components is achieved, The components runs without...
[u/mrichter/AliRoot.git] / HLT / PHOS / AliHLTPHOSRawAnalyzerComponent.h
1
2
3 #ifndef ALIHLTPHOSRAWANALYZERCOMPONENT_H
4 #define ALIHLTPHOSRAWANALYZERCOMPONENT_H
5
6 /* Copyright(c) 2006, ALICE Experiment at CERN, All rights reserved. *
7  * See cxx source for full Copyright notice                          */
8
9 //#include <Rtypes.h>
10 //#include "TObject.h"
11 #include "AliHLTProcessor.h"
12 #include "AliHLTPHOSRawAnalyzer.h"
13 //#include "AliHLTPHOSRawAnalyzerCrude.h"
14
15 class AliHLTPHOSRawAnalyzerComponent: public AliHLTProcessor
16 {
17  public:
18   AliHLTPHOSRawAnalyzerComponent();
19   ~AliHLTPHOSRawAnalyzerComponent();
20   AliHLTPHOSRawAnalyzerComponent(const AliHLTPHOSRawAnalyzerComponent & );
21   AliHLTPHOSRawAnalyzerComponent & operator = (const AliHLTPHOSRawAnalyzerComponent)
22    {
23       return *this;
24    };
25
26   virtual int DoInit( int argc, const char** argv );
27   virtual int Deinit();
28   virtual int DoDeinit();
29
30   virtual const char* GetComponentID() = 0;
31
32   virtual void GetInputDataTypes(std::vector<AliHLTComponentDataType, std::allocator<AliHLTComponentDataType> >&);
33   virtual AliHLTComponentDataType GetOutputDataType();
34   virtual void GetOutputDataSize(long unsigned int&, double&);
35
36   //  virtual void GetOutputDataSize(long  int&, double&);
37
38   //  virtual AliHLTComponent* Spawn();
39   virtual AliHLTComponent* Spawn() = 0;
40
41   virtual int DoEvent(const AliHLTComponentEventData&, const AliHLTComponentBlockData*, AliHLTComponentTriggerData&, AliHLTUInt8_t*, AliHLTUInt32_t&, std::vector<AliHLTComponentBlockData, std::allocator<AliHLTComponentBlockData> >&);
42
43   // private:
44  protected:
45  AliHLTPHOSRawAnalyzer *analyzerPtr; 
46
47  // ClassDef(AliHLTPHOSRawAnalyzerComponent, 2) 
48  private:
49  int eventCount;
50   static const AliHLTComponentDataType inputDataTypes[];
51   static const AliHLTComponentDataType outputDataType;
52
53 };
54 #endif