#include <Topology.h>
Classes | |
class | LocalTrackAngles |
class | LocalTrackPred |
Public Types | |
typedef Point2DBase< double, LocalTag > | Local2DPoint |
typedef Vector2D::MathVector | MathVector2D |
typedef Basic2DVector< double > | Vector2D |
Public Member Functions | |
virtual int | channel (const LocalPoint &p) const =0 |
virtual int | channel (const LocalPoint &lp, const LocalTrackAngles &) const |
conversion taking also the angle from the track state More... | |
virtual LocalError | localError (const MeasurementPoint &, const MeasurementError &) const =0 |
virtual LocalError | localError (const MeasurementPoint &mp, const MeasurementError &me, const LocalTrackPred &) const |
conversion taking also the angle from the predicted track state More... | |
virtual LocalPoint | localPosition (const MeasurementPoint &) const =0 |
virtual LocalPoint | localPosition (const MeasurementPoint &mp, const LocalTrackPred &) const |
conversion taking also the angle from the predicted track state More... | |
virtual MeasurementError | measurementError (const LocalPoint &, const LocalError &) const =0 |
virtual MeasurementError | measurementError (const LocalPoint &lp, const LocalError &le, const LocalTrackAngles &) const |
conversion taking also the angle from the track state More... | |
virtual MeasurementPoint | measurementPosition (const LocalPoint &) const =0 |
virtual MeasurementPoint | measurementPosition (const LocalPoint &lp, const LocalTrackAngles &) const |
conversion taking also the angle from the track state More... | |
virtual | ~Topology () |
Abstract component defining the conversion between the local frame of a detector and the frame defined by the readout channels , the so called measurement frame. For example, in a strip detector the strips define a coordinate frame (from 0 to Nstrips in one direction and from 0 to 1 in the other), and each local point can be mapped to a point in this frame. The mapping may be non-linear (for example for trapezoidal strips).
The topology should be the ONLY place where this mapping is defined. The Digitizer uses the Topology to transform energy deposits in the local frame into signals on the readout channels, and the clusterizer (or the RecHit) uses the Topology for the inverse transformation, from channel numbers to local coordinates.
If the surface of a Topology deviates from its perfect shape, e.g. a bowed instead of a flat surface (bowed silicon sensors) or if built from two surfaces that might be misaligned with respect to each other (double sensor silicon modules), conversion might depend on a track prediction. Conversions from local to measurement frame therefore need the 'LocalTrackAngles', conversions the other way round need also track position predictions, bound together with the angles to a 'LocalTrackPred'. Default implementation of methods requiring more arguments is to call the simple method, ignoring the track state. Concrete implementations should overwrite this where appropiate.
Definition at line 42 of file Topology.h.
typedef Point2DBase<double, LocalTag> Topology::Local2DPoint |
Definition at line 55 of file Topology.h.
Definition at line 45 of file Topology.h.
typedef Basic2DVector<double> Topology::Vector2D |
Definition at line 44 of file Topology.h.
|
inlinevirtual |
Definition at line 72 of file Topology.h.
|
pure virtual |
Implemented in TkRadialStripTopology, CSCRadialStripTopology, RadialStripTopology, RectangularPixelTopology, OffsetRadialStripTopology, ProxyStripTopology, DTTopology, TrapezoidalStripTopology, CSCWireTopology, ProxyPixelTopology, RectangularStripTopology, CSCUngangedStripTopology, and CSCGangedStripTopology.
Referenced by ProxyPixelTopology::channel(), ProxyStripTopology::channel(), channel(), SiPixelDigitizerAlgorithm::induce_signal(), RPCSimAsymmetricCls::simulate(), RPCSimAverageNoiseEffCls::simulate(), RPCSimAverageNoiseEff::simulate(), and GEMSimpleModel::simulateClustering().
|
inlinevirtual |
conversion taking also the angle from the track state
Reimplemented in ProxyStripTopology, and ProxyPixelTopology.
Definition at line 114 of file Topology.h.
References channel().
|
pure virtual |
Implemented in RectangularPixelTopology, CSCRadialStripTopology, TkRadialStripTopology, RadialStripTopology, ProxyStripTopology, TrapezoidalStripTopology, CSCWireTopology, DTTopology, ProxyPixelTopology, and RectangularStripTopology.
Referenced by ProxyPixelTopology::localError(), and localError().
|
inlinevirtual |
conversion taking also the angle from the predicted track state
Reimplemented in ProxyStripTopology, and ProxyPixelTopology.
Definition at line 97 of file Topology.h.
References localError().
|
pure virtual |
Implemented in RectangularPixelTopology, CSCRadialStripTopology, TkRadialStripTopology, RadialStripTopology, OffsetRadialStripTopology, CSCWireTopology, TrapezoidalStripTopology, DTTopology, ProxyStripTopology, ProxyPixelTopology, and RectangularStripTopology.
Referenced by SiPixelTrackResidualSource::analyze(), SiPixelErrorEstimation::analyze(), TrackerDpgAnalysis::analyze(), SiPixelErrorEstimation::computeAnglesFromDetPosition(), PixelCPEBase::computeAnglesFromDetPosition(), SiPixelClusterModule::fill(), analyzer::SiPixelLorentzAngle::fillPix(), SiPixelQuality::getBadRocPositions(), SiPixelDigitizerAlgorithm::induce_signal(), ProxyPixelTopology::localPosition(), PixelCPETemplateReco::localPosition(), localPosition(), PixelCPEGeneric::localPosition(), PixelClusterSelectorTopBottom::produce(), and TrackClusterSplitter::splitCluster().
|
inlinevirtual |
conversion taking also the angle from the predicted track state
Reimplemented in ProxyStripTopology, and ProxyPixelTopology.
Definition at line 91 of file Topology.h.
References localPosition().
|
pure virtual |
Implemented in TkRadialStripTopology, CSCRadialStripTopology, RadialStripTopology, RectangularPixelTopology, ProxyStripTopology, TrapezoidalStripTopology, DTTopology, ProxyPixelTopology, CSCWireTopology, and RectangularStripTopology.
Referenced by Chi2Strip1DEstimator::estimate(), Strip1DMeasurementTransformator::hitError(), GSRecHitMatcher::match(), ProxyPixelTopology::measurementError(), ProxyStripTopology::measurementError(), measurementError(), ShallowRechitClustersProducer::produce(), ShallowTrackClustersProducer::produce(), Strip1DMeasurementTransformator::projectedTrajectoryError(), SiStripRecHitsValid::rechitanalysis(), SiStripTrackingRecHitsValid::rechitanalysis(), SiStripTrackingRecHitsValid::rechitanalysis_matched(), SiStripRecHitMatcher::sigmaPitch(), and TkGluedMeasurementDet::testStrips().
|
inlinevirtual |
conversion taking also the angle from the track state
Reimplemented in ProxyStripTopology, and ProxyPixelTopology.
Definition at line 109 of file Topology.h.
References measurementError().
|
pure virtual |
Implemented in TkRadialStripTopology, CSCRadialStripTopology, RadialStripTopology, RectangularPixelTopology, OffsetRadialStripTopology, ProxyStripTopology, TrapezoidalStripTopology, DTTopology, CSCWireTopology, ProxyPixelTopology, and RectangularStripTopology.
Referenced by SiPixelErrorEstimation::analyze(), TrackerDpgAnalysis::analyze(), SiStripFineDelayHit::closestCluster(), StripTopology::coveredStrips(), SiStripRecHitMatcher::doubleMatch(), Chi2Strip1DEstimator::estimate(), Strip1DMeasurementTransformator::hitParameters(), SiPixelDigitizerAlgorithm::induce_signal(), GSRecHitMatcher::match(), SiStripRecHitMatcher::match(), ProxyPixelTopology::measurementPosition(), ProxyStripTopology::measurementPosition(), measurementPosition(), TkStripMeasurementDet::measurements(), TrackerDpgAnalysis::onTrackAngles(), Strip1DMeasurementTransformator::projectedTrajectoryParameters(), SiStripRecHitsValid::rechitanalysis(), SiStripTrackingRecHitsValid::rechitanalysis(), SiStripTrackingRecHitsValid::rechitanalysis_matched(), TkStripMeasurementDet::recHits(), TkStripMeasurementDet::simpleRecHits(), and TkGluedMeasurementDet::testStrips().
|
inlinevirtual |
conversion taking also the angle from the track state
Reimplemented in ProxyStripTopology, and ProxyPixelTopology.
Definition at line 103 of file Topology.h.
References measurementPosition().