#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 | |
virtual LocalError | localError (const MeasurementPoint &mp, const MeasurementError &me, const LocalTrackPred &) const |
conversion taking also the angle from the predicted track state | |
virtual LocalError | localError (const MeasurementPoint &, const MeasurementError &) const =0 |
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 | |
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 | |
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 | |
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.
virtual Topology::~Topology | ( | ) | [inline, virtual] |
Definition at line 72 of file Topology.h.
{}
virtual int Topology::channel | ( | const LocalPoint & | p | ) | const [pure virtual] |
Implemented in RadialStripTopology, GCC11_FINAL, GCC11_FINAL, CSCWireTopology, OffsetRadialStripTopology, CSCGangedStripTopology, CSCUngangedStripTopology, DTTopology, GCC11_FINAL, GCC11_FINAL, and GCC11_FINAL.
Referenced by channel(), SiPixelDigitizerAlgorithm::induce_signal(), RPCSimAverageNoiseEff::simulate(), and RPCSimAverageNoiseEffCls::simulate().
virtual int Topology::channel | ( | const LocalPoint & | lp, |
const LocalTrackAngles & | |||
) | const [inline, virtual] |
conversion taking also the angle from the track state
Reimplemented in GCC11_FINAL, and GCC11_FINAL.
Definition at line 114 of file Topology.h.
References channel().
{ return channel(lp); }
virtual LocalError Topology::localError | ( | const MeasurementPoint & | , |
const MeasurementError & | |||
) | const [pure virtual] |
Implemented in RadialStripTopology, GCC11_FINAL, GCC11_FINAL, CSCWireTopology, DTTopology, GCC11_FINAL, GCC11_FINAL, and GCC11_FINAL.
Referenced by localError().
virtual LocalError Topology::localError | ( | const MeasurementPoint & | mp, |
const MeasurementError & | me, | ||
const LocalTrackPred & | |||
) | const [inline, virtual] |
conversion taking also the angle from the predicted track state
Reimplemented in GCC11_FINAL, and GCC11_FINAL.
Definition at line 97 of file Topology.h.
References localError().
{ return localError(mp,me); }
virtual LocalPoint Topology::localPosition | ( | const MeasurementPoint & | ) | const [pure virtual] |
Implemented in RadialStripTopology, GCC11_FINAL, GCC11_FINAL, CSCWireTopology, OffsetRadialStripTopology, DTTopology, GCC11_FINAL, GCC11_FINAL, and GCC11_FINAL.
Referenced by TrackerDpgAnalysis::analyze(), SiPixelTrackResidualSource::analyze(), SiPixelErrorEstimation::analyze(), SiPixelErrorEstimation::computeAnglesFromDetPosition(), PixelCPEBase::computeAnglesFromDetPosition(), SiPixelClusterModule::fill(), SiPixelLorentzAngle::fillPix(), SiPixelQuality::getBadRocPositions(), SiPixelDigitizerAlgorithm::induce_signal(), localPosition(), PixelCPEGeneric::localPosition(), PixelCPETemplateReco::localPosition(), PixelClusterSelectorTopBottom::produce(), and TrackClusterSplitter::splitCluster().
virtual LocalPoint Topology::localPosition | ( | const MeasurementPoint & | mp, |
const LocalTrackPred & | |||
) | const [inline, virtual] |
conversion taking also the angle from the predicted track state
Reimplemented in GCC11_FINAL, and GCC11_FINAL.
Definition at line 91 of file Topology.h.
References localPosition().
{ return localPosition(mp); }
virtual MeasurementError Topology::measurementError | ( | const LocalPoint & | lp, |
const LocalError & | le, | ||
const LocalTrackAngles & | |||
) | const [inline, virtual] |
conversion taking also the angle from the track state
Reimplemented in GCC11_FINAL, and GCC11_FINAL.
Definition at line 109 of file Topology.h.
References measurementError().
{ return measurementError(lp, le); }
virtual MeasurementError Topology::measurementError | ( | const LocalPoint & | , |
const LocalError & | |||
) | const [pure virtual] |
Implemented in RadialStripTopology, GCC11_FINAL, GCC11_FINAL, CSCWireTopology, DTTopology, GCC11_FINAL, GCC11_FINAL, and GCC11_FINAL.
Referenced by SiStripRecHitsValid::analyze(), SiStripTrackingRecHitsValid::analyze(), Chi2Strip1DEstimator::estimate(), Chi2StripEstimator::estimate(), Strip1DMeasurementTransformator::hitError(), StripMeasurementTransformator::hitError(), SiStripRecHitMatcher::match(), GSRecHitMatcher::match(), measurementError(), PixelCPEBase::measurementError(), ShallowRechitClustersProducer::produce(), ShallowTrackClustersProducer::produce(), Strip1DMeasurementTransformator::projectedTrajectoryError(), StripMeasurementTransformator::projectedTrajectoryError(), and TkGluedMeasurementDet::testStrips().
virtual MeasurementPoint Topology::measurementPosition | ( | const LocalPoint & | ) | const [pure virtual] |
Implemented in RadialStripTopology, GCC11_FINAL, GCC11_FINAL, CSCWireTopology, OffsetRadialStripTopology, DTTopology, GCC11_FINAL, GCC11_FINAL, and GCC11_FINAL.
Referenced by TrackerDpgAnalysis::analyze(), SiPixelErrorEstimation::analyze(), SiStripRecHitsValid::analyze(), SiStripTrackingRecHitsValid::analyze(), SiStripFineDelayHit::closestCluster(), StripCPE::Param::coveredStrips(), Chi2Strip1DEstimator::estimate(), Chi2StripEstimator::estimate(), TkStripMeasurementDet::fastMeasurements(), StripMeasurementTransformator::hitParameters(), Strip1DMeasurementTransformator::hitParameters(), SiPixelDigitizerAlgorithm::induce_signal(), SiStripRecHitMatcher::match(), GSRecHitMatcher::match(), PixelCPEGeneric::measurementPosition(), PixelCPETemplateReco::measurementPosition(), measurementPosition(), PixelCPEBase::measurementPosition(), TrackerDpgAnalysis::onTrackAngles(), Strip1DMeasurementTransformator::projectedTrajectoryParameters(), StripMeasurementTransformator::projectedTrajectoryParameters(), and TkGluedMeasurementDet::testStrips().
virtual MeasurementPoint Topology::measurementPosition | ( | const LocalPoint & | lp, |
const LocalTrackAngles & | |||
) | const [inline, virtual] |
conversion taking also the angle from the track state
Reimplemented in GCC11_FINAL, and GCC11_FINAL.
Definition at line 103 of file Topology.h.
References measurementPosition().
{ return measurementPosition(lp); }