#include <TkPhase2OTMeasurementDet.h>
Public Types | |
typedef detset::const_iterator | const_iterator |
typedef edmNew::DetSet< Phase2TrackerCluster1D > | detset |
typedef ClusterParameterEstimator< Phase2TrackerCluster1D >::LocalValues | LocalValues |
typedef edm::Ref< edmNew::DetSetVector< Phase2TrackerCluster1D >, Phase2TrackerCluster1D > | Phase2TrackerCluster1DRef |
Public Types inherited from MeasurementDet | |
typedef TrackingRecHit::ConstRecHitContainer | RecHitContainer |
using | SimpleHitContainer = std::vector< BaseTrackerRecHit * > |
typedef tracking::TempMeasurements | TempMeasurements |
Public Member Functions | |
TrackingRecHit::RecHitPointer | buildRecHit (const Phase2TrackerCluster1DRef &cluster, const LocalTrajectoryParameters <p) const |
bool | hasBadComponents (const TrajectoryStateOnSurface &tsos, const MeasurementTrackerEvent &dat) const override |
int | index () const |
Sets the list of bad ROCs, identified by the positions of their centers in the local coordinate frame. More... | |
bool | isActive (const MeasurementTrackerEvent &data) const override |
Is this module active in reconstruction? It must be both 'setActiveThisEvent' and 'setActive'. More... | |
bool | isEmpty (const Phase2OTMeasurementDetSet &data) const |
bool | measurements (const TrajectoryStateOnSurface &stateOnThisDet, const MeasurementEstimator &est, const MeasurementTrackerEvent &dat, TempMeasurements &result) const override |
RecHitContainer | recHits (const TrajectoryStateOnSurface &, const MeasurementTrackerEvent &dat) const override |
bool | recHits (const TrajectoryStateOnSurface &stateOnThisDet, const MeasurementEstimator &, const MeasurementTrackerEvent &data, RecHitContainer &result, std::vector< float > &) const override |
bool | recHits (SimpleHitContainer &result, const TrajectoryStateOnSurface &stateOnThisDet, const MeasurementEstimator &, const MeasurementTrackerEvent &data) const override |
void | setActive (bool active) |
Turn on/off the module for reconstruction, for the full run or lumi (using info from DB, usually). More... | |
void | setActiveThisEvent (Phase2OTMeasurementDetSet &data, bool active) const |
Turn on/off the module for reconstruction for one events. This per-event flag is cleared by any call to 'update' or 'setEmpty'. More... | |
void | setEmpty (Phase2OTMeasurementDetSet &data) |
void | setIndex (int i) |
const PixelGeomDetUnit & | specificGeomDet () const |
TkPhase2OTMeasurementDet (const GeomDet *gdet, Phase2OTMeasurementConditionSet &conditionSet) | |
void | update (Phase2OTMeasurementDetSet &data, const detset &detSet) |
~TkPhase2OTMeasurementDet () override | |
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 |
const Surface & | surface () const |
virtual | ~MeasurementDet ()=default |
Private Member Functions | |
Phase2OTMeasurementConditionSet & | conditionSet () |
const Phase2OTMeasurementConditionSet & | conditionSet () const |
const ClusterParameterEstimator< Phase2TrackerCluster1D > * | cpe () const |
Private Attributes | |
unsigned int | id_ |
int | index_ |
Phase2OTMeasurementConditionSet * | theDetConditions |
Additional Inherited Members | |
Protected Attributes inherited from MeasurementDet | |
TrackingRecHit::ConstRecHitPointer | theInactiveHit |
TrackingRecHit::ConstRecHitPointer | theMissingHit |
Definition at line 16 of file TkPhase2OTMeasurementDet.h.
Definition at line 21 of file TkPhase2OTMeasurementDet.h.
Definition at line 20 of file TkPhase2OTMeasurementDet.h.
typedef ClusterParameterEstimator<Phase2TrackerCluster1D>::LocalValues TkPhase2OTMeasurementDet::LocalValues |
Definition at line 22 of file TkPhase2OTMeasurementDet.h.
typedef edm::Ref<edmNew::DetSetVector<Phase2TrackerCluster1D>, Phase2TrackerCluster1D> TkPhase2OTMeasurementDet::Phase2TrackerCluster1DRef |
Definition at line 18 of file TkPhase2OTMeasurementDet.h.
TkPhase2OTMeasurementDet::TkPhase2OTMeasurementDet | ( | const GeomDet * | gdet, |
Phase2OTMeasurementConditionSet & | conditionSet | ||
) |
Definition at line 10 of file TkPhase2OTMeasurementDet.cc.
|
inlineoverride |
Definition at line 34 of file TkPhase2OTMeasurementDet.h.
TrackingRecHit::RecHitPointer TkPhase2OTMeasurementDet::buildRecHit | ( | const Phase2TrackerCluster1DRef & | cluster, |
const LocalTrajectoryParameters & | ltp | ||
) | const |
Definition at line 121 of file TkPhase2OTMeasurementDet.cc.
References cpe(), MeasurementDet::fastGeomDet(), ClusterParameterEstimator< T >::localParameters(), submitPVValidationJobs::params, and specificGeomDet().
Referenced by recHits().
|
inlineprivate |
Definition at line 88 of file TkPhase2OTMeasurementDet.h.
|
inlineprivate |
Definition at line 89 of file TkPhase2OTMeasurementDet.h.
|
inlineprivate |
Definition at line 91 of file TkPhase2OTMeasurementDet.h.
Referenced by buildRecHit().
|
overridevirtual |
Implements MeasurementDet.
Definition at line 165 of file TkPhase2OTMeasurementDet.cc.
Referenced by measurements().
|
inline |
Sets the list of bad ROCs, identified by the positions of their centers in the local coordinate frame.
Clear the list of bad ROCs
Definition at line 79 of file TkPhase2OTMeasurementDet.h.
Referenced by recHits().
|
inlineoverridevirtual |
Is this module active in reconstruction? It must be both 'setActiveThisEvent' and 'setActive'.
Implements MeasurementDet.
Definition at line 69 of file TkPhase2OTMeasurementDet.h.
References data.
Referenced by TkStackMeasurementDet::isActive(), measurements(), and recHits().
|
inline |
Definition at line 32 of file TkPhase2OTMeasurementDet.h.
References data.
Referenced by plotting.Plot::clone(), and recHits().
|
overridevirtual |
Implements MeasurementDet.
Definition at line 18 of file TkPhase2OTMeasurementDet.cc.
References data, F(), hasBadComponents(), isActive(), recHits(), mps_fire::result, MeasurementDet::theInactiveHit, and MeasurementDet::theMissingHit.
|
overridevirtual |
Implements MeasurementDet.
Definition at line 129 of file TkPhase2OTMeasurementDet.cc.
References edmNew::DetSet< T >::begin(), buildRecHit(), data, edmNew::DetSet< T >::end(), MeasurementDet::fastGeomDet(), GeomDet::geographicalId(), index(), isActive(), isEmpty(), TrajectoryStateOnSurface::localParameters(), LogDebug, edmNew::DetSet< T >::makeRefTo(), or, DetId::rawId(), mps_fire::result, and edmNew::DetSet< T >::size().
Referenced by measurements().
|
overridevirtual |
use the usual 5 sigma cut from the Traj to identify the column....
Reimplemented from MeasurementDet.
Definition at line 36 of file TkPhase2OTMeasurementDet.cc.
References edmNew::DetSet< T >::begin(), buildRecHit(), cuy::col, runTheMatrix::const, data, edmNew::DetSet< T >::end(), MeasurementEstimator::estimate(), MeasurementDet::fastGeomDet(), index(), createfilelist::int, isActive(), isEmpty(), TrajectoryStateOnSurface::localError(), TrajectoryStateOnSurface::localParameters(), TrajectoryStateOnSurface::localPosition(), edmNew::DetSet< T >::makeRefTo(), MeasurementEstimator::maxSagitta(), Topology::measurementPosition(), LocalTrajectoryError::positionError(), caHitNtupletGeneratorKernels::reject, mps_fire::result, specificGeomDet(), PixelGeomDetUnit::specificTopology(), mathSSE::sqrt(), UNLIKELY, LocalError::valid(), L1TOccupancyClient_cfi::ymax, L1TOccupancyClient_cfi::ymin, and LocalError::yy().
|
inlineoverridevirtual |
Reimplemented from MeasurementDet.
Definition at line 44 of file TkPhase2OTMeasurementDet.h.
References cms::cuda::assert().
|
inline |
Turn on/off the module for reconstruction, for the full run or lumi (using info from DB, usually).
Definition at line 62 of file TkPhase2OTMeasurementDet.h.
|
inline |
Turn on/off the module for reconstruction for one events. This per-event flag is cleared by any call to 'update' or 'setEmpty'.
Definition at line 65 of file TkPhase2OTMeasurementDet.h.
References data.
|
inline |
Definition at line 31 of file TkPhase2OTMeasurementDet.h.
References data.
|
inline |
|
inline |
Definition at line 56 of file TkPhase2OTMeasurementDet.h.
References runTheMatrix::const, and MeasurementDet::fastGeomDet().
Referenced by buildRecHit(), and recHits().
|
inline |
Definition at line 26 of file TkPhase2OTMeasurementDet.h.
References data.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), progressbar.ProgressBar::finish(), and MatrixUtil.Steps::overwrite().
|
private |
Definition at line 83 of file TkPhase2OTMeasurementDet.h.
|
private |
Definition at line 86 of file TkPhase2OTMeasurementDet.h.
|
private |
Definition at line 87 of file TkPhase2OTMeasurementDet.h.