CMS 3D CMS Logo

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

#include <TrackerGeomDet.h>

Inheritance diagram for TrackerGeomDet:
GeomDet DoubleSensGeomDet GluedGeomDet MTDGeomDetUnit PixelGeomDetUnit StackGeomDet StripGeomDetUnit

Public Member Functions

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...
 
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 (Plane *plane)
 
 GeomDet (const ReferenceCountingPointer< 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

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

Private Member Functions

bool setAlignmentPositionError (const AlignmentPositionError &ape) final
 

Private Attributes

LocalError theLocalAlignmentError
 

Additional Inherited Members

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

Detailed Description

Definition at line 6 of file TrackerGeomDet.h.

Constructor & Destructor Documentation

◆ TrackerGeomDet() [1/2]

TrackerGeomDet::TrackerGeomDet ( Plane plane)
inlineexplicitprotected

Definition at line 8 of file TrackerGeomDet.h.

LocalError theLocalAlignmentError
GeomDet(Plane *plane)
Definition: GeomDet.h:31

◆ TrackerGeomDet() [2/2]

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

Definition at line 9 of file TrackerGeomDet.h.

LocalError theLocalAlignmentError
GeomDet(Plane *plane)
Definition: GeomDet.h:31

Member Function Documentation

◆ localAlignmentError()

LocalError const& TrackerGeomDet::localAlignmentError ( ) const
inline

◆ setAlignmentPositionError()

bool TrackerGeomDet::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 5 of file TrackerGeomDet.cc.

References GlobalErrorBaseExtended< T, ErrorWeightType >::cxx(), GlobalErrorBaseExtended< T, ErrorWeightType >::cyx(), GlobalErrorBaseExtended< T, ErrorWeightType >::cyy(), GlobalErrorBaseExtended< T, ErrorWeightType >::czx(), GlobalErrorBaseExtended< T, ErrorWeightType >::czy(), GlobalErrorBaseExtended< T, ErrorWeightType >::czz(), AlignmentPositionError::globalError(), GeomDet::setAlignmentPositionError(), GeomDet::surface(), theLocalAlignmentError, ErrorFrameTransformer::transform(), and AlignmentPositionError::valid().

5  {
7 
8  const GlobalErrorExtended& apeError = ape.globalError();
9  GlobalError translatApe(
10  apeError.cxx(), apeError.cyx(), apeError.cyy(), apeError.czx(), apeError.czy(), apeError.czz());
11 
12  //check only translat part is valid
14  return ape.valid();
15 }
static GlobalError transform(const LocalError &le, const Surface &surf)
LocalError theLocalAlignmentError
const Plane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:37
const GlobalErrorExtended & globalError() const
virtual bool setAlignmentPositionError(const AlignmentPositionError &ape)
Definition: GeomDet.cc:25

Member Data Documentation

◆ theLocalAlignmentError

LocalError TrackerGeomDet::theLocalAlignmentError
private

Definition at line 17 of file TrackerGeomDet.h.

Referenced by localAlignmentError(), and setAlignmentPositionError().