CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 GluedGeomDet PixelGeomDetUnit 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...
 
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 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)
 

Private Attributes

LocalError theLocalAlignmentError
 

Additional Inherited Members

- Public Types inherited from GeomDet
typedef
GeomDetEnumerators::SubDetector 
SubDetector
 
- Protected Attributes inherited from GeomDet
AlignmentPositionErrortheAlignmentPositionError
 

Detailed Description

Definition at line 7 of file TrackerGeomDet.h.

Constructor & Destructor Documentation

TrackerGeomDet::TrackerGeomDet ( Plane plane)
inlineexplicitprotected

Definition at line 9 of file TrackerGeomDet.h.

LocalError theLocalAlignmentError
GeomDet(Plane *plane)
Definition: GeomDet.cc:5
TrackerGeomDet::TrackerGeomDet ( const ReferenceCountingPointer< Plane > &  plane)
inlineexplicitprotected

Definition at line 10 of file TrackerGeomDet.h.

LocalError theLocalAlignmentError
GeomDet(Plane *plane)
Definition: GeomDet.cc:5

Member Function Documentation

LocalError const& TrackerGeomDet::localAlignmentError ( ) const
inline

Return local alligment error.

Definition at line 14 of file TrackerGeomDet.h.

References theLocalAlignmentError.

Referenced by ApeEstimator::fillHitVariables(), and SiTrackerGaussianSmearingRecHitConverter::produce().

14 { return theLocalAlignmentError;}
LocalError theLocalAlignmentError
bool TrackerGeomDet::setAlignmentPositionError ( const AlignmentPositionError ape)
privatevirtual

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::surface(), GeomDet::theAlignmentPositionError, theLocalAlignmentError, ErrorFrameTransformer::transform(), and AlignmentPositionError::valid().

6 {
9  }
10  else *theAlignmentPositionError = ape;
11 
12  GlobalErrorExtended apeError = ape.globalError();
13  GlobalError translatApe(apeError.cxx(),apeError.cyx(),apeError.cyy(),apeError.czx(),apeError.czy(),apeError.czz());
14 
15  //check only translat part is valid
17  ErrorFrameTransformer().transform( translatApe,surface()) :
18  InvalidError();
19  return ape.valid();
20 }
static GlobalError transform(const LocalError &le, const Surface &surf)
LocalError theLocalAlignmentError
const Plane & surface() const
The nominal surface of the GeomDet.
Definition: GeomDet.h:40
const GlobalErrorExtended & globalError() const
AlignmentPositionError * theAlignmentPositionError
Definition: GeomDet.h:124

Member Data Documentation

LocalError TrackerGeomDet::theLocalAlignmentError
private

Definition at line 18 of file TrackerGeomDet.h.

Referenced by localAlignmentError(), and setAlignmentPositionError().