]>
Commit | Line | Data |
---|---|---|
c51c5c6c | 1 | //-*- Mode: C++ -*- |
2 | // $Id$ | |
3 | ||
4 | #ifndef ALIHLTPHOSFOURIERCOMPONENT_H | |
5 | #define ALIHLTPHOSFOURIERCOMPONENT_H | |
6 | ||
7 | /************************************************************************** | |
8 | * This file is property of and copyright by the Experimental Nuclear * | |
9 | * Physics Group, Dep. of Physics * | |
10 | * University of Oslo, Norway, 2007 * | |
11 | * * | |
12 | * Author: Per Thomas Hille <perthi@fys.uio.no> for the ALICE HLT Project.* | |
13 | * Contributors are mentioned in the code where appropriate. * | |
14 | * Please report bugs to perthi@fys.uio.no * | |
15 | * * | |
16 | * Permission to use, copy, modify and distribute this software and its * | |
17 | * documentation strictly for non-commercial purposes is hereby granted * | |
18 | * without fee, provided that the above copyright notice appears in all * | |
19 | * copies and that both the copyright notice and this permission notice * | |
20 | * appear in the supporting documentation. The authors make no claims * | |
21 | * about the suitability of this software for any purpose. It is * | |
22 | * provided "as is" without express or implied warranty. * | |
23 | **************************************************************************/ | |
24 | ||
25 | ||
26 | #include "AliHLTPHOSRcuProcessor.h" | |
27 | ||
28 | class AliHLTPHOSFourier; | |
29 | class AliHLTPHOSSharedMemoryInterface; | |
30 | class AliHLTPHOSRcuFFTDataStruct; | |
31 | ||
32 | class AliHLTPHOSFourierComponent : public AliHLTPHOSRcuProcessor | |
33 | { | |
34 | public: | |
35 | AliHLTPHOSFourierComponent(); | |
36 | virtual ~AliHLTPHOSFourierComponent(); | |
37 | int DoInit(int argc, const char** argv); | |
38 | virtual int Deinit(); | |
39 | int DoEvent(const AliHLTComponentEventData& evtData, | |
40 | const AliHLTComponentBlockData* blocks, | |
41 | AliHLTComponentTriggerData& trigData, | |
42 | AliHLTUInt8_t* outputPtr, | |
43 | AliHLTUInt32_t& size, | |
44 | AliHLTComponentBlockDataList& outputBlocks ); | |
45 | ||
46 | virtual const char* GetComponentID(); | |
47 | virtual AliHLTComponent* Spawn(); | |
48 | virtual void GetInputDataTypes( vector <AliHLTComponentDataType>& list); | |
49 | virtual AliHLTComponentDataType GetOutputDataType(); | |
50 | virtual void GetOutputDataSize(unsigned long& constBase, double& inputMultiplier); | |
51 | ||
52 | //virtual int GetOutputDataTypes(AliHLTComponentDataTypeList& list); | |
53 | ||
54 | protected: | |
55 | // int DoInit(int argc, const char** argv); | |
56 | // int DoDeinit(); | |
57 | ||
58 | private: | |
59 | AliHLTPHOSFourierComponent (const AliHLTPHOSFourierComponent & ): AliHLTPHOSRcuProcessor(), | |
60 | fFourierPtr(0), | |
61 | fShmPtr(0), | |
62 | fOutPtr(0) | |
63 | { | |
64 | }; | |
65 | ||
66 | AliHLTPHOSFourierComponent & operator = (const AliHLTPHOSFourierComponent) | |
67 | { | |
68 | return *this; | |
69 | }; | |
70 | ||
71 | AliHLTPHOSFourier *fFourierPtr; | |
72 | AliHLTPHOSSharedMemoryInterface *fShmPtr; // Interface to read altro channel data from shared memory | |
73 | AliHLTPHOSRcuFFTDataStruct* fOutPtr; //comment | |
74 | }; | |
75 | ||
76 | #endif |