]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/PHOS/AliHLTPHOSRawAnalyzerComponent.h
Cut on minimal amplitude to dump
[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 "AliHLTProcessor.h"
10 #include "AliHLTPHOSRawAnalyzer.h"
11 #include "AliRawReaderMemory.h"
12 #include "AliCaloRawStream.h"
13 #include "AliHLTPHOSDefinitions.h"
14
15
16 /*
17 #include "AliHLTTPCRawDataUnpackerComponent.h"
18 #include "AliTPCRawStream.h"
19 #include "AliRawDataHeader.h"
20 #include "AliRawReaderMemory.h"
21 #include "AliHLTTPCRawDataFormat.h"
22 #include "AliHLTTPCDigitData.h"
23 #include "AliHLTTPCTransform.h"
24 #include <stdlib.h>
25 #include <errno.h>
26 */
27
28 class AliHLTPHOSRawAnalyzerComponent: public AliHLTProcessor
29 {
30  public:
31   AliHLTPHOSRawAnalyzerComponent();
32   ~AliHLTPHOSRawAnalyzerComponent();
33   AliHLTPHOSRawAnalyzerComponent(const AliHLTPHOSRawAnalyzerComponent & );
34   AliHLTPHOSRawAnalyzerComponent & operator = (const AliHLTPHOSRawAnalyzerComponent &)
35    {
36       return *this;
37    };
38
39
40
41   virtual int DoInit( int argc, const char** argv );
42   virtual int Deinit();
43   virtual int DoDeinit();
44
45   virtual const char* GetComponentID() = 0;
46
47   virtual void GetInputDataTypes(std::vector<AliHLTComponentDataType, std::allocator<AliHLTComponentDataType> >&);
48   virtual AliHLTComponentDataType GetOutputDataType();
49   virtual void GetOutputDataSize(unsigned long& constBase, double& inputMultiplier);
50   virtual AliHLTComponent* Spawn() = 0;
51
52   virtual int DoEvent(const AliHLTComponentEventData&, const AliHLTComponentBlockData*, AliHLTComponentTriggerData&, AliHLTUInt8_t*, AliHLTUInt32_t&, std::vector<AliHLTComponentBlockData, std::allocator<AliHLTComponentBlockData> >&);
53
54   // private:
55  protected:
56  AliHLTPHOSRawAnalyzer *analyzerPtr; 
57
58  private:
59  int eventCount;
60  //     AliRawReaderMemory *fRawMemoryReader;
61  //     AliTPCRawStream *fTPCRawStream;
62
63  AliCaloRawStream *fPHOSRawStream;
64  AliRawReaderMemory *fRawMemoryReader;
65  static const AliHLTComponentDataType inputDataTypes[];
66  static const AliHLTComponentDataType outputDataType;
67
68 };
69 #endif