diff --git a/RecoMuon/TrackingTools/src/MuonTrackLoader.cc b/RecoMuon/TrackingTools/src/MuonTrackLoader.cc index 42fb6dfed1fe4..c8d74335027ca 100644 --- a/RecoMuon/TrackingTools/src/MuonTrackLoader.cc +++ b/RecoMuon/TrackingTools/src/MuonTrackLoader.cc @@ -546,14 +546,7 @@ MuonTrackLoader::loadTracks(const TrajectoryContainer& trajectories, theService->eventSetup().get().get(theSmootherName,aSmoother); theSmoother.reset(aSmoother->clone()); edm::ESHandle theTrackerRecHitBuilder; - try { - std::string theTrackerRecHitBuilderName("WithAngleAndTemplate"); // to be moved to cfg in another PR - theService->eventSetup().get().get(theTrackerRecHitBuilderName,theTrackerRecHitBuilder); - theTrackerRecHitBuilder.product(); - } catch(...) { - std::string theTrackerRecHitBuilderName("hltESPTTRHBWithTrackAngle"); // FIXME FIXME - theService->eventSetup().get().get(theTrackerRecHitBuilderName,theTrackerRecHitBuilder); - } + theService->eventSetup().get().get(theTrackerRecHitBuilderName,theTrackerRecHitBuilder); hitCloner = static_cast(theTrackerRecHitBuilder.product())->cloner(); theSmoother->setHitCloner(&hitCloner); }