]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/TRD/AliHLTTRDTrackerV1Component.h
updated cluster histo component for ITS (Gaute)
[u/mrichter/AliRoot.git] / HLT / TRD / AliHLTTRDTrackerV1Component.h
1 #ifndef ALIHLTTRDTRACKERV1COMPONENT_H
2 #define ALIHLTTRDTRACKERV1COMPONENT_H
3 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4  * See cxx source for full Copyright notice                               */
5
6 /** @file   AliHLTTRDTrackerV1Component.h
7     @author Timm Steinbeck, Matthias Richter
8     @date   
9     @brief  Declaration of a TRDTracker component. */
10
11 #include "AliHLTProcessor.h"
12
13 class TFile;
14 class TTree;
15
16 class TGeoManager;
17 class AliCDBManager;
18 class AliMagF;
19 class AliTRDtrackerV1;
20 class AliTRDrecoParam;
21 class AliTRDReconstructor;
22
23 /**
24  * @class AliHLTTRDTrackerV1Component
25  * @brief A TRDTrackerV1 HLT processing component. 
26  *
27  * Uses the second generation TRD tracker AliTRDtrackerV1
28 */
29
30 class AliHLTTRDTrackerV1Component : public AliHLTProcessor
31     {
32     public:
33         AliHLTTRDTrackerV1Component();
34         virtual ~AliHLTTRDTrackerV1Component();
35
36         // Public functions to implement AliHLTComponent's interface.
37         // These functions are required for the registration process
38
39         const char* GetComponentID();
40         void GetInputDataTypes( vector<AliHLTComponent_DataType>& list);
41         AliHLTComponent_DataType GetOutputDataType();
42         virtual void GetOutputDataSize( unsigned long& constBase, double& inputMultiplier );
43         AliHLTComponent* Spawn();
44         
45     protected:
46         AliHLTUInt32_t TransportTracks(TClonesArray *inTracksArray, AliHLTUInt8_t* output,
47                                        vector<AliHLTComponent_BlockData>& outputBlocks, AliHLTUInt32_t inOffset, AliHLTUInt32_t inSpec);
48         
49         // Protected functions to implement AliHLTComponent's interface.
50         // These functions provide initialization as well as the actual processing
51         // capabilities of the component. 
52
53         int DoInit( int argc, const char** argv );
54         int DoDeinit();
55         int DoEvent( const AliHLTComponentEventData& evtData, 
56                      const AliHLTComponentBlockData* blocks, 
57                      AliHLTComponent_TriggerData& /*trigData*/, 
58                      AliHLTUInt8_t* outputPtr, 
59                      AliHLTUInt32_t& size, 
60                      vector<AliHLTComponent_BlockData>& outputBlocks );
61         using AliHLTProcessor::DoEvent;
62         
63     private:
64         /** copy constructor prohibited */
65         AliHLTTRDTrackerV1Component(const AliHLTTRDTrackerV1Component&);
66         /** assignment operator prohibited */
67         AliHLTTRDTrackerV1Component& operator=(const AliHLTTRDTrackerV1Component&);
68
69         // The size of the output data produced, as a percentage of the input data's size.
70         // Can be greater than 100 (%)
71         unsigned fOutputPercentage; // Output volume in percentage of the input
72
73         string fStrorageDBpath; // Default path for OCDB
74         AliCDBManager *fCDB; //! Pointer to OCDB
75
76         string fGeometryFileName; // Path to geometry file 
77         
78         AliTRDtrackerV1 *fTracker;//! Offline-pure/HLT tracker V1
79         AliTRDrecoParam *fRecoParam; //! Offline reco params
80         AliTRDReconstructor * fReconstructor;
81         
82         ClassDef(AliHLTTRDTrackerV1Component, 0)
83
84     };
85 #endif