9 else if(
mtd_ !=
nullptr &&
14 <<
"Error: called GlobalDetLayerGeometry::idToLayer() for a detId which is neither Tracker nor Muon " << (
mtd_ ==
nullptr ?
"" :
"nor MTD ")
const DetLayer * idToLayer(const DetId &detId) const override
return the DetLayer which correspond to a certain DetId
const MTDDetLayerGeometry * mtd_
const DetLayer * idToLayer(const DetId &detId) const override
Give the DetId of a module, returns the pointer to the corresponding DetLayer.
constexpr int subdetId() const
get the contents of the subdetector field (not cast into any detector's numbering enum) ...
const MuonDetLayerGeometry * muon_
#define TYPELOOKUP_DATA_REG(_dataclass_)
const DetLayer * idToLayer(const DetId &detId) const override
return the DetLayer which correspond to a certain DetId
const GeometricSearchTracker * tracker_
const DetLayer * idToLayer(const DetId &detId) const override
Give the DetId of a module, returns the pointer to the corresponding DetLayer.
constexpr Detector det() const
get the detector field from this detid