#include <GeomDetUnit.h>
Public Member Functions | |
virtual const GeomDet * | component (DetId) const |
Returns a component GeomDet given its DetId, if existing. More... | |
virtual std::vector< const GeomDet * > | components () const |
DetUnit does not have components. More... | |
GeomDetUnit (Plane *sp) | |
GeomDetUnit (const ReferenceCountingPointer< Plane > &plane) | |
virtual SubDetector | subDetector () const |
Which subdetector. More... | |
virtual const SurfaceDeformation * | surfaceDeformation () const |
virtual const Topology & | topology () const =0 |
virtual const GeomDetType & | type () const =0 |
virtual | ~GeomDetUnit () |
Public Member Functions inherited from GeomDet | |
AlignmentPositionError * | alignmentPositionError () const |
Return pointer to alignment errors. 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::PositionType & | position () const |
The position (origin of the R.F.) More... | |
const Surface::RotationType & | rotation () const |
The rotation defining the local R.F. More... | |
void | setIndex (int i) |
const Plane & | specificSurface () const |
Same as surface(), kept for backward compatibility. More... | |
const Plane & | surface () 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 Member Functions | |
virtual void | setSurfaceDeformation (const SurfaceDeformation *deformation) |
Friends | |
class | DetPositioner |
Alignment part of interface, available only to friend. More... | |
Additional Inherited Members | |
Public Types inherited from GeomDet | |
typedef GeomDetEnumerators::SubDetector | SubDetector |
Protected Member Functions inherited from GeomDet | |
void | setDetId (DetId id) |
Definition at line 13 of file GeomDetUnit.h.
|
explicit |
Definition at line 5 of file GeomDetUnit.cc.
|
explicit |
Definition at line 8 of file GeomDetUnit.cc.
|
virtual |
Definition at line 11 of file GeomDetUnit.cc.
Returns a component GeomDet given its DetId, if existing.
Reimplemented from GeomDet.
Definition at line 30 of file GeomDetUnit.h.
|
inlinevirtual |
DetUnit does not have components.
Implements GeomDet.
Reimplemented in DTLayer.
Definition at line 26 of file GeomDetUnit.h.
|
privatevirtual |
set the SurfaceDeformation for this GeomDetUnit. Does not affect the SurfaceDeformation of components (if any). Throws if not implemented in derived class.
Reimplemented in PixelGeomDetUnit, and StripGeomDetUnit.
Definition at line 18 of file GeomDetUnit.cc.
References DetId::det(), edm::hlt::Exception, GeomDet::geographicalId(), DetId::rawId(), and DetId::subdetId().
Referenced by DetPositioner::setSurfaceDeformation().
|
virtual |
Which subdetector.
Implements GeomDet.
Definition at line 14 of file GeomDetUnit.cc.
References GeomDetType::subDetector(), and type().
Referenced by SiStripMonitorMuonHLT::GeometryFromTrackGeom(), SiStripMonitorMuonHLT::Normalizer(), and GluedGeomDet::subDetector().
|
inlinevirtual |
Return pointer to surface deformation. Defaults to "null" if not reimplemented in the derived classes.
Reimplemented in PixelGeomDetUnit, and StripGeomDetUnit.
Definition at line 37 of file GeomDetUnit.h.
Referenced by AlignableDetUnit::AlignableDetUnit(), and TrackerGeometryIntoNtuples::analyze().
|
pure virtual |
Implemented in DTLayer, CSCLayer, PixelGeomDetUnit, StripGeomDetUnit, GEMEtaPartition, and RPCRoll.
Referenced by SiStripCalibLorentzAngle::algoBeginJob(), SiStripLAProfileBooker::analyze(), TrackerDpgAnalysis::analyze(), SiStripLAProfileBooker::beginRun(), SiStripFineDelayHit::closestCluster(), SiStripRecHitMatcher::doubleMatch(), SiStripFineDelayTLA::findtrackangle(), Strip1DMeasurementTransformator::init(), GSRecHitMatcher::match(), SiStripRecHitMatcher::match(), and TrackerDpgAnalysis::onTrackAngles().
|
pure virtual |
Implemented in DTLayer, CSCLayer, PixelGeomDetUnit, StripGeomDetUnit, GEMEtaPartition, and RPCRoll.
Referenced by cuy.ValElement::__init__(), TrackerDpgAnalysis::analyze(), TrackerValidationVariables::fillHitQuantities(), Strip1DMeasurementTransformator::init(), ClusterShapeHitFilter::isNormalOriented(), and subDetector().
|
friend |
Alignment part of interface, available only to friend.
Definition at line 42 of file GeomDetUnit.h.