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.
4 
6 {}
7 
9  GeomDet(plane) {}
10 
12 {}
13 
15  return type().subDetector();
16 }
17 
19 {
20  throw cms::Exception("Geometry")
21  << "setting SurfaceDeformation not implemented for DetId "
22  << geographicalId().rawId() << " det="
23  << geographicalId().det() << " subdetId="
24  << geographicalId().subdetId();
25 }
Definition: Plane.h:17
uint32_t rawId() const
get the raw id
Definition: DetId.h:43
virtual ~GeomDetUnit()
Definition: GeomDetUnit.cc:11
GeomDetUnit(Plane *sp)
Definition: GeomDetUnit.cc:5
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:37
virtual void setSurfaceDeformation(const SurfaceDeformation *deformation)
Definition: GeomDetUnit.cc:18
virtual SubDetector subDetector() const
Which subdetector.
Definition: GeomDetUnit.cc:14
Detector det() const
get the detector field from this detid
Definition: DetId.h:35
SubDetector subDetector() const
Definition: GeomDetType.h:22