#include <TkGluedMeasurementDet.h>
Classes | |
class | HitCollectorForFastMeasurements |
class | HitCollectorForRecHits |
Public Member Functions | |
virtual std::vector < TrajectoryMeasurement > | fastMeasurements (const TrajectoryStateOnSurface &stateOnThisDet, const TrajectoryStateOnSurface &startingState, const Propagator &, const MeasurementEstimator &) const |
bool | hasBadComponents (const TrajectoryStateOnSurface &tsos) const |
return TRUE if at least one of the mono and stereo components has badChannels More... | |
void | init (const MeasurementDet *monoDet, const MeasurementDet *stereoDet) |
bool | isActive () const |
return TRUE if both mono and stereo components are active More... | |
const TkStripMeasurementDet * | monoDet () const |
template<typename Collector > | |
void | projectOnGluedDet (Collector &collector, const RecHitContainer &hits, const GlobalVector &gdir) const |
virtual RecHitContainer | recHits (const TrajectoryStateOnSurface &) const |
const GluedGeomDet & | specificGeomDet () const |
const TkStripMeasurementDet * | stereoDet () const |
TkGluedMeasurementDet (const GluedGeomDet *gdet, const SiStripRecHitMatcher *matcher, const StripClusterParameterEstimator *cpe) | |
Public Member Functions inherited from MeasurementDet | |
const GeomDet & | fastGeomDet () const |
virtual const GeomDet & | geomDet () const |
MeasurementDet (const GeomDet *gdet) | |
const Surface::PositionType & | position () const |
const BoundSurface & | surface () const |
Private Member Functions | |
void | checkHitProjection (const TransientTrackingRecHit &hit, const TrajectoryStateOnSurface &ts, const GeomDet &det) const |
void | checkProjection (const TrajectoryStateOnSurface &ts, const RecHitContainer &monoHits, const RecHitContainer &stereoHits) const |
template<typename Collector > | |
void | collectRecHits (const TrajectoryStateOnSurface &, Collector &coll) const |
template<typename Collector > | |
void | doubleMatch (const TrajectoryStateOnSurface &ts, Collector &collector) const |
RecHitContainer | projectOnGluedDet (const RecHitContainer &hits, const TrajectoryStateOnSurface &ts) const |
template<typename HitCollector > | |
void | projectOnGluedDet (HitCollector &collector, const RecHitContainer &hits, const GlobalVector &gdir) const |
bool | testStrips (const TrajectoryStateOnSurface &tsos, const BoundPlane &gluedPlane, const TkStripMeasurementDet &mdet) const |
Test the strips on one of the two dets with projection. More... | |
Private Attributes | |
const StripClusterParameterEstimator * | theCPE |
const SiStripRecHitMatcher * | theMatcher |
const TkStripMeasurementDet * | theMonoDet |
const TkStripMeasurementDet * | theStereoDet |
Additional Inherited Members | |
Public Types inherited from MeasurementDet | |
typedef TransientTrackingRecHit::ConstRecHitContainer | RecHitContainer |
Definition at line 19 of file TkGluedMeasurementDet.h.
TkGluedMeasurementDet::TkGluedMeasurementDet | ( | const GluedGeomDet * | gdet, |
const SiStripRecHitMatcher * | matcher, | ||
const StripClusterParameterEstimator * | cpe | ||
) |
Definition at line 23 of file TkGluedMeasurementDet.cc.
|
private |
Definition at line 201 of file TkGluedMeasurementDet.cc.
References gather_cfg::cout, prof2calltree::cutoff, TrajectoryStateOnSurface::localError(), TrajectoryStateOnSurface::localPosition(), mag(), max(), LocalTrajectoryError::positionError(), trackerHitRTTI::proj, TrackingRecHitProjector< ResultingHit >::project(), RecHitPropagator::propagate(), GeomDet::surface(), LocalError::xx(), LocalError::xy(), and LocalError::yy().
Referenced by checkProjection().
|
private |
Definition at line 189 of file TkGluedMeasurementDet.cc.
References checkHitProjection(), MeasurementDet::fastGeomDet(), and i.
|
private |
Definition at line 63 of file TkGluedMeasurementDet.cc.
References TrajectoryStateOnSurface::globalParameters(), TrajectoryStateOnSurface::isValid(), TrajectoryStateOnSurface::localDirection(), SiStripRecHitMatcher::match(), GlobalTrajectoryParameters::momentum(), MeasurementDet::position(), projectOnGluedDet(), TkStripMeasurementDet::recHits(), TkStripMeasurementDet::simpleRecHits(), specificGeomDet(), MeasurementDet::surface(), theMatcher, theMonoDet, theStereoDet, GloballyPositioned< T >::toLocal(), and create_public_pileup_plots::transform.
Referenced by fastMeasurements(), and recHits().
|
private |
|
virtual |
faster version in case the TrajectoryState on the surface of the Det is already available. The first TrajectoryStateOnSurface is on the surface of this Det, and the second TrajectoryStateOnSurface is the statrting state, usually not on the surface of this Det. The stateOnThisDet should the result of
prop.propagate( startingState, this->surface())
Implements MeasurementDet.
Definition at line 114 of file TkGluedMeasurementDet.cc.
References InvalidTransientRecHit::build(), collectRecHits(), F(), MeasurementDet::fastGeomDet(), MeasurementDet::geomDet(), TkStripMeasurementDet::hasAllGoodChannels(), TrajectoryStateOnSurface::hasError(), TrackingRecHit::inactive, TkStripMeasurementDet::isActive(), query::result, python.multivaluedict::sort(), GeomDet::surface(), testStrips(), theCPE, theMatcher, theMonoDet, and theStereoDet.
|
inlinevirtual |
return TRUE if at least one of the mono and stereo components has badChannels
Implements MeasurementDet.
Definition at line 43 of file TkGluedMeasurementDet.h.
References monoDet(), and stereoDet().
void TkGluedMeasurementDet::init | ( | const MeasurementDet * | monoDet, |
const MeasurementDet * | stereoDet | ||
) |
Definition at line 31 of file TkGluedMeasurementDet.cc.
References monoDet(), stereoDet(), theMonoDet, and theStereoDet.
Referenced by MeasurementTrackerImpl::initGluedDet().
|
inlinevirtual |
return TRUE if both mono and stereo components are active
Implements MeasurementDet.
Definition at line 40 of file TkGluedMeasurementDet.h.
References TkStripMeasurementDet::isActive(), monoDet(), and stereoDet().
|
inline |
Definition at line 36 of file TkGluedMeasurementDet.h.
References theMonoDet.
Referenced by hasBadComponents(), OnDemandMeasurementTracker::idToDet(), init(), and isActive().
|
private |
Definition at line 166 of file TkGluedMeasurementDet.cc.
References MeasurementDet::fastGeomDet(), trackerHitRTTI::proj, TrackingRecHitProjector< ResultingHit >::project(), and query::result.
Referenced by collectRecHits().
|
private |
void TkGluedMeasurementDet::projectOnGluedDet | ( | Collector & | collector, |
const RecHitContainer & | hits, | ||
const GlobalVector & | gdir | ||
) | const |
Definition at line 180 of file TkGluedMeasurementDet.cc.
|
virtual |
Implements MeasurementDet.
Definition at line 42 of file TkGluedMeasurementDet.cc.
References collectRecHits(), MeasurementDet::fastGeomDet(), query::result, theCPE, and theMatcher.
|
inline |
Definition at line 28 of file TkGluedMeasurementDet.h.
References compareJSON::const, and MeasurementDet::fastGeomDet().
Referenced by collectRecHits(), and MeasurementTrackerImpl::initGluedDet().
|
inline |
Definition at line 37 of file TkGluedMeasurementDet.h.
References theStereoDet.
Referenced by hasBadComponents(), OnDemandMeasurementTracker::idToDet(), init(), and isActive().
|
private |
Test the strips on one of the two dets with projection.
Definition at line 231 of file TkGluedMeasurementDet.cc.
References delta, Vector3DBase< T, FrameTag >::dot(), MeasurementDet::fastGeomDet(), TrajectoryStateOnSurface::globalParameters(), TrajectoryStateOnSurface::globalPosition(), TrajectoryStateOnSurface::localError(), Plane::localZ(), Topology::measurementError(), Topology::measurementPosition(), GlobalTrajectoryParameters::momentum(), Plane::normalVector(), pos, LocalTrajectoryError::positionError(), LocalError::rotate(), TkStripMeasurementDet::specificGeomDet(), StripGeomDetUnit::specificTopology(), mathSSE::sqrt(), GeomDet::surface(), TkStripMeasurementDet::testStrips(), Surface::toGlobal(), GloballyPositioned< T >::toLocal(), MeasurementError::uu(), PV2DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::x(), LocalError::xx(), LocalError::xy(), PV3DBase< T, PVType, FrameType >::y(), LocalError::yy(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by fastMeasurements().
|
private |
Definition at line 48 of file TkGluedMeasurementDet.h.
Referenced by fastMeasurements(), and recHits().
|
private |
Definition at line 47 of file TkGluedMeasurementDet.h.
Referenced by collectRecHits(), fastMeasurements(), and recHits().
|
private |
Definition at line 49 of file TkGluedMeasurementDet.h.
Referenced by collectRecHits(), fastMeasurements(), init(), and monoDet().
|
private |
Definition at line 50 of file TkGluedMeasurementDet.h.
Referenced by collectRecHits(), fastMeasurements(), init(), and stereoDet().