#include <GeomDetUnit.h>
Public Member Functions | |
virtual const GeomDet * | component (DetId id) const |
Returns a component GeomDet given its DetId, if existing. | |
virtual std::vector< const GeomDet * > | components () const |
DetUnit does not have components. | |
GeomDetUnit (const ReferenceCountingPointer< BoundPlane > &plane) | |
GeomDetUnit (BoundPlane *sp) | |
virtual SubDetector | subDetector () const |
Which subdetector. | |
virtual const SurfaceDeformation * | surfaceDeformation () const |
virtual const Topology & | topology () const =0 |
virtual const GeomDetType & | type () const =0 |
virtual | ~GeomDetUnit () |
Private Member Functions | |
virtual void | setSurfaceDeformation (const SurfaceDeformation *deformation) |
Friends | |
class | DetPositioner |
Alignment part of interface, available only to friend. |
Definition at line 13 of file GeomDetUnit.h.
GeomDetUnit::GeomDetUnit | ( | BoundPlane * | sp | ) | [explicit] |
Definition at line 6 of file GeomDetUnit.cc.
: GeomDet(sp) {}
GeomDetUnit::GeomDetUnit | ( | const ReferenceCountingPointer< BoundPlane > & | plane | ) | [explicit] |
Definition at line 9 of file GeomDetUnit.cc.
: GeomDet(plane) {}
GeomDetUnit::~GeomDetUnit | ( | ) | [virtual] |
Definition at line 12 of file GeomDetUnit.cc.
{}
Returns a component GeomDet given its DetId, if existing.
Reimplemented from GeomDet.
Definition at line 30 of file GeomDetUnit.h.
{return 0;}
virtual std::vector< const GeomDet*> GeomDetUnit::components | ( | ) | const [inline, virtual] |
DetUnit does not have components.
Implements GeomDet.
Reimplemented in DTLayer.
Definition at line 26 of file GeomDetUnit.h.
{
return std::vector< const GeomDet*>();
}
void GeomDetUnit::setSurfaceDeformation | ( | const SurfaceDeformation * | deformation | ) | [private, virtual] |
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 19 of file GeomDetUnit.cc.
References DetId::det(), Exception, GeomDet::geographicalId(), DetId::rawId(), and DetId::subdetId().
Referenced by DetPositioner::setSurfaceDeformation().
{ throw cms::Exception("Geometry") << "setting SurfaceDeformation not implemented for DetId " << geographicalId().rawId() << " det=" << geographicalId().det() << " subdetId=" << geographicalId().subdetId(); }
GeomDet::SubDetector GeomDetUnit::subDetector | ( | ) | const [virtual] |
Which subdetector.
Implements GeomDet.
Definition at line 15 of file GeomDetUnit.cc.
References GeomDetType::subDetector(), and type().
Referenced by SiStripMonitorMuonHLT::GeometryFromTrackGeom(), SiStripMonitorMuonHLT::Normalizer(), and GluedGeomDet::subDetector().
{ return type().subDetector(); }
virtual const SurfaceDeformation* GeomDetUnit::surfaceDeformation | ( | ) | const [inline, virtual] |
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().
{ return 0; }
virtual const Topology& GeomDetUnit::topology | ( | ) | const [pure virtual] |
Implemented in CSCLayer, DTLayer, RPCRoll, PixelGeomDetUnit, and StripGeomDetUnit.
Referenced by SiStripCalibLorentzAngle::algoBeginJob(), TrackerDpgAnalysis::analyze(), SiPixelTrackResidualSource::analyze(), SiStripLAProfileBooker::analyze(), SiStripLAProfileBooker::beginRun(), SiStripFineDelayHit::closestCluster(), Chi2Strip1DEstimator::estimate(), Chi2StripEstimator::estimate(), RoadSearchCloudMakerAlgorithm::FillRecHitsIntoCloudGeneral(), SiStripFineDelayTLA::findtrackangle(), StripMeasurementTransformator::init(), Strip1DMeasurementTransformator::init(), SiStripRecHitMatcher::match(), GSRecHitMatcher::match(), TrackerDpgAnalysis::onTrackAngles(), and RoadSearchHelixMakerAlgorithm::run().
virtual const GeomDetType& GeomDetUnit::type | ( | ) | const [pure virtual] |
Implemented in CSCLayer, DTLayer, RPCRoll, PixelGeomDetUnit, and StripGeomDetUnit.
Referenced by TrackerDpgAnalysis::analyze(), Chi2Strip1DEstimator::estimate(), Chi2StripEstimator::estimate(), Chi2Switching1DEstimator::estimate(), Chi2SwitchingEstimator::estimate(), TrackerValidationVariables::fillHitQuantities(), Strip1DMeasurementTransformator::init(), ClusterShapeHitFilter::isNormalOriented(), subDetector(), KFSwitching1DUpdator::update(), and KFSwitchingUpdator::update().
friend class DetPositioner [friend] |
Alignment part of interface, available only to friend.
Reimplemented from GeomDet.
Definition at line 42 of file GeomDetUnit.h.