1 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
2 * See cxx source for full Copyright notice */
4 /** @file AliHLTPHOSClusterizerComponent.h
5 @author Ã
\98ystein Djuvsland
7 @brief A clusterizer component for PHOS HLT
11 #ifndef ALIHLTPHOSCLUSTERIZERCOMPONENT_H
12 #define ALIHLTPHOSCLUSTERIZERCOMPONENT_H
16 #include "AliHLTPHOSProcessor.h"
18 //#include "AliHLTPHOSBase.h"
19 //#include "AliHLTPHOSDefinitions.h"
20 //#include "AliHLTProcessor.h"
22 class AliHLTPHOSClusterizer;
26 struct AliHLTPHOSRcuCellEnergyDataStruct;
27 struct AliHLTPHOSClusterDataStruct;
28 struct AliHLTPHOSRecPointDataStruct;
29 struct AliHLTPHOSRecPointListDataStruct;
33 // PTH class AliHLTPHOSClusterizerComponent: public AliHLTPHOSBase, public AliHLTProcessor
34 class AliHLTPHOSClusterizerComponent: public AliHLTPHOSProcessor
35 //class AliHLTPHOSClusterizerComponent: public AliHLTPHOSBase, public AliHLTProcessor
39 AliHLTPHOSClusterizerComponent();
40 ~AliHLTPHOSClusterizerComponent();
42 // AliHLTPHOSClusterizerComponent(const AliHLTPHOSClusterizerComponent &);
43 // AliHLTPHOSClusterizerComponent & operator = (const AliHLTPHOSClusterizerComponent &)
51 const char* GetComponentID();
52 void GetInputDataTypes(std::vector<AliHLTComponentDataType>& list);
54 AliHLTComponentDataType GetOutputDataType();
56 void GetOutputDataSize(unsigned long& constBase, double& inputMultiplier);
58 int DoEvent(const AliHLTComponentEventData&, const AliHLTComponentBlockData*,
59 AliHLTComponentTriggerData&, AliHLTUInt8_t*, AliHLTUInt32_t&,
60 std::vector<AliHLTComponentBlockData>&);
62 AliHLTComponent* Spawn();
67 int DoInit(int argc, const char** argv);
68 virtual int Deinit(); ////////// PTH WARNING you should Define a class AliHLTPHOSModuleProcessor
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