constexpr Detector det() const
get the detector field from this detid
GlobalPoint pivotPosition_
virtual std::shared_ptr< const CaloCellGeometry > getGeometry(const DetId &id) const
Get the cell geometry of a given detector id. Should return false if not found.
T mag2() const
The vector magnitude squared. Equivalent to vec.dot(vec)
const CaloSubdetectorGeometry * det_
bool operator()(const DetId &c1, const DetId &c2)