]>
Commit | Line | Data |
---|---|---|
187229ab | 1 | // $Id$ |
2 | ||
3 | #ifndef ALIHLTTPCKRYPTONCLUSTERFINDERCOMPONENT_H | |
4 | #define ALIHLTTPCKRYPTONCLUSTERFINDERCOMPONENT_H | |
5 | ||
6 | /* This file is property of and copyright by the ALICE HLT Project * | |
7 | * ALICE Experiment at CERN, All rights reserved. * | |
8 | * See cxx source for full Copyright notice */ | |
9 | ||
10 | /** @file AliHLTTPCKryptonClusterFinderComponent.h | |
11 | @author Timm Steinbeck, Matthias Richter, Jochen Thaeder | |
12 | @date | |
13 | @brief The TPC cluster finder component. | |
14 | */ | |
15 | ||
16 | // see below for class documentation | |
17 | // or | |
18 | // refer to README to build package | |
19 | // or | |
20 | // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt | |
21 | ||
22 | #include "AliHLTProcessor.h" | |
23 | ||
24 | class AliHLTTPCKryptonClusterFinder; | |
25 | class AliHLTTPCDigitReader; | |
26 | ||
27 | /** | |
28 | * @class AliHLTTPCKryptonClusterFinderComponent | |
29 | * Component for the krypton ClusterFinder | |
30 | * @ingroup alihlt_tpc_components | |
31 | */ | |
32 | class AliHLTTPCKryptonClusterFinderComponent : public AliHLTProcessor | |
33 | { | |
34 | public: | |
35 | ||
36 | /** | |
37 | * constructor | |
38 | * @param mode input type see e.g. @ref kClusterFinderUnpacked | |
39 | */ | |
40 | AliHLTTPCKryptonClusterFinderComponent(); | |
41 | /** destructor */ | |
42 | virtual ~AliHLTTPCKryptonClusterFinderComponent(); | |
43 | ||
44 | // Public functions to implement AliHLTComponent's interface. | |
45 | // These functions are required for the registration process | |
46 | ||
47 | /** interface function, see @ref AliHLTComponent for description */ | |
48 | const char* GetComponentID(); | |
49 | /** interface function, see @ref AliHLTComponent for description */ | |
50 | void GetInputDataTypes( vector<AliHLTComponentDataType>& list); | |
51 | /** interface function, see @ref AliHLTComponent for description */ | |
52 | AliHLTComponentDataType GetOutputDataType(); | |
53 | /** interface function, see @ref AliHLTComponent for description */ | |
54 | int GetOutputDataTypes(AliHLTComponentDataTypeList& tgtList); | |
55 | /** interface function, see @ref AliHLTComponent for description */ | |
56 | virtual void GetOutputDataSize( unsigned long& constBase, double& inputMultiplier ); | |
57 | /** interface function, see @ref AliHLTComponent for description */ | |
58 | AliHLTComponent* Spawn(); | |
59 | ||
60 | protected: | |
61 | ||
62 | // Protected functions to implement AliHLTComponent's interface. | |
63 | // These functions provide initialization as well as the actual processing | |
64 | // capabilities of the component. | |
65 | ||
66 | int DoInit( int argc, const char** argv ); | |
67 | int DoDeinit(); | |
68 | int DoEvent( const AliHLTComponentEventData& evtData, const AliHLTComponentBlockData* blocks, | |
69 | AliHLTComponentTriggerData& trigData, AliHLTUInt8_t* outputPtr, | |
70 | AliHLTUInt32_t& size, vector<AliHLTComponentBlockData>& outputBlocks ); | |
71 | int Reconfigure(const char* cdbEntry, const char* chainId); | |
72 | ||
73 | using AliHLTProcessor::DoEvent; | |
74 | ||
75 | private: | |
76 | /** copy constructor prohibited */ | |
77 | AliHLTTPCKryptonClusterFinderComponent(const AliHLTTPCKryptonClusterFinderComponent&); | |
78 | /** assignment operator prohibited */ | |
79 | AliHLTTPCKryptonClusterFinderComponent& operator=(const AliHLTTPCKryptonClusterFinderComponent&); | |
80 | /** the cluster finder object */ | |
81 | AliHLTTPCKryptonClusterFinder* fClusterFinder; //!transient | |
82 | /** the reader object for data decoding */ | |
83 | AliHLTTPCDigitReader* fReader; //!transient | |
84 | ||
85 | ClassDef(AliHLTTPCKryptonClusterFinderComponent, 0) | |
86 | ||
87 | }; | |
88 | #endif |