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.
3 
4 GluedGeomDet::GluedGeomDet( BoundPlane* sp,const GeomDetUnit* monoDet, const GeomDetUnit* stereoDet) :
5  GeomDet(sp),theMonoDet(monoDet),theStereoDet(stereoDet){
6  child.push_back(theMonoDet);
7  child.push_back(theStereoDet);
9  setDetId(subdet.glued());
10 }
11 
13 {}
14 
15 std::vector<const GeomDet*> GluedGeomDet::components() const {
16  return child;
17 }
GluedGeomDet(BoundPlane *sp, const GeomDetUnit *monoDet, const GeomDetUnit *stereoDet)
Definition: GluedGeomDet.cc:4
void setDetId(DetId id)
Definition: GeomDet.h:97
const GeomDetUnit * theMonoDet
Definition: GluedGeomDet.h:24
uint32_t rawId() const
get the raw id
Definition: DetId.h:43
std::vector< const GeomDet * > child
Definition: GluedGeomDet.h:26
virtual std::vector< const GeomDet * > components() const
Returns direct components, if any.
Definition: GluedGeomDet.cc:15
virtual ~GluedGeomDet()
Definition: GluedGeomDet.cc:12
DetId geographicalId() const
The label of this GeomDet.
Definition: GeomDet.h:72
const GeomDetUnit * theStereoDet
Definition: GluedGeomDet.h:25