]>
Commit | Line | Data |
---|---|---|
91b95d47 | 1 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * |
2 | * See cxx source for full Copyright notice */ | |
3 | ||
5894eaa5 | 4 | /** @file AliHLTPHOSClusterizerComponent.h |
d2b84453 | 5 | @author Ã\98ystein Djuvsland |
91b95d47 | 6 | @date |
7 | @brief A clusterizer component for PHOS HLT | |
8 | */ | |
9 | ||
10 | ||
11 | #ifndef ALIHLTPHOSCLUSTERIZERCOMPONENT_H | |
12 | #define ALIHLTPHOSCLUSTERIZERCOMPONENT_H | |
aac22523 | 13 | |
aac22523 | 14 | |
91b95d47 | 15 | |
9c9d15d6 | 16 | #include "AliHLTPHOSProcessor.h" |
17 | ||
18 | //#include "AliHLTPHOSBase.h" | |
d2b84453 | 19 | //#include "AliHLTPHOSDefinitions.h" |
20 | //#include "AliHLTProcessor.h" | |
21 | ||
91b95d47 | 22 | class AliHLTPHOSClusterizer; |
d2b84453 | 23 | |
24 | //class Rtypes; | |
25 | ||
91b95d47 | 26 | struct AliHLTPHOSRcuCellEnergyDataStruct; |
27 | struct AliHLTPHOSClusterDataStruct; | |
28 | struct AliHLTPHOSRecPointDataStruct; | |
29 | struct AliHLTPHOSRecPointListDataStruct; | |
aac22523 | 30 | |
31 | ||
9c9d15d6 | 32 | |
33 | // PTH class AliHLTPHOSClusterizerComponent: public AliHLTPHOSBase, public AliHLTProcessor | |
34 | class AliHLTPHOSClusterizerComponent: public AliHLTPHOSProcessor | |
35 | //class AliHLTPHOSClusterizerComponent: public AliHLTPHOSBase, public AliHLTProcessor | |
aac22523 | 36 | { |
37 | public: | |
38 | ||
39 | AliHLTPHOSClusterizerComponent(); | |
40 | ~AliHLTPHOSClusterizerComponent(); | |
d2b84453 | 41 | |
42 | // AliHLTPHOSClusterizerComponent(const AliHLTPHOSClusterizerComponent &); | |
43 | // AliHLTPHOSClusterizerComponent & operator = (const AliHLTPHOSClusterizerComponent &) | |
44 | // { | |
45 | ||
46 | // return *this; | |
47 | // } | |
48 | ||
9c9d15d6 | 49 | |
50 | ||
aac22523 | 51 | const char* GetComponentID(); |
7c4091c1 | 52 | void GetInputDataTypes(vector<AliHLTComponentDataType>& list); |
aac22523 | 53 | |
54 | AliHLTComponentDataType GetOutputDataType(); | |
55 | ||
56 | void GetOutputDataSize(unsigned long& constBase, double& inputMultiplier); | |
57 | ||
6e709a0d | 58 | int DoEvent(const AliHLTComponentEventData&, const AliHLTComponentBlockData*, |
aac22523 | 59 | AliHLTComponentTriggerData&, AliHLTUInt8_t*, AliHLTUInt32_t&, |
60 | std::vector<AliHLTComponentBlockData>&); | |
61 | ||
62 | AliHLTComponent* Spawn(); | |
63 | ||
64 | protected: | |
65 | ||
9c9d15d6 | 66 | |
6e709a0d | 67 | int DoInit(int argc, const char** argv); |
9c9d15d6 | 68 | virtual int Deinit(); ////////// PTH WARNING you should Define a class AliHLTPHOSModuleProcessor |
6e709a0d | 69 | int DoDeinit(); |
aac22523 | 70 | |
71 | private: | |
91b95d47 | 72 | AliHLTPHOSClusterizer* fClusterizerPtr; //Pointer to the clusterizer |
73 | AliHLTPHOSClusterDataStruct* fOutPtr; //Pointer to the struct of output clusters | |
74 | AliHLTPHOSRecPointDataStruct* fRecPointStructArrayPtr; //Pointer to the struct of output recpoints | |
75 | AliHLTPHOSRecPointListDataStruct* fRecPointListPtr; //Pointer to the struct of list of output recpoints | |
76 | static const AliHLTComponentDataType fgkInputDataTypes[]; //HLT input data type | |
aac22523 | 77 | |
78 | }; | |
79 | ||
80 | #endif |