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.
2 
3 GluedGeomDet::GluedGeomDet( BoundPlane* sp,const GeomDetUnit* monoDet, const GeomDetUnit* stereoDet, const DetId gluedDetId) :
4  TrackerGeomDet(sp),theMonoDet(monoDet),theStereoDet(stereoDet) {
5  setDetId(gluedDetId);
6 }
7 
9 {}
10 
11 std::vector<const GeomDet*> GluedGeomDet::components() const {
12  return std::vector<const GeomDet*>{theMonoDet,theStereoDet};
13 }
void setDetId(DetId id)
Definition: GeomDet.h:120
GluedGeomDet(BoundPlane *sp, const GeomDetUnit *monoDet, const GeomDetUnit *stereoDet, const DetId gluedDetId)
Definition: GluedGeomDet.cc:3
const GeomDetUnit * theMonoDet
Definition: GluedGeomDet.h:24
virtual std::vector< const GeomDet * > components() const
Returns direct components, if any.
Definition: GluedGeomDet.cc:11
virtual ~GluedGeomDet()
Definition: GluedGeomDet.cc:8
Definition: DetId.h:18
Definition: sp.h:21
const GeomDetUnit * theStereoDet
Definition: GluedGeomDet.h:25