18 : theTrackingGeometry(trackingGeometry) {}
34 throw cms::Exception(
"Muon|RecoMuon|MuonTransientTrackingRecHitBuilder")
35 <<
"ERROR! You are trying to build a MuonTransientTrackingRecHit with a non valid GlobalTrackingGeometry";
TransientTrackingRecHit::ConstRecHitContainer ConstRecHitContainer
TransientTrackingRecHit::RecHitPointer RecHitPointer
const GeomDet * idToDet(DetId) const override
RecHitPointer build(const TrackingRecHit *p, edm::ESHandle< GlobalTrackingGeometry > trackingGeometry) const
Call the MuonTransientTrackingRecHit::specificBuild.
MuonTransientTrackingRecHitBuilder(edm::ESHandle< GlobalTrackingGeometry > trackingGeometry=nullptr)
edm::ESHandle< GlobalTrackingGeometry > theTrackingGeometry
static MuonRecHitPointer specificBuild(const GeomDet *geom, const TrackingRecHit *rh)