CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
GluedGeomDet.cc
Go to the documentation of this file.
3 
4 GluedGeomDet::GluedGeomDet( BoundPlane* sp,const GeomDetUnit* monoDet, const GeomDetUnit* stereoDet) :
5  TrackerGeomDet(sp),theMonoDet(monoDet),theStereoDet(stereoDet) {
7  setDetId(subdet.glued());
8 }
9 
11 {}
12 
13 std::vector<const GeomDet*> GluedGeomDet::components() const {
14  return std::vector<const GeomDet*>{theMonoDet,theStereoDet};
15 }
GluedGeomDet(BoundPlane *sp, const GeomDetUnit *monoDet, const GeomDetUnit *stereoDet)
Definition: GluedGeomDet.cc:4
void setDetId(DetId id)
Definition: GeomDet.h:114
const GeomDetUnit * theMonoDet
Definition: GluedGeomDet.h:24
uint32_t rawId() const
get the raw id
Definition: DetId.h:43
virtual std::vector< const GeomDet * > components() const
Returns direct components, if any.
Definition: GluedGeomDet.cc:13
virtual ~GluedGeomDet()
Definition: GluedGeomDet.cc:10
DetId geographicalId() const
The label of this GeomDet.
Definition: GeomDet.h:77
const GeomDetUnit * theStereoDet
Definition: GluedGeomDet.h:25