, fGeometryFileName("")
, fGeometryFile(NULL)
, fGeoManager(NULL)
+ , fReconstructor(NULL)
, fTracker(NULL)
, fRecoParam(NULL)
{
return -1;
}
- AliTRDReconstructor::SetRecoParam(fRecoParam);
-
+ // this is important in case we want to ::PropagateBack - see the TrackerV1.cxx
+ //fRecoParam->SetSeeding(kTRUE);
+ // no debug stream -> no debug files! on HLT
+ //fRecoParam->SetStreamLevel(0);
+
+ //AliTRDReconstructor reconstructor; reconstructor.SetRecoParam(fRecoParam);
+ // AB 10.Jul.08
+ // temporary until recoParam in the OCDB
+ fReconstructor = new AliTRDReconstructor();
+ fReconstructor->SetRecoParam(fRecoParam);
+ fReconstructor->SetStreamLevel(0); // default value
+ fReconstructor->SetOption("sa,!cw");
+
// geometry:
// for some unknown at this point reason (30th of April 2008)
// the TrackerV1 initializes new TRDgeometry in the constructor
// create the tracker
fTracker = new AliTRDtrackerV1();
+ fTracker->SetReconstructor(fReconstructor);
HLTDebug("TRDTracker at 0x%x", fTracker);
if (fTracker == 0)
return -1;
}
- // this is important in case we want to ::PropagateBack - see the TrackerV1.cxx
- AliTRDReconstructor::SetSeedingOn(kTRUE);
-
- // no debug stream -> no debug files! on HLT
- AliTRDReconstructor::SetStreamLevel(0);
-
return 0;
}
delete fTracker;
fTracker = 0;
+ // AB 10.Jul.08
+ delete fReconstructor;
+ fReconstructor = 0x0;
+
if (fGeometryFile)
{
fGeometryFile->Close();