#include <TkGluedMeasurementDet.h>
Classes | |
class | HitCollectorForFastMeasurements |
class | HitCollectorForRecHits |
class | HitCollectorForSimpleHits |
Public Member Functions | |
bool | hasBadComponents (const TrajectoryStateOnSurface &tsos, const MeasurementTrackerEvent &data) const override |
return TRUE if at least one of the mono and stereo components has badChannels More... | |
void | init (const MeasurementDet *monoDet, const MeasurementDet *stereoDet, const TrackerTopology *tTopo) |
bool | isActive (const MeasurementTrackerEvent &data) const override |
return TRUE if both mono and stereo components are active More... | |
bool | measurements (const TrajectoryStateOnSurface &stateOnThisDet, const MeasurementEstimator &est, const MeasurementTrackerEvent &data, TempMeasurements &result) const override |
const TkStripMeasurementDet * | monoDet () const |
template<typename Collector > | |
void | projectOnGluedDet (Collector &collector, const RecHitContainer &hits, const GlobalVector &gdir) const |
template<typename Collector > | |
void | projectOnGluedDet (Collector &collector, std::vector< SiStripRecHit2D > const &hits, const GlobalVector &gdir) const |
unsigned int | rawId () const |
RecHitContainer | recHits (const TrajectoryStateOnSurface &, const MeasurementTrackerEvent &data) const override |
bool | recHits (SimpleHitContainer &result, const TrajectoryStateOnSurface &stateOnThisDet, const MeasurementEstimator &, const MeasurementTrackerEvent &data) const override |
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 |
std::vector< TrajectoryMeasurement > | fastMeasurements (const TrajectoryStateOnSurface &stateOnThisDet, const TrajectoryStateOnSurface &, const Propagator &, const MeasurementEstimator &est, const MeasurementTrackerEvent &data) const |
virtual const GeomDet & | geomDet () const |
MeasurementDet (const GeomDet *gdet) | |
const Surface::PositionType & | position () const |
virtual bool | recHits (const TrajectoryStateOnSurface &stateOnThisDet, const MeasurementEstimator &, const MeasurementTrackerEvent &data, RecHitContainer &result, std::vector< float > &) const |
const Surface & | surface () const |
virtual | ~MeasurementDet ()=default |
Private Member Functions | |
void | checkHitProjection (const TrackingRecHit &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 &, const MeasurementTrackerEvent &data, Collector &coll) const |
template<typename Collector > | |
void | doubleMatch (const TrajectoryStateOnSurface &ts, const MeasurementTrackerEvent &data, Collector &collector) const |
RecHitContainer | projectOnGluedDet (const std::vector< SiStripRecHit2D > &hits, const TrajectoryStateOnSurface &ts) const |
template<typename HitCollector > | |
void | projectOnGluedDet (HitCollector &collector, const std::vector< SiStripRecHit2D > &hits, const GlobalVector &gdir) 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 |
const TrackerTopology * | theTopology |
Additional Inherited Members | |
Public Types inherited from MeasurementDet | |
typedef TrackingRecHit::ConstRecHitContainer | RecHitContainer |
using | SimpleHitContainer = std::vector< BaseTrackerRecHit * > |
typedef tracking::TempMeasurements | TempMeasurements |
Protected Attributes inherited from MeasurementDet | |
TrackingRecHit::ConstRecHitPointer | theInactiveHit |
TrackingRecHit::ConstRecHitPointer | theMissingHit |
Definition at line 17 of file TkGluedMeasurementDet.h.
TkGluedMeasurementDet::TkGluedMeasurementDet | ( | const GluedGeomDet * | gdet, |
const SiStripRecHitMatcher * | matcher, | ||
const StripClusterParameterEstimator * | cpe | ||
) |
Definition at line 62 of file TkGluedMeasurementDet.cc.
|
private |
Definition at line 347 of file TkGluedMeasurementDet.cc.
References gather_cfg::cout, EcalSCDynamicDPhiParametersESProducer_cfi::cutoff, HLT_2024v11_cff::eps, TrajectoryStateOnSurface::globalParameters(), TrajectoryStateOnSurface::localError(), TrajectoryStateOnSurface::localPosition(), mag(), SiStripPI::max, GlobalTrajectoryParameters::momentum(), LocalTrajectoryError::positionError(), RecHitPropagator::propagate(), GeomDet::surface(), theCPE, LocalError::xx(), LocalError::xy(), and LocalError::yy().
Referenced by checkProjection().
|
private |
Definition at line 336 of file TkGluedMeasurementDet.cc.
References checkHitProjection(), MeasurementDet::fastGeomDet(), and mps_fire::i.
|
private |
Definition at line 170 of file TkGluedMeasurementDet.cc.
References data, TrajectoryStateOnSurface::globalParameters(), TrackingRecHit::hit(), 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 HcalDetIdTransform::transform().
Referenced by measurements(), and recHits().
|
private |
|
inlineoverridevirtual |
return TRUE if at least one of the mono and stereo components has badChannels
Implements MeasurementDet.
Definition at line 50 of file TkGluedMeasurementDet.h.
References data, and MeasurementDet::hasBadComponents().
void TkGluedMeasurementDet::init | ( | const MeasurementDet * | monoDet, |
const MeasurementDet * | stereoDet, | ||
const TrackerTopology * | tTopo | ||
) |
Definition at line 72 of file TkGluedMeasurementDet.cc.
References monoDet(), stereoDet(), theMonoDet, theStereoDet, and theTopology.
Referenced by MeasurementTrackerImpl::initGluedDet().
|
inlineoverridevirtual |
return TRUE if both mono and stereo components are active
Implements MeasurementDet.
Definition at line 45 of file TkGluedMeasurementDet.h.
References data, and MeasurementDet::isActive().
|
overridevirtual |
Implements MeasurementDet.
Definition at line 107 of file TkGluedMeasurementDet.cc.
References collectRecHits(), data, F(), MeasurementDet::fastGeomDet(), GeomDet::geographicalId(), MeasurementDet::geomDet(), TrajectoryStateOnSurface::globalMomentum(), TkStripMeasurementDet::hasAllGoodChannels(), TrajectoryStateOnSurface::hasError(), TkStripMeasurementDet::isActive(), MainPageGenerator::l, MeasurementEstimator::minPt2ForHitRecoveryInGluedDet(), PV3DBase< T, PVType, FrameType >::perp2(), mps_fire::result, DetId::subdetId(), GeomDet::surface(), testStrips(), theCPE, MeasurementDet::theInactiveHit, theMatcher, MeasurementDet::theMissingHit, theMonoDet, theStereoDet, theTopology, TrackerTopology::tobLayer(), and UNLIKELY.
|
inline |
Definition at line 39 of file TkGluedMeasurementDet.h.
Referenced by init().
|
private |
Definition at line 316 of file TkGluedMeasurementDet.cc.
References runTheMatrix::const, MeasurementDet::fastGeomDet(), TrajectoryStateOnSurface::globalParameters(), hfClusterShapes_cfi::hits, GlobalTrajectoryParameters::momentum(), eostools::move(), mps_fire::result, and theCPE.
Referenced by collectRecHits().
|
private |
|
private |
Definition at line 295 of file TkGluedMeasurementDet.cc.
References runTheMatrix::const, MeasurementDet::fastGeomDet(), TrajectoryStateOnSurface::globalParameters(), hfClusterShapes_cfi::hits, GlobalTrajectoryParameters::momentum(), eostools::move(), mps_fire::result, and theCPE.
|
private |
void TkGluedMeasurementDet::projectOnGluedDet | ( | Collector & | collector, |
const RecHitContainer & | hits, | ||
const GlobalVector & | gdir | ||
) | const |
void TkGluedMeasurementDet::projectOnGluedDet | ( | Collector & | collector, |
std::vector< SiStripRecHit2D > const & | hits, | ||
const GlobalVector & | gdir | ||
) | const |
Definition at line 329 of file TkGluedMeasurementDet.cc.
References hfClusterShapes_cfi::hits.
|
inline |
Definition at line 42 of file TkGluedMeasurementDet.h.
References MeasurementDet::fastGeomDet(), and GeomDet::geographicalId().
|
overridevirtual |
Implements MeasurementDet.
Definition at line 85 of file TkGluedMeasurementDet.cc.
References collectRecHits(), data, MeasurementDet::fastGeomDet(), mps_fire::result, theCPE, and theMatcher.
|
overridevirtual |
Reimplemented from MeasurementDet.
Definition at line 94 of file TkGluedMeasurementDet.cc.
References collectRecHits(), data, MeasurementDet::fastGeomDet(), TkStripMeasurementDet::isActive(), mps_fire::result, theCPE, theMatcher, theMonoDet, theStereoDet, and UNLIKELY.
|
inline |
Definition at line 32 of file TkGluedMeasurementDet.h.
References runTheMatrix::const, and MeasurementDet::fastGeomDet().
Referenced by collectRecHits(), and MeasurementTrackerImpl::initGluedDet().
|
inline |
Definition at line 40 of file TkGluedMeasurementDet.h.
Referenced by init().
|
private |
Test the strips on one of the two dets with projection.
Definition at line 373 of file TkGluedMeasurementDet.cc.
References dumpMFGeometry_cfg::delta, submitPVResolutionJobs::err, MeasurementDet::fastGeomDet(), TrajectoryStateOnSurface::globalParameters(), TrajectoryStateOnSurface::globalPosition(), TrajectoryStateOnSurface::localError(), Topology::measurementError(), Topology::measurementPosition(), GlobalTrajectoryParameters::momentum(), LocalTrajectoryError::positionError(), TkStripMeasurementDet::specificGeomDet(), StripGeomDetUnit::specificTopology(), mathSSE::sqrt(), GeomDet::surface(), TkStripMeasurementDet::testStrips(), MeasurementError::uu(), PV2DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by measurements().
|
private |
Definition at line 56 of file TkGluedMeasurementDet.h.
Referenced by checkHitProjection(), measurements(), projectOnGluedDet(), and recHits().
|
private |
Definition at line 55 of file TkGluedMeasurementDet.h.
Referenced by collectRecHits(), measurements(), and recHits().
|
private |
Definition at line 57 of file TkGluedMeasurementDet.h.
Referenced by collectRecHits(), init(), measurements(), and recHits().
|
private |
Definition at line 58 of file TkGluedMeasurementDet.h.
Referenced by collectRecHits(), init(), measurements(), and recHits().
|
private |
Definition at line 59 of file TkGluedMeasurementDet.h.
Referenced by init(), and measurements().