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