CMS 3D CMS Logo

List of all members | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
MuonGeomDet Class Reference

#include <MuonGeomDet.h>

Inheritance diagram for MuonGeomDet:
GeomDet

Public Member Functions

LocalErrorExtended 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...
 
virtual std::vector< const GeomDet * > components () const
 Returns direct components, if any. More...
 
int gdetIndex () const
 
DetId geographicalId () const
 The label of this GeomDet. More...
 
 GeomDet (const ReferenceCountingPointer< Plane > &plane)
 
 GeomDet (Plane *plane)
 
int index () const
 
virtual bool isLeaf () const
 is a Unit 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 setGdetIndex (int i)
 
void setIndex (int i)
 
const PlanespecificSurface () const
 Same as surface(), kept for backward compatibility. More...
 
virtual SubDetector subDetector () const
 Which subdetector. 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 ()
 

Protected Member Functions

 MuonGeomDet (const ReferenceCountingPointer< Plane > &plane)
 
 MuonGeomDet (Plane *plane)
 
- Protected Member Functions inherited from GeomDet
void setDetId (DetId id)
 

Private Member Functions

bool setAlignmentPositionError (const AlignmentPositionError &ape) final
 

Private Attributes

LocalErrorExtended theLocalAlignmentError
 

Additional Inherited Members

- Public Types inherited from GeomDet
using SubDetector = GeomDetEnumerators::SubDetector
 

Detailed Description

Definition at line 8 of file MuonGeomDet.h.

Constructor & Destructor Documentation

◆ MuonGeomDet() [1/2]

MuonGeomDet::MuonGeomDet ( Plane plane)
inlineexplicitprotected

Definition at line 10 of file MuonGeomDet.h.

◆ MuonGeomDet() [2/2]

MuonGeomDet::MuonGeomDet ( const ReferenceCountingPointer< Plane > &  plane)
inlineexplicitprotected

Definition at line 11 of file MuonGeomDet.h.

Member Function Documentation

◆ localAlignmentError()

LocalErrorExtended const& MuonGeomDet::localAlignmentError ( ) const
inline

Return local alligment error.

Definition at line 16 of file MuonGeomDet.h.

16 { return theLocalAlignmentError; }

References theLocalAlignmentError.

◆ setAlignmentPositionError()

bool MuonGeomDet::setAlignmentPositionError ( const AlignmentPositionError ape)
finalprivatevirtual

set the LocalAlignmentError properly trasforming the ape Does not affect the AlignmentPositionError of components (if any).

Reimplemented from GeomDet.

Definition at line 3 of file MuonGeomDet.cc.

3  {
4  //this is a placeholder, global to local conversion is done in the MuonTransientTrackingRecHit at the moment
5  return true;
6 }

Member Data Documentation

◆ theLocalAlignmentError

LocalErrorExtended MuonGeomDet::theLocalAlignmentError
private

Definition at line 19 of file MuonGeomDet.h.

Referenced by localAlignmentError().

GeomDet::GeomDet
GeomDet(Plane *plane)
Definition: GeomDet.h:31
MuonGeomDet::theLocalAlignmentError
LocalErrorExtended theLocalAlignmentError
Definition: MuonGeomDet.h:19
InvalidError
Definition: TrivialError.h:8