CMS 3D CMS Logo

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, DetId gluedDetId)
Definition: GluedGeomDet.cc:3
const GeomDetUnit * theMonoDet
Definition: GluedGeomDet.h:24
std::vector< const GeomDet * > components() const override
Returns direct components, if any.
Definition: GluedGeomDet.cc:11
~GluedGeomDet() override
Definition: GluedGeomDet.cc:8
Definition: DetId.h:18
const GeomDetUnit * theStereoDet
Definition: GluedGeomDet.h:25