File indexing completed on 2024-04-06 12:14:23
0001 #include "Geometry/CommonTopologies/interface/DoubleSensGeomDet.h"
0002
0003 DoubleSensGeomDet::DoubleSensGeomDet(BoundPlane* sp,
0004 const GeomDetUnit* firstDet,
0005 const GeomDetUnit* secondDet,
0006 const DetId doubleSensDetId)
0007 : TrackerGeomDet(sp), theFirstDet(firstDet), theSecondDet(secondDet) {
0008 setDetId(doubleSensDetId);
0009 }
0010
0011 DoubleSensGeomDet::~DoubleSensGeomDet() {}
0012
0013 std::vector<const GeomDet*> DoubleSensGeomDet::components() const {
0014 return std::vector<const GeomDet*>{theFirstDet, theSecondDet};
0015 }