CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
GluedGeomDet Class Reference

#include <GluedGeomDet.h>

Inheritance diagram for GluedGeomDet:
GeomDet

Public Member Functions

virtual std::vector< const
GeomDet * > 
components () const
 Returns direct components, if any. More...
 
 GluedGeomDet (BoundPlane *sp, const GeomDetUnit *monoDet, const GeomDetUnit *stereoDet)
 
const GeomDetUnitmonoDet () const
 
const GeomDetUnitstereoDet () const
 
virtual SubDetector subDetector () const
 Which subdetector. More...
 
virtual ~GluedGeomDet ()
 
- Public Member Functions inherited from GeomDet
AlignmentPositionErroralignmentPositionError () const
 Return pointer to alignment errors. More...
 
virtual const GeomDetcomponent (DetId) const
 Returns a component GeomDet given its DetId, if existing. More...
 
DetId geographicalId () const
 The label of this GeomDet. More...
 
 GeomDet (Plane *plane)
 
 GeomDet (const ReferenceCountingPointer< Plane > &plane)
 
int index () const
 
LocalError const & localAlignmentError () const
 Return local alligment error. More...
 
const Surface::PositionTypeposition () const
 The position (origin of the R.F.) More...
 
const Surface::RotationTyperotation () const
 The rotation defining the local R.F. More...
 
void setIndex (int i)
 
const PlanespecificSurface () const
 Same as surface(), kept for backward compatibility. More...
 
const Planesurface () const
 The nominal surface of the GeomDet. More...
 
GlobalPoint toGlobal (const Local2DPoint &lp) const
 Conversion to the global R.F. from the R.F. of the GeomDet. More...
 
GlobalPoint toGlobal (const Local3DPoint &lp) const
 Conversion to the global R.F. from the R.F. of the GeomDet. More...
 
GlobalVector toGlobal (const LocalVector &lv) const
 Conversion to the global R.F. from the R.F. of the GeomDet. More...
 
LocalPoint toLocal (const GlobalPoint &gp) const
 Conversion to the R.F. of the GeomDet. More...
 
LocalVector toLocal (const GlobalVector &gv) const
 Conversion to the R.F. of the GeomDet. More...
 
virtual ~GeomDet ()
 

Private Attributes

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

Additional Inherited Members

- Public Types inherited from GeomDet
typedef
GeomDetEnumerators::SubDetector 
SubDetector
 
- Protected Member Functions inherited from GeomDet
void setDetId (DetId id)
 

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 4 of file GluedGeomDet.cc.

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

4  :
5  GeomDet(sp),theMonoDet(monoDet),theStereoDet(stereoDet){
6  child.push_back(theMonoDet);
7  child.push_back(theStereoDet);
9  setDetId(subdet.glued());
10 }
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:45
DetId geographicalId() const
The label of this GeomDet.
Definition: GeomDet.h:72
GeomDet(Plane *plane)
Definition: GeomDet.cc:5
const GeomDetUnit * theStereoDet
Definition: GluedGeomDet.h:25
GluedGeomDet::~GluedGeomDet ( )
virtual

Definition at line 12 of file GluedGeomDet.cc.

13 {}

Member Function Documentation

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

Returns direct components, if any.

Implements GeomDet.

Definition at line 15 of file GluedGeomDet.cc.

References child.

15  {
16  return child;
17 }
std::vector< const GeomDet * > child
Definition: GluedGeomDet.h:26
const GeomDetUnit* GluedGeomDet::monoDet ( ) const
inline
const GeomDetUnit* GluedGeomDet::stereoDet ( ) const
inline
virtual SubDetector GluedGeomDet::subDetector ( ) const
inlinevirtual

Which subdetector.

Implements GeomDet.

Definition at line 18 of file GluedGeomDet.h.

References GeomDetUnit::subDetector(), and theMonoDet.

18 {return theMonoDet->subDetector();}
const GeomDetUnit * theMonoDet
Definition: GluedGeomDet.h:24
virtual SubDetector subDetector() const
Which subdetector.
Definition: GeomDetUnit.cc:14

Member Data Documentation

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

Definition at line 26 of file GluedGeomDet.h.

Referenced by components().

const GeomDetUnit* GluedGeomDet::theMonoDet
private

Definition at line 24 of file GluedGeomDet.h.

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

const GeomDetUnit* GluedGeomDet::theStereoDet
private

Definition at line 25 of file GluedGeomDet.h.

Referenced by GluedGeomDet(), and stereoDet().