CMS 3D CMS Logo

GluedGeomDet.cc
Go to the documentation of this file.
2 
4  const GeomDetUnit* monoDet,
5  const GeomDetUnit* stereoDet,
6  const DetId gluedDetId)
7  : TrackerGeomDet(sp), theMonoDet(monoDet), theStereoDet(stereoDet) {
8  setDetId(gluedDetId);
9 }
10 
12 
13 std::vector<const GeomDet*> GluedGeomDet::components() const {
14  return std::vector<const GeomDet*>{theMonoDet, theStereoDet};
15 }
void setDetId(DetId id)
Definition: GeomDet.h:99
GluedGeomDet(BoundPlane *sp, const GeomDetUnit *monoDet, const GeomDetUnit *stereoDet, DetId gluedDetId)
Definition: GluedGeomDet.cc:3
std::vector< const GeomDet * > components() const override
Returns direct components, if any.
Definition: GluedGeomDet.cc:13
const GeomDetUnit * theMonoDet
Definition: GluedGeomDet.h:23
~GluedGeomDet() override
Definition: GluedGeomDet.cc:11
Definition: DetId.h:17
const GeomDetUnit * theStereoDet
Definition: GluedGeomDet.h:24