CMS 3D CMS Logo

DoubleSensGeomDet.cc
Go to the documentation of this file.
2 
4  const GeomDetUnit* firstDet,
5  const GeomDetUnit* secondDet,
6  const DetId doubleSensDetId)
7  : TrackerGeomDet(sp), theFirstDet(firstDet), theSecondDet(secondDet) {
8  setDetId(doubleSensDetId);
9 }
10 
12 
13 std::vector<const GeomDet*> DoubleSensGeomDet::components() const {
14  return std::vector<const GeomDet*>{theFirstDet, theSecondDet};
15 }
void setDetId(DetId id)
Definition: GeomDet.h:99
const GeomDetUnit * theSecondDet
Definition: DetId.h:17
const GeomDetUnit * theFirstDet
~DoubleSensGeomDet() override
std::vector< const GeomDet * > components() const override
Returns direct components, if any.
DoubleSensGeomDet(BoundPlane *sp, const GeomDetUnit *firstDet, const GeomDetUnit *secondDet, const DetId doubleSensDetId)