]>
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. | |
24 | */ | |
71d7c760 | 25 | class AliHLTTPCVertexFinderComponent : public AliHLTProcessor |
26 | { | |
27 | public: | |
28 | AliHLTTPCVertexFinderComponent(); | |
29 | virtual ~AliHLTTPCVertexFinderComponent(); | |
30 | ||
31 | // Public functions to implement AliHLTComponent's interface. | |
32 | // These functions are required for the registration process | |
33 | ||
34 | const char* GetComponentID(); | |
8ede8717 | 35 | void GetInputDataTypes( vector<AliHLTComponentDataType>& list); |
36 | AliHLTComponentDataType GetOutputDataType(); | |
71d7c760 | 37 | virtual void GetOutputDataSize( unsigned long& constBase, double& inputMultiplier ); |
38 | AliHLTComponent* Spawn(); | |
a655eae3 | 39 | |
71d7c760 | 40 | protected: |
41 | ||
42 | // Protected functions to implement AliHLTComponent's interface. | |
43 | // These functions provide initialization as well as the actual processing | |
44 | // capabilities of the component. | |
45 | ||
46 | int DoInit( int argc, const char** argv ); | |
47 | int DoDeinit(); | |
8ede8717 | 48 | int DoEvent( const AliHLTComponentEventData& evtData, const AliHLTComponentBlockData* blocks, |
49 | AliHLTComponentTriggerData& trigData, AliHLTUInt8_t* outputPtr, | |
50 | AliHLTUInt32_t& size, vector<AliHLTComponentBlockData>& outputBlocks ); | |
5d2abf3b | 51 | |
52 | using AliHLTProcessor::DoEvent; | |
71d7c760 | 53 | |
54 | private: | |
e67b0680 | 55 | /** copy constructor prohibited */ |
e419b223 | 56 | AliHLTTPCVertexFinderComponent(const AliHLTTPCVertexFinderComponent&); |
e67b0680 | 57 | /** assignment operator prohibited */ |
e419b223 | 58 | AliHLTTPCVertexFinderComponent& operator=(const AliHLTTPCVertexFinderComponent&); |
71d7c760 | 59 | |
e67b0680 | 60 | AliHLTTPCVertexFinder* fVertexFinder; //! transient |
71d7c760 | 61 | |
e67b0680 | 62 | ClassDef(AliHLTTPCVertexFinderComponent, 0); |
71d7c760 | 63 | }; |
64 | #endif |