]>
Commit | Line | Data |
---|---|---|
1 | // XEmacs -*-C++-*- | |
2 | // @(#) $Id$ | |
3 | ||
4 | #ifndef ALIHLTTPCVERTEXFINDERCOMPONENT_H | |
5 | #define ALIHLTTPCVERTEXFINDERCOMPONENT_H | |
6 | /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. * | |
7 | * See cxx source for full Copyright notice */ | |
8 | ||
9 | // see below for class documentation | |
10 | // or | |
11 | // refer to README to build package | |
12 | // or | |
13 | // visit http://web.ift.uib.no/~kjeks/doc/alice-hlt | |
14 | ||
15 | #include "AliHLTProcessor.h" | |
16 | ||
17 | class AliHLTTPCVertexFinder; | |
18 | ||
19 | /** | |
20 | * @class AliHLTTPCVertexFinderComponent | |
21 | * A vertex finder component for the TPC. | |
22 | * This component has never been tested in the new framework and needs certainly | |
23 | * some investigation. | |
24 | * | |
25 | * @ingroup alihlt_tpc_components | |
26 | */ | |
27 | class AliHLTTPCVertexFinderComponent : public AliHLTProcessor | |
28 | { | |
29 | public: | |
30 | AliHLTTPCVertexFinderComponent(); | |
31 | virtual ~AliHLTTPCVertexFinderComponent(); | |
32 | ||
33 | // Public functions to implement AliHLTComponent's interface. | |
34 | // These functions are required for the registration process | |
35 | ||
36 | const char* GetComponentID(); | |
37 | void GetInputDataTypes( vector<AliHLTComponentDataType>& list); | |
38 | AliHLTComponentDataType GetOutputDataType(); | |
39 | virtual void GetOutputDataSize( unsigned long& constBase, double& inputMultiplier ); | |
40 | AliHLTComponent* Spawn(); | |
41 | ||
42 | protected: | |
43 | ||
44 | // Protected functions to implement AliHLTComponent's interface. | |
45 | // These functions provide initialization as well as the actual processing | |
46 | // capabilities of the component. | |
47 | ||
48 | int DoInit( int argc, const char** argv ); | |
49 | int DoDeinit(); | |
50 | int DoEvent( const AliHLTComponentEventData& evtData, const AliHLTComponentBlockData* blocks, | |
51 | AliHLTComponentTriggerData& trigData, AliHLTUInt8_t* outputPtr, | |
52 | AliHLTUInt32_t& size, vector<AliHLTComponentBlockData>& outputBlocks ); | |
53 | ||
54 | using AliHLTProcessor::DoEvent; | |
55 | ||
56 | private: | |
57 | /** copy constructor prohibited */ | |
58 | AliHLTTPCVertexFinderComponent(const AliHLTTPCVertexFinderComponent&); | |
59 | /** assignment operator prohibited */ | |
60 | AliHLTTPCVertexFinderComponent& operator=(const AliHLTTPCVertexFinderComponent&); | |
61 | ||
62 | AliHLTTPCVertexFinder* fVertexFinder; //! transient | |
63 | ||
64 | ClassDef(AliHLTTPCVertexFinderComponent, 0); | |
65 | }; | |
66 | #endif |