18 : theTrackingGeometry(trackingGeometry) {}
34 throw cms::Exception(
"MTD|RecoMTD|MTDTransientTrackingRecHitBuilder")
35 <<
"ERROR! You are trying to build a MTDTransientTrackingRecHit with a non valid GlobalTrackingGeometry";
virtual RecHitPointer cloneSH() const
edm::ESHandle< GlobalTrackingGeometry > theTrackingGeometry
MTDTransientTrackingRecHitBuilder(edm::ESHandle< GlobalTrackingGeometry > trackingGeometry=nullptr)
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
TransientTrackingRecHit::RecHitPointer RecHitPointer
RecHitPointer build(const TrackingRecHit *p, edm::ESHandle< GlobalTrackingGeometry > trackingGeometry) const
Call the MTDTransientTrackingRecHit::specificBuild.
TransientTrackingRecHit::ConstRecHitContainer ConstRecHitContainer
DetId geographicalId() const
constexpr Detector det() const
get the detector field from this detid