]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/PHOS/AliHLTPHOSModuleMergerComponent.h
A new structure AliHLTPHOSValidCellDataStruct.h was added in order to improve
[u/mrichter/AliRoot.git] / HLT / PHOS / AliHLTPHOSModuleMergerComponent.h
1 #ifndef ALIHLTPHOSMODULEMERGERCOMPONENT_H
2 #define ALIHLTPHOSMODULEMERGERCOMPONENT_H
3
4 /* Copyright(c) 2006, ALICE Experiment at CERN, All rights reserved. *
5  * See cxx source for full Copyright notice  */ 
6
7 #include "AliHLTProcessor.h"
8 #include "AliHLTPHOSDefinitions.h"
9
10
11 class AliHLTPHOSModuleMergerComponent: public AliHLTProcessor
12 {
13  public:
14   AliHLTPHOSModuleMergerComponent();
15   ~AliHLTPHOSModuleMergerComponent();
16   AliHLTPHOSModuleMergerComponent(const AliHLTPHOSModuleMergerComponent & );
17   AliHLTPHOSModuleMergerComponent & operator = (const AliHLTPHOSModuleMergerComponent &)
18    {
19       return *this;
20    };
21
22
23
24   virtual int DoInit( int argc, const char** argv );
25   virtual int Deinit();
26   virtual int DoDeinit();
27   void DumpData();
28   void SetEquippmentId(int id);
29   int GetEquippmentId();
30   //  virtual const char* GetComponentID() = 0;
31   virtual const char* GetComponentID();
32
33   virtual void GetInputDataTypes(std::vector<AliHLTComponentDataType, std::allocator<AliHLTComponentDataType> >&);
34   virtual AliHLTComponentDataType GetOutputDataType();
35   virtual void GetOutputDataSize(unsigned long& constBase, double& inputMultiplier);
36   //  virtual AliHLTComponent* Spawn() = 0;
37
38   virtual int DoEvent(const AliHLTComponentEventData&, const AliHLTComponentBlockData*, AliHLTComponentTriggerData&, AliHLTUInt8_t*, AliHLTUInt32_t&, std::vector<AliHLTComponentBlockData, std::allocator<AliHLTComponentBlockData> >&);
39   virtual AliHLTComponent* Spawn();
40  protected:
41   //  AliHLTPHOSRawAnalyzer *analyzerPtr; 
42   void Reset();
43   void ResetDataPtr();
44
45  private:
46   int fEventCount;
47   AliHLTUInt32_t fEquippmentID;
48   Double_t fTmpChannelData[1008];
49   Double_t fMaxValues[5][64][56][2];
50   //  TH2S *legoPlotPtr;
51
52   //  AliCaloRawStream *fPHOSRawStream;
53   //  AliRawReaderMemory *fRawMemoryReader;
54   static const AliHLTComponentDataType inputDataTypes[];
55   static const AliHLTComponentDataType outputDataType;
56   
57 };
58
59 #endif