CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GeomDetUnit.cc
Go to the documentation of this file.
2 
5 
7 {}
8 
10  GeomDet(plane) {}
11 
13 {}
14 
16  return type().subDetector();
17 }
18 
20 {
21  throw cms::Exception("Geometry")
22  << "setting SurfaceDeformation not implemented for DetId "
23  << geographicalId().rawId() << " det="
24  << geographicalId().det() << " subdetId="
25  << geographicalId().subdetId();
26 }
uint32_t rawId() const
get the raw id
Definition: DetId.h:45
virtual ~GeomDetUnit()
Definition: GeomDetUnit.cc:12
DetId geographicalId() const
The label of this GeomDet.
Definition: GeomDet.h:72
virtual const GeomDetType & type() const =0
int subdetId() const
get the contents of the subdetector field (not cast into any detector&#39;s numbering enum) ...
Definition: DetId.h:39
GeomDetUnit(BoundPlane *sp)
Definition: GeomDetUnit.cc:6
virtual void setSurfaceDeformation(const SurfaceDeformation *deformation)
Definition: GeomDetUnit.cc:19
virtual SubDetector subDetector() const
Which subdetector.
Definition: GeomDetUnit.cc:15
Detector det() const
get the detector field from this detid
Definition: DetId.h:37
SubDetector subDetector() const
Definition: GeomDetType.h:22