3 #ifndef ALIHLTTRDTRACKERV1COMPONENT_H
4 #define ALIHLTTRDTRACKERV1COMPONENT_H
5 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
6 * See cxx source for full Copyright notice */
8 /** @file AliHLTTRDTrackerV1Component.h
11 @brief Declaration of a TRDTracker component. */
13 #include "AliHLTProcessor.h"
21 class AliTRDtrackerV1;
22 class AliTRDrecoParam;
23 class AliTRDReconstructor;
28 * @class AliHLTTRDTrackerV1Component
29 * @brief A TRDTrackerV1 HLT processing component.
31 * Uses the second generation TRD tracker AliTRDtrackerV1
34 class AliHLTTRDTrackerV1Component : public AliHLTProcessor
37 AliHLTTRDTrackerV1Component();
38 virtual ~AliHLTTRDTrackerV1Component();
40 // Public functions to implement AliHLTComponent's interface.
41 // These functions are required for the registration process
43 const char* GetComponentID();
44 void GetInputDataTypes( vector<AliHLTComponent_DataType>& list);
45 AliHLTComponent_DataType GetOutputDataType();
46 virtual void GetOutputDataSize( unsigned long& constBase, double& inputMultiplier );
47 AliHLTComponent* Spawn();
50 // Protected functions to implement AliHLTComponent's interface.
51 // These functions provide initialization as well as the actual processing
52 // capabilities of the component.
54 int DoInit( int argc, const char** argv );
56 int DoEvent( const AliHLTComponentEventData& evtData,
57 const AliHLTComponentBlockData* blocks,
58 AliHLTComponent_TriggerData& /*trigData*/,
59 AliHLTUInt8_t* outputPtr,
61 vector<AliHLTComponent_BlockData>& outputBlocks );
62 int Reconfigure(const char* cdbEntry, const char* chainId);
63 int ReadPreprocessorValues(const char* modules);
65 using AliHLTProcessor::DoEvent;
67 int Configure(const char* arguments);
69 int ReconfigureField();
72 /** copy constructor prohibited */
73 AliHLTTRDTrackerV1Component(const AliHLTTRDTrackerV1Component&);
74 /** assignment operator prohibited */
75 AliHLTTRDTrackerV1Component& operator=(const AliHLTTRDTrackerV1Component&);
77 // The size of the output data produced, as a percentage of the input data's size.
78 // Can be greater than 100 (%)
79 unsigned fOutputPercentage; // Output volume in percentage of the input
81 AliTRDtrackerV1 *fTracker;//! Offline-pure/HLT tracker V1
82 AliTRDrecoParam *fRecoParam; //! Offline reco params
83 AliTRDReconstructor * fReconstructor;
86 TClonesArray* fClusterArray;
88 Int_t fRecoParamType; // default will be the low flux
89 Int_t fNtimeBins; // number of time bins for the tracker to use
90 Int_t fMagneticField; // magnetic field: 0==OFF and 1==ON
91 Int_t fPIDmethod; // 0=LikelyHood(LH) 1=NeuronalNetwork(NN) 2=TruncatedMean(TM)
92 TString fgeometryFileName;
93 Double_t fieldStrength;
96 ClassDef(AliHLTTRDTrackerV1Component, 3)