#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 |
bool | hasBadComponents (const TrajectoryStateOnSurface &tsos, const MeasurementTrackerEvent &dat) const |
int | index () const |
bool | isActive (const MeasurementTrackerEvent &data) const |
Is this module active in reconstruction? It must be both 'setActiveThisEvent' and 'setActive'. More... | |
bool | isEmpty (const PxMeasurementDetSet &data) const |
virtual bool | measurements (const TrajectoryStateOnSurface &stateOnThisDet, const MeasurementEstimator &est, const MeasurementTrackerEvent &dat, TempMeasurements &result) const |
virtual RecHitContainer | recHits (const TrajectoryStateOnSurface &, const MeasurementTrackerEvent &dat) const override |
virtual bool | recHits (SimpleHitContainer &result, const TrajectoryStateOnSurface &stateOnThisDet, const MeasurementEstimator &, const MeasurementTrackerEvent &data) const |
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) |
virtual | ~TkPixelMeasurementDet () |
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_ |
unsigned int | id_ |
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 23 of file TkPixelMeasurementDet.h.
Definition at line 22 of file TkPixelMeasurementDet.h.
Definition at line 24 of file TkPixelMeasurementDet.h.
typedef edm::Ref<edmNew::DetSetVector<SiPixelCluster>, SiPixelCluster> TkPixelMeasurementDet::SiPixelClusterRef |
Definition at line 20 of file TkPixelMeasurementDet.h.
TkPixelMeasurementDet::TkPixelMeasurementDet | ( | const GeomDet * | gdet, |
PxMeasurementConditionSet & | conditionSet | ||
) |
Definition at line 17 of file TkPixelMeasurementDet.cc.
|
inlinevirtual |
|
inline |
Definition at line 97 of file TkPixelMeasurementDet.h.
References edm::Ref< C, T, F >::key().
Referenced by Vispa.Gui.BoxContentDialog.BoxContentDialog::apply(), Vispa.Plugins.ConfigEditor.ToolDialog.ToolDialog::apply(), and esMonitoring.FDJsonServer::handle_accept().
TrackingRecHit::RecHitPointer TkPixelMeasurementDet::buildRecHit | ( | const SiPixelClusterRef & | cluster, |
const LocalTrajectoryParameters & | ltp | ||
) | const |
Definition at line 74 of file TkPixelMeasurementDet.cc.
References cpe(), MeasurementDet::fastGeomDet(), PixelClusterParameterEstimator::getParameters(), and specificGeomDet().
Referenced by compHits().
|
inline |
Clear the list of bad ROCs.
Definition at line 79 of file TkPixelMeasurementDet.h.
TkPixelMeasurementDet::RecHitContainer TkPixelMeasurementDet::compHits | ( | const TrajectoryStateOnSurface & | ts, |
const MeasurementTrackerEvent & | dat, | ||
float | xl, | ||
float | yl | ||
) | const |
Definition at line 93 of file TkPixelMeasurementDet.cc.
References begin, edmNew::DetSet< T >::begin(), buildRecHit(), GetRecoTauVFromDQM_MC_cff::cl, edmNew::DetSetVector< T >::data(), PxMeasurementDetSet::detSet(), edmNew::DetSet< T >::end(), MeasurementDet::fastGeomDet(), GeomDet::geographicalId(), PxMeasurementDetSet::handle(), index(), isActive(), isEmpty(), TrajectoryStateOnSurface::localParameters(), TrajectoryStateOnSurface::localPosition(), LogDebug, edmNew::DetSet< T >::makeRefTo(), Topology::measurementPosition(), or, MeasurementTrackerEvent::pixelClustersToSkip(), MeasurementTrackerEvent::pixelData(), DetId::rawId(), mps_fire::result, edmNew::DetSet< T >::size(), SiPixelCluster::size(), specificGeomDet(), PixelGeomDetUnit::specificTopology(), and PV2DBase< T, PVType, FrameType >::x().
Referenced by measurements(), and recHits().
|
inlineprivate |
Definition at line 90 of file TkPixelMeasurementDet.h.
|
inlineprivate |
Definition at line 91 of file TkPixelMeasurementDet.h.
|
inlineprivate |
Definition at line 93 of file TkPixelMeasurementDet.h.
Referenced by buildRecHit().
|
virtual |
Implements MeasurementDet.
Definition at line 152 of file TkPixelMeasurementDet.cc.
References funct::abs(), badRocPositions_, TrajectoryStateOnSurface::localError(), TrajectoryStateOnSurface::localPosition(), LocalTrajectoryError::positionError(), mathSSE::sqrt(), PV3DBase< T, PVType, FrameType >::x(), LocalError::xx(), PV3DBase< T, PVType, FrameType >::y(), and LocalError::yy().
Referenced by measurements().
|
inline |
Definition at line 81 of file TkPixelMeasurementDet.h.
Referenced by compHits(), and BeautifulSoup.PageElement::insert().
|
inlinevirtual |
Is this module active in reconstruction? It must be both 'setActiveThisEvent' and 'setActive'.
Implements MeasurementDet.
Definition at line 72 of file TkPixelMeasurementDet.h.
References MeasurementDet::hasBadComponents(), diffTreeTool::index, PxMeasurementDetSet::isActive(), and MeasurementTrackerEvent::pixelData().
Referenced by compHits(), and measurements().
|
inline |
Definition at line 35 of file TkPixelMeasurementDet.h.
References PxMeasurementDetSet::empty(), and diffTreeTool::index.
Referenced by plotting.Plot::clone(), and compHits().
|
virtual |
Implements MeasurementDet.
Definition at line 27 of file TkPixelMeasurementDet.cc.
References tracking::TempMeasurements::add(), compHits(), MeasurementEstimator::estimate(), F(), MeasurementDet::fastGeomDet(), hasBadComponents(), isActive(), TrajectoryStateOnSurface::localError(), MeasurementEstimator::maxSagitta(), eostools::move(), LocalTrajectoryError::positionError(), tracking::TempMeasurements::size(), mathSSE::sqrt(), MeasurementDet::theInactiveHit, MeasurementDet::theMissingHit, LocalError::valid(), LocalError::xx(), and LocalError::yy().
|
overridevirtual |
Implements MeasurementDet.
Definition at line 85 of file TkPixelMeasurementDet.cc.
References compHits().
|
inlinevirtual |
Reimplemented from MeasurementDet.
Definition at line 48 of file TkPixelMeasurementDet.h.
References MeasurementDet::measurements(), and mps_fire::result.
|
inline |
Turn on/off the module for reconstruction, for the full run or lumi (using info from DB, usually).
Definition at line 67 of file TkPixelMeasurementDet.h.
References diffTreeTool::index.
|
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 70 of file TkPixelMeasurementDet.h.
References diffTreeTool::index, and PxMeasurementDetSet::setActiveThisEvent().
|
inline |
Sets the list of bad ROCs, identified by the positions of their centers in the local coordinate frame.
Definition at line 77 of file TkPixelMeasurementDet.h.
|
inline |
Definition at line 34 of file TkPixelMeasurementDet.h.
References diffTreeTool::index, and PxMeasurementDetSet::setEmpty().
|
inline |
|
inline |
Definition at line 60 of file TkPixelMeasurementDet.h.
References MeasurementDet::fastGeomDet().
Referenced by buildRecHit(), and compHits().
|
inline |
Definition at line 29 of file TkPixelMeasurementDet.h.
References diffTreeTool::index, PxMeasurementDetSet::setActiveThisEvent(), and PxMeasurementDetSet::update().
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.Steps::__setitem__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), MatrixUtil.Steps::overwrite(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
private |
Definition at line 86 of file TkPixelMeasurementDet.h.
Referenced by hasBadComponents().
|
private |
Definition at line 85 of file TkPixelMeasurementDet.h.
|
private |
Definition at line 88 of file TkPixelMeasurementDet.h.
|
private |
Definition at line 89 of file TkPixelMeasurementDet.h.