]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/TPCLib/AliHLTTPCClusterFinderComponent.h
Jochen's TPCLib source code from Jan 2006 merged
[u/mrichter/AliRoot.git] / HLT / TPCLib / AliHLTTPCClusterFinderComponent.h
1 // @(#) $Id$
2
3 #ifndef ALIHLTTPCCLUSTERFINDERCOMPONENT_H
4 #define ALIHLTTPCCLUSTERFINDERCOMPONENT_H
5
6 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
7  * See cxx source for full Copyright notice                               */
8
9 /* AliHLTTPCClusterFinderComponent
10  */
11
12 #include "AliHLTProcessor.h"
13 #include "AliHLTTPCDefinitions.h"
14 #include "AliHLTTPCDigitReaderPacked.h"
15 #include "AliHLTTPCDigitReaderUnpacked.h"
16
17 class AliHLTTPCClusterFinder;
18
19 class AliHLTTPCClusterFinderComponent : public AliHLTProcessor
20     {
21     public:
22         AliHLTTPCClusterFinderComponent(bool packed);
23         virtual ~AliHLTTPCClusterFinderComponent();
24
25         // Public functions to implement AliHLTComponent's interface.
26         // These functions are required for the registration process
27
28         const char* GetComponentID();
29         void GetInputDataTypes( vector<AliHLTComponent_DataType>& list);
30         AliHLTComponent_DataType GetOutputDataType();
31         virtual void GetOutputDataSize( unsigned long& constBase, double& inputMultiplier );
32         AliHLTComponent* Spawn();
33         
34     protected:
35         
36         // Protected functions to implement AliHLTComponent's interface.
37         // These functions provide initialization as well as the actual processing
38         // capabilities of the component. 
39
40         int DoInit( int argc, const char** argv );
41         int DoDeinit();
42         int DoEvent( const AliHLTComponent_EventData& evtData, const AliHLTComponent_BlockData* blocks, 
43                      AliHLTComponent_TriggerData& trigData, AliHLTUInt8_t* outputPtr, 
44                      AliHLTUInt32_t& size, vector<AliHLTComponent_BlockData>& outputBlocks );
45         
46     private:
47
48       AliHLTTPCClusterFinder* fClusterFinder;
49       AliHLTTPCDigitReaderPacked* fReaderPacked;
50       AliHLTTPCDigitReaderUnpacked* fReaderUnpacked;
51       bool fClusterDeconv;
52       float fXYClusterError;
53       float fZClusterError;
54       Int_t fPackedSwitch;
55       
56       ClassDef(AliHLTTPCClusterFinderComponent, 0)
57
58     };
59 #endif