3 #ifndef ALIHLTTRDTRACKERCOMPONENT_H
4 #define ALIHLTTRDTRACKERCOMPONENT_H
5 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
6 * See cxx source for full Copyright notice */
8 /** @file AliHLTTRDTrackerComponent.h
9 @author Timm Steinbeck, Matthias Richter
11 @brief Declaration of a TRDTracker component. */
14 #include "AliHLTProcessor.h"
16 class AliTRDclusterizerV1HLT;
19 class AliTRDtrackerHLT;
23 * @class AliHLTTRDTrackerComponent
24 * @brief A TRDTracker HLT processing component.
26 * An implementiation of a TRDTracker component that just copies its input data
27 * as a test, demonstration, and example of the HLT component scheme.
28 * @ingroup alihlt_tutorial
30 class AliHLTTRDTrackerComponent : public AliHLTProcessor
33 AliHLTTRDTrackerComponent();
34 virtual ~AliHLTTRDTrackerComponent();
36 // Public functions to implement AliHLTComponent's interface.
37 // These functions are required for the registration process
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();
47 // Protected functions to implement AliHLTComponent's interface.
48 // These functions provide initialization as well as the actual processing
49 // capabilities of the component.
51 int DoInit( int argc, const char** argv );
53 /* int DoEvent( const AliHLTComponent_EventData& evtData, const AliHLTComponent_BlockData* blocks, */
54 /* AliHLTComponent_TriggerData& trigData, AliHLTUInt8_t* outputPtr, */
55 /* AliHLTUInt32_t& size, vector<AliHLTComponent_BlockData>& outputBlocks ); */
56 int DoEvent( const AliHLTComponentEventData & evtData,
57 AliHLTComponentTriggerData & trigData );
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;
65 string fStrorageDBpath;
66 AliTRDclusterizerV1HLT *fClusterizer; //!
67 AliCDBManager *fCDB; //!
69 AliMagFMaps* fField; //! magn. field settings
71 string fGeometryFileName;
72 TFile *fGeometryFile; //!
73 TGeoManager *fGeoManager; //!
75 AliTRDtrackerHLT *fTracker;//!
77 ClassDef(AliHLTTRDTrackerComponent, 0)