CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
GluedGeomDet Class Referencefinal

#include <GluedGeomDet.h>

Inheritance diagram for GluedGeomDet:
TrackerGeomDet GeomDet

Public Member Functions

std::vector< const GeomDet * > components () const override
 Returns direct components, if any. More...
 
 GluedGeomDet (BoundPlane *sp, const GeomDetUnit *monoDet, const GeomDetUnit *stereoDet, DetId gluedDetId)
 
bool isLeaf () const override
 is a Unit More...
 
const GeomDetUnitmonoDet () const
 
const GeomDetUnitstereoDet () const
 
SubDetector subDetector () const override
 Which subdetector. More...
 
 ~GluedGeomDet () override
 
- Public Member Functions inherited from TrackerGeomDet
LocalError const & localAlignmentError () const
 Return local alligment error. More...
 
- Public Member Functions inherited from GeomDet
AlignmentPositionError const * alignmentPositionError () const
 Return pointer to alignment errors. More...
 
virtual const GeomDetcomponent (DetId) const
 Returns a component GeomDet given its DetId, if existing. More...
 
int gdetIndex () const
 
DetId geographicalId () const
 The label of this GeomDet. More...
 
 GeomDet (Plane *plane)
 
 GeomDet (const ReferenceCountingPointer< Plane > &plane)
 
int index () const
 
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 setGdetIndex (int i)
 
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...
 
virtual const SurfaceDeformationsurfaceDeformation () const
 
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 const Topologytopology () const
 
virtual const GeomDetTypetype () const
 
virtual ~GeomDet ()
 

Private Attributes

const GeomDetUnittheMonoDet
 
const GeomDetUnittheStereoDet
 

Additional Inherited Members

- Public Types inherited from GeomDet
using SubDetector = GeomDetEnumerators::SubDetector
 
- Protected Member Functions inherited from TrackerGeomDet
 TrackerGeomDet (Plane *plane)
 
 TrackerGeomDet (const ReferenceCountingPointer< Plane > &plane)
 
- Protected Member Functions inherited from GeomDet
void setDetId (DetId id)
 

Detailed Description

Definition at line 7 of file GluedGeomDet.h.

Constructor & Destructor Documentation

◆ GluedGeomDet()

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

Definition at line 3 of file GluedGeomDet.cc.

References GeomDet::setDetId().

8  setDetId(gluedDetId);
9 }
void setDetId(DetId id)
Definition: GeomDet.h:99
const GeomDetUnit * theMonoDet
Definition: GluedGeomDet.h:23
const GeomDetUnit * monoDet() const
Definition: GluedGeomDet.h:19
const GeomDetUnit * stereoDet() const
Definition: GluedGeomDet.h:20
const GeomDetUnit * theStereoDet
Definition: GluedGeomDet.h:24
TrackerGeomDet(Plane *plane)
Definition: TrackerGeomDet.h:8

◆ ~GluedGeomDet()

GluedGeomDet::~GluedGeomDet ( )
override

Definition at line 11 of file GluedGeomDet.cc.

11 {}

Member Function Documentation

◆ components()

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

Returns direct components, if any.

Reimplemented from GeomDet.

Definition at line 13 of file GluedGeomDet.cc.

References theMonoDet, and theStereoDet.

13  {
14  return std::vector<const GeomDet*>{theMonoDet, theStereoDet};
15 }
const GeomDetUnit * theMonoDet
Definition: GluedGeomDet.h:23
const GeomDetUnit * theStereoDet
Definition: GluedGeomDet.h:24

◆ isLeaf()

bool GluedGeomDet::isLeaf ( ) const
inlineoverridevirtual

is a Unit

Reimplemented from GeomDet.

Definition at line 13 of file GluedGeomDet.h.

13 { return false; }

◆ monoDet()

const GeomDetUnit* GluedGeomDet::monoDet ( ) const
inline

◆ stereoDet()

const GeomDetUnit* GluedGeomDet::stereoDet ( ) const
inline

◆ subDetector()

SubDetector GluedGeomDet::subDetector ( ) const
inlineoverridevirtual

Which subdetector.

Reimplemented from GeomDet.

Definition at line 17 of file GluedGeomDet.h.

References GeomDet::subDetector(), and theMonoDet.

17 { return theMonoDet->subDetector(); }
const GeomDetUnit * theMonoDet
Definition: GluedGeomDet.h:23
virtual SubDetector subDetector() const
Which subdetector.
Definition: GeomDet.cc:38

Member Data Documentation

◆ theMonoDet

const GeomDetUnit* GluedGeomDet::theMonoDet
private

Definition at line 23 of file GluedGeomDet.h.

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

◆ theStereoDet

const GeomDetUnit* GluedGeomDet::theStereoDet
private

Definition at line 24 of file GluedGeomDet.h.

Referenced by components(), and stereoDet().