#include <TkPixelMeasurementDet.h>
Public Types | |
typedef detset::const_iterator | const_iterator |
typedef edmNew::DetSet< SiPixelCluster > | detset |
typedef PixelClusterParameterEstimator::LocalValues | LocalValues |
typedef edm::Ref< edmNew::DetSetVector< SiPixelCluster >, SiPixelCluster > | SiPixelClusterRef |
Public Types inherited from MeasurementDet | |
typedef TrackingRecHit::ConstRecHitContainer | RecHitContainer |
using | SimpleHitContainer = std::vector< BaseTrackerRecHit * > |
typedef tracking::TempMeasurements | TempMeasurements |
Public Member Functions | |
bool | accept (SiPixelClusterRefNew &r, const std::vector< bool > skipClusters) const |
TrackingRecHit::RecHitPointer | buildRecHit (const SiPixelClusterRef &cluster, const LocalTrajectoryParameters <p) const |
void | clearBadRocPositions () |
Clear the list of bad ROCs. More... | |
RecHitContainer | compHits (const TrajectoryStateOnSurface &, const MeasurementTrackerEvent &dat, float xl, float yl) const |
const PxMeasurementDetSet::BadFEDChannelPositions * | getBadFEDChannelPositions (const MeasurementTrackerEvent &data) const |
bool | hasBadComponents (const TrajectoryStateOnSurface &tsos, const MeasurementTrackerEvent &dat) const override |
int | index () const |
bool | isActive (const MeasurementTrackerEvent &data) const override |
Is this module active in reconstruction? It must be both 'setActiveThisEvent' and 'setActive'. More... | |
bool | isEmpty (const PxMeasurementDetSet &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 (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 (PxMeasurementDetSet &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 | setBadRocPositions (std::vector< LocalPoint > &positions) |
Sets the list of bad ROCs, identified by the positions of their centers in the local coordinate frame. More... | |
void | setEmpty (PxMeasurementDetSet &data) |
void | setIndex (int i) |
const PixelGeomDetUnit & | specificGeomDet () const |
TkPixelMeasurementDet (const GeomDet *gdet, PxMeasurementConditionSet &conditionSet) | |
void | update (PxMeasurementDetSet &data, const detset &detSet) |
~TkPixelMeasurementDet () 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 |
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 | |
PxMeasurementConditionSet & | conditionSet () |
const PxMeasurementConditionSet & | conditionSet () const |
const PixelClusterParameterEstimator * | cpe () const |
Private Attributes | |
std::vector< LocalPoint > | badRocPositions_ |
int | index_ |
PxMeasurementConditionSet * | theDetConditions |
Additional Inherited Members | |
Protected Attributes inherited from MeasurementDet | |
TrackingRecHit::ConstRecHitPointer | theInactiveHit |
TrackingRecHit::ConstRecHitPointer | theMissingHit |
Definition at line 17 of file TkPixelMeasurementDet.h.
Definition at line 22 of file TkPixelMeasurementDet.h.
Definition at line 21 of file TkPixelMeasurementDet.h.
Definition at line 23 of file TkPixelMeasurementDet.h.
typedef edm::Ref<edmNew::DetSetVector<SiPixelCluster>, SiPixelCluster> TkPixelMeasurementDet::SiPixelClusterRef |
Definition at line 19 of file TkPixelMeasurementDet.h.
TkPixelMeasurementDet::TkPixelMeasurementDet | ( | const GeomDet * | gdet, |
PxMeasurementConditionSet & | conditionSet | ||
) |
Definition at line 17 of file TkPixelMeasurementDet.cc.
|
inlineoverride |
Definition at line 35 of file TkPixelMeasurementDet.h.
|
inline |
Definition at line 98 of file TkPixelMeasurementDet.h.
References alignCSCRings::r, and HLTSiStripMonitoring_cff::skipClusters.
Referenced by esMonitoring.FDJsonServer::handle_accept().
TrackingRecHit::RecHitPointer TkPixelMeasurementDet::buildRecHit | ( | const SiPixelClusterRef & | cluster, |
const LocalTrajectoryParameters & | ltp | ||
) | const |
Definition at line 69 of file TkPixelMeasurementDet.cc.
References cpe(), MeasurementDet::fastGeomDet(), PixelClusterParameterEstimator::getParameters(), submitPVValidationJobs::params, and specificGeomDet().
Referenced by compHits().
|
inline |
Clear the list of bad ROCs.
Definition at line 77 of file TkPixelMeasurementDet.h.
TkPixelMeasurementDet::RecHitContainer TkPixelMeasurementDet::compHits | ( | const TrajectoryStateOnSurface & | ts, |
const MeasurementTrackerEvent & | dat, | ||
float | xl, | ||
float | yl | ||
) | const |
Definition at line 85 of file TkPixelMeasurementDet.cc.
References edmNew::DetSet< T >::begin(), buildRecHit(), haddnano::cl, data, edmNew::DetSet< T >::end(), MeasurementDet::fastGeomDet(), GeomDet::geographicalId(), index(), isActive(), isEmpty(), TrajectoryStateOnSurface::localParameters(), TrajectoryStateOnSurface::localPosition(), LogDebug, edmNew::DetSet< T >::makeRefTo(), Topology::measurementPosition(), or, DetId::rawId(), mps_fire::result, edmNew::DetSet< T >::size(), specificGeomDet(), PixelGeomDetUnit::specificTopology(), and PV2DBase< T, PVType, FrameType >::x().
Referenced by measurements(), and recHits().
|
inlineprivate |
Definition at line 92 of file TkPixelMeasurementDet.h.
|
inlineprivate |
Definition at line 93 of file TkPixelMeasurementDet.h.
|
inlineprivate |
Definition at line 95 of file TkPixelMeasurementDet.h.
Referenced by buildRecHit().
|
inline |
Definition at line 79 of file TkPixelMeasurementDet.h.
References data.
Referenced by hasBadComponents().
|
overridevirtual |
Implements MeasurementDet.
Definition at line 149 of file TkPixelMeasurementDet.cc.
References funct::abs(), badRocPositions_, data, PVValHelper::dx, PVValHelper::dy, f, getBadFEDChannelPositions(), TrajectoryStateOnSurface::hasError(), TrajectoryStateOnSurface::localError(), TrajectoryStateOnSurface::localPosition(), AlCaHLTBitMon_ParallelJobs::p, LocalTrajectoryError::positionError(), mathSSE::sqrt(), LocalError::xx(), and LocalError::yy().
Referenced by measurements().
|
inline |
|
inlineoverridevirtual |
Is this module active in reconstruction? It must be both 'setActiveThisEvent' and 'setActive'.
Implements MeasurementDet.
Definition at line 70 of file TkPixelMeasurementDet.h.
References data.
Referenced by compHits(), and measurements().
|
inline |
Definition at line 33 of file TkPixelMeasurementDet.h.
References data.
Referenced by plotting.Plot::clone(), and compHits().
|
overridevirtual |
Implements MeasurementDet.
Definition at line 24 of file TkPixelMeasurementDet.cc.
References compHits(), runTheMatrix::const, data, MeasurementEstimator::estimate(), F(), MeasurementDet::fastGeomDet(), hasBadComponents(), isActive(), TrajectoryStateOnSurface::localError(), MeasurementEstimator::maxSagitta(), eostools::move(), LocalTrajectoryError::positionError(), mps_fire::result, mathSSE::sqrt(), MeasurementDet::theInactiveHit, MeasurementDet::theMissingHit, LocalError::valid(), LocalError::xx(), and LocalError::yy().
|
overridevirtual |
Implements MeasurementDet.
Definition at line 78 of file TkPixelMeasurementDet.cc.
References compHits(), and data.
|
inlineoverridevirtual |
Reimplemented from MeasurementDet.
Definition at line 47 of file TkPixelMeasurementDet.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 65 of file TkPixelMeasurementDet.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 68 of file TkPixelMeasurementDet.h.
References data.
|
inline |
Sets the list of bad ROCs, identified by the positions of their centers in the local coordinate frame.
Definition at line 75 of file TkPixelMeasurementDet.h.
|
inline |
|
inline |
|
inline |
Definition at line 59 of file TkPixelMeasurementDet.h.
References runTheMatrix::const, and MeasurementDet::fastGeomDet().
Referenced by buildRecHit(), and compHits().
|
inline |
Definition at line 27 of file TkPixelMeasurementDet.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 88 of file TkPixelMeasurementDet.h.
Referenced by hasBadComponents().
|
private |
Definition at line 90 of file TkPixelMeasurementDet.h.
|
private |
Definition at line 91 of file TkPixelMeasurementDet.h.