4 #ifndef ALIHLTTPCSLICETRACKERCOMPONENT_H
5 #define ALIHLTTPCSLICETRACKERCOMPONENT_H
6 /* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
7 * See cxx source for full Copyright notice */
9 /* AliHLTTPCSliceTrackerComponent
12 #include "AliHLTProcessor.h"
13 #include "AliHLTTPCDefinitions.h"
15 class AliHLTTPCConfMapper;
16 class AliHLTTPCVertex;
18 class AliHLTTPCSliceTrackerComponent : public AliHLTProcessor
21 AliHLTTPCSliceTrackerComponent();
22 virtual ~AliHLTTPCSliceTrackerComponent();
24 // Public functions to implement AliHLTComponent's interface.
25 // These functions are required for the registration process
27 const char* GetComponentID();
28 void GetInputDataTypes( vector<AliHLTComponentDataType>& list);
29 AliHLTComponentDataType GetOutputDataType();
30 virtual void GetOutputDataSize( unsigned long& constBase, double& inputMultiplier );
31 AliHLTComponent* Spawn();
35 void SetTrackerParam(Int_t phi_segments=50,Int_t eta_segments=100,
36 Int_t trackletlength=3,Int_t tracklength=5,
37 Int_t rowscopetracklet=2,Int_t rowscopetrack=3,
38 Double_t min_pt_fit=0,Double_t maxangle=1.31,
39 Double_t goodDist=5,Double_t hitChi2Cut=10,
40 Double_t goodHitChi2=20,Double_t trackChi2Cut=50,
41 Int_t maxdist=50,Double_t maxphi=0.1,Double_t maxeta=0.1,
42 bool vertexconstraint=true);
43 void SetTrackerParam( bool doPP, int multiplicity, double bField );
44 void SetTrackerParam1()
46 SetTrackerParam( 10, 20, 5, 10, 2,2,
48 50, 100, 50, 0.1, 0.1,
52 // Protected functions to implement AliHLTComponent's interface.
53 // These functions provide initialization as well as the actual processing
54 // capabilities of the component.
56 int DoInit( int argc, const char** argv );
58 int DoEvent( const AliHLTComponentEventData& evtData, const AliHLTComponentBlockData* blocks,
59 AliHLTComponentTriggerData& trigData, AliHLTUInt8_t* outputPtr,
60 AliHLTUInt32_t& size, vector<AliHLTComponentBlockData>& outputBlocks );
64 AliHLTTPCConfMapper* fTracker;
65 AliHLTTPCVertex* fVertex;
72 // BEGINN ############################################## MODIFIY JMT
73 Bool_t fnonvertextracking; // enable NONVERTEX Tracking
74 Bool_t fmainvertextracking; // enable MAINVERTEX Tracking
75 // END ################################################# MODIFIY JMT
77 ClassDef(AliHLTTPCSliceTrackerComponent, 0)