CMS 3D CMS Logo

Public Member Functions | Private Attributes

GluedGeomDet Class Reference

#include <GluedGeomDet.h>

Inheritance diagram for GluedGeomDet:
GeomDet

List of all members.

Public Member Functions

virtual std::vector< const
GeomDet * > 
components () const
 Returns direct components, if any.
 GluedGeomDet (BoundPlane *sp, const GeomDetUnit *monoDet, const GeomDetUnit *stereoDet)
const GeomDetUnitmonoDet () const
const GeomDetUnitstereoDet () const
virtual SubDetector subDetector () const
 Which subdetector.
virtual ~GluedGeomDet ()

Private Attributes

std::vector< const GeomDet * > child
const GeomDetUnittheMonoDet
const GeomDetUnittheStereoDet

Detailed Description

Definition at line 8 of file GluedGeomDet.h.


Constructor & Destructor Documentation

GluedGeomDet::GluedGeomDet ( BoundPlane sp,
const GeomDetUnit monoDet,
const GeomDetUnit stereoDet 
)

Definition at line 9 of file GluedGeomDet.cc.

References GeomDet::geographicalId(), DetId::rawId(), GeomDet::setDetId(), theMonoDet, and theStereoDet.

                                                                                                   : 
  GeomDet(sp),theMonoDet(monoDet),theStereoDet(stereoDet){
  child.push_back(theMonoDet);
  child.push_back(theStereoDet);
  StripSubdetector subdet(theMonoDet->geographicalId().rawId());
  setDetId(subdet.glued());
}
GluedGeomDet::~GluedGeomDet ( ) [virtual]

Definition at line 17 of file GluedGeomDet.cc.

{}

Member Function Documentation

std::vector< const GeomDet * > GluedGeomDet::components ( ) const [virtual]

Returns direct components, if any.

Implements GeomDet.

Definition at line 20 of file GluedGeomDet.cc.

References child.

                                                         {
  return child;
}
const GeomDetUnit* GluedGeomDet::monoDet ( ) const [inline]
const GeomDetUnit* GluedGeomDet::stereoDet ( ) const [inline]
virtual SubDetector GluedGeomDet::subDetector ( ) const [inline, virtual]

Which subdetector.

Implements GeomDet.

Definition at line 18 of file GluedGeomDet.h.

References GeomDetUnit::subDetector(), and theMonoDet.

{return theMonoDet->subDetector();}

Member Data Documentation

std::vector<const GeomDet*> GluedGeomDet::child [private]

Definition at line 26 of file GluedGeomDet.h.

Referenced by components().

Definition at line 24 of file GluedGeomDet.h.

Referenced by GluedGeomDet(), monoDet(), and subDetector().

Definition at line 25 of file GluedGeomDet.h.

Referenced by GluedGeomDet(), and stereoDet().