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;
21 * @class AliHLTTRDTrackerComponent
22 * @brief A TRDTrackerV1 HLT processing component.
24 * Uses the second generation TRD tracker AliTRDtrackerV1
27 class AliHLTTRDTrackerV1Component : public AliHLTProcessor
30 AliHLTTRDTrackerV1Component();
31 virtual ~AliHLTTRDTrackerV1Component();
33 // Public functions to implement AliHLTComponent's interface.
34 // These functions are required for the registration process
36 const char* GetComponentID();
37 void GetInputDataTypes( vector<AliHLTComponent_DataType>& list);
38 AliHLTComponent_DataType GetOutputDataType();
39 virtual void GetOutputDataSize( unsigned long& constBase, double& inputMultiplier );
40 AliHLTComponent* Spawn();
44 // Protected functions to implement AliHLTComponent's interface.
45 // These functions provide initialization as well as the actual processing
46 // capabilities of the component.
48 int DoInit( int argc, const char** argv );
50 int DoEvent( const AliHLTComponentEventData & evtData,
51 AliHLTComponentTriggerData & trigData );
53 using AliHLTProcessor::DoEvent;
56 /** copy constructor prohibited */
57 AliHLTTRDTrackerV1Component(const AliHLTTRDTrackerV1Component&);
58 /** assignment operator prohibited */
59 AliHLTTRDTrackerV1Component& operator=(const AliHLTTRDTrackerV1Component&);
61 // The size of the output data produced, as a percentage of the input data's size.
62 // Can be greater than 100 (%)
63 unsigned fOutputPercentage; // Output volume in percentage of the input
65 string fStrorageDBpath; // Default path for OCDB
66 AliCDBManager *fCDB; //! Pointer to OCDB
68 AliMagFMaps* fField; //! magn. field settings
70 string fGeometryFileName; // Path to geometry file
71 TFile *fGeometryFile; //! // Pointer to the geom root file
72 TGeoManager *fGeoManager; //! Pointer to geometry manager
74 AliTRDtrackerV1 *fTracker;//! Offline-pure/HLT tracker V1
75 AliTRDrecoParam *fRecoParam; //! Offline reco params
77 ClassDef(AliHLTTRDTrackerV1Component, 0)