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 */
6 /** @file AliHLTTRDTrackerComponent.h
7 @author Timm Steinbeck, Matthias Richter
9 @brief Declaration of a TRDTracker component. */
11 #include "AliHLTProcessor.h"
17 class AliTRDtrackerV1;
18 class AliTRDrecoParam;
19 class AliTRDReconstructor;
22 * @class AliHLTTRDTrackerComponent
23 * @brief A TRDTrackerV1 HLT processing component.
25 * Uses the second generation TRD tracker AliTRDtrackerV1
28 class AliHLTTRDTrackerV1Component : public AliHLTProcessor
31 AliHLTTRDTrackerV1Component();
32 virtual ~AliHLTTRDTrackerV1Component();
34 // Public functions to implement AliHLTComponent's interface.
35 // These functions are required for the registration process
37 const char* GetComponentID();
38 void GetInputDataTypes( vector<AliHLTComponent_DataType>& list);
39 AliHLTComponent_DataType GetOutputDataType();
40 virtual void GetOutputDataSize( unsigned long& constBase, double& inputMultiplier );
41 AliHLTComponent* Spawn();
45 // Protected functions to implement AliHLTComponent's interface.
46 // These functions provide initialization as well as the actual processing
47 // capabilities of the component.
49 int DoInit( int argc, const char** argv );
51 int DoEvent( const AliHLTComponentEventData & evtData,
52 AliHLTComponentTriggerData & trigData );
54 using AliHLTProcessor::DoEvent;
57 /** copy constructor prohibited */
58 AliHLTTRDTrackerV1Component(const AliHLTTRDTrackerV1Component&);
59 /** assignment operator prohibited */
60 AliHLTTRDTrackerV1Component& operator=(const AliHLTTRDTrackerV1Component&);
62 // The size of the output data produced, as a percentage of the input data's size.
63 // Can be greater than 100 (%)
64 unsigned fOutputPercentage; // Output volume in percentage of the input
66 string fStrorageDBpath; // Default path for OCDB
67 AliCDBManager *fCDB; //! Pointer to OCDB
69 AliMagFMaps* fField; //! magn. field settings
71 string fGeometryFileName; // Path to geometry file
72 TFile *fGeometryFile; //! // Pointer to the geom root file
73 TGeoManager *fGeoManager; //! Pointer to geometry manager
75 AliTRDtrackerV1 *fTracker;//! Offline-pure/HLT tracker V1
76 AliTRDrecoParam *fRecoParam; //! Offline reco params
77 AliTRDReconstructor * fReconstructor;
79 ClassDef(AliHLTTRDTrackerV1Component, 0)