]>
Commit | Line | Data |
---|---|---|
71d7c760 | 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 | ||
e67b0680 | 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 | |
71d7c760 | 14 | |
15 | #include "AliHLTProcessor.h" | |
71d7c760 | 16 | |
a6c02c85 | 17 | class AliHLTTPCVertexFinder; |
71d7c760 | 18 | |
e67b0680 | 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. | |
2efb85be | 24 | * |
25 | * @ingroup alihlt_tpc_components | |
e67b0680 | 26 | */ |
71d7c760 | 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(); | |
8ede8717 | 37 | void GetInputDataTypes( vector<AliHLTComponentDataType>& list); |
38 | AliHLTComponentDataType GetOutputDataType(); | |
71d7c760 | 39 | virtual void GetOutputDataSize( unsigned long& constBase, double& inputMultiplier ); |
40 | AliHLTComponent* Spawn(); | |
a655eae3 | 41 | |
71d7c760 | 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(); | |
8ede8717 | 50 | int DoEvent( const AliHLTComponentEventData& evtData, const AliHLTComponentBlockData* blocks, |
51 | AliHLTComponentTriggerData& trigData, AliHLTUInt8_t* outputPtr, | |
52 | AliHLTUInt32_t& size, vector<AliHLTComponentBlockData>& outputBlocks ); | |
5d2abf3b | 53 | |
54 | using AliHLTProcessor::DoEvent; | |
71d7c760 | 55 | |
56 | private: | |
e67b0680 | 57 | /** copy constructor prohibited */ |
e419b223 | 58 | AliHLTTPCVertexFinderComponent(const AliHLTTPCVertexFinderComponent&); |
e67b0680 | 59 | /** assignment operator prohibited */ |
e419b223 | 60 | AliHLTTPCVertexFinderComponent& operator=(const AliHLTTPCVertexFinderComponent&); |
71d7c760 | 61 | |
e67b0680 | 62 | AliHLTTPCVertexFinder* fVertexFinder; //! transient |
71d7c760 | 63 | |
e67b0680 | 64 | ClassDef(AliHLTTPCVertexFinderComponent, 0); |
71d7c760 | 65 | }; |
66 | #endif |