#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 TransientTrackingRecHit::ConstRecHitContainer | RecHitContainer |
typedef tracking::TempMeasurements | TempMeasurements |
Public Member Functions | |
bool | accept (SiPixelClusterRefNew &r) const |
TransientTrackingRecHit::RecHitPointer | buildRecHit (const SiPixelClusterRef &cluster, const LocalTrajectoryParameters <p) const |
void | clearBadRocPositions () |
Clear the list of bad ROCs. More... | |
bool | hasBadComponents (const TrajectoryStateOnSurface &tsos) const |
bool | isActive () const |
Is this module active in reconstruction? It must be both 'setActiveThisEvent' and 'setActive'. More... | |
virtual bool | measurements (const TrajectoryStateOnSurface &stateOnThisDet, const MeasurementEstimator &est, TempMeasurements &result) const |
virtual RecHitContainer | recHits (const TrajectoryStateOnSurface &) const |
void | setActive (bool active) |
Turn on/off the module for reconstruction, for the full run or lumi (using info from DB, usually). This also resets the 'setActiveThisEvent' to true. More... | |
void | setActiveThisEvent (bool active) |
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 | setClusterToSkip (const std::vector< bool > *skip) |
void | setEmpty () |
const PixelGeomDetUnit & | specificGeomDet () const |
TkPixelMeasurementDet (const GeomDet *gdet, const PixelClusterParameterEstimator *cpe) | |
void | update (const detset &detSet, const edm::Handle< edmNew::DetSetVector< SiPixelCluster > > &h, unsigned int id) |
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 |
virtual const GeomDet & | geomDet () const |
MeasurementDet (const GeomDet *gdet) | |
const Surface::PositionType & | position () const |
virtual bool | recHits (const TrajectoryStateOnSurface &stateOnThisDet, const MeasurementEstimator &, RecHitContainer &result, std::vector< float > &) const |
const Surface & | surface () const |
Private Attributes | |
bool | activeThisEvent_ |
bool | activeThisPeriod_ |
std::vector< LocalPoint > | badRocPositions_ |
detset | detSet_ |
bool | empty |
edm::Handle < edmNew::DetSetVector < SiPixelCluster > > | handle_ |
unsigned int | id_ |
const std::vector< bool > * | skipClusters_ |
const PixelClusterParameterEstimator * | theCPE |
Definition at line 15 of file TkPixelMeasurementDet.h.
Definition at line 21 of file TkPixelMeasurementDet.h.
Definition at line 20 of file TkPixelMeasurementDet.h.
Definition at line 22 of file TkPixelMeasurementDet.h.
typedef edm::Ref<edmNew::DetSetVector<SiPixelCluster>, SiPixelCluster> TkPixelMeasurementDet::SiPixelClusterRef |
Definition at line 18 of file TkPixelMeasurementDet.h.
TkPixelMeasurementDet::TkPixelMeasurementDet | ( | const GeomDet * | gdet, |
const PixelClusterParameterEstimator * | cpe | ||
) |
Definition at line 17 of file TkPixelMeasurementDet.cc.
|
inlinevirtual |
Definition at line 39 of file TkPixelMeasurementDet.h.
|
inline |
Definition at line 82 of file TkPixelMeasurementDet.h.
References edm::Ref< C, T, F >::key(), and skipClusters_.
Referenced by Vispa.Gui.BoxContentDialog.BoxContentDialog::apply(), and Vispa.Plugins.ConfigEditor.ToolDialog.ToolDialog::apply().
TransientTrackingRecHit::RecHitPointer TkPixelMeasurementDet::buildRecHit | ( | const SiPixelClusterRef & | cluster, |
const LocalTrajectoryParameters & | ltp | ||
) | const |
Definition at line 59 of file TkPixelMeasurementDet.cc.
References newFWLiteAna::build, MeasurementDet::fastGeomDet(), ClusterParameterEstimator< T >::localParameters(), specificGeomDet(), and theCPE.
Referenced by recHits().
|
inline |
Clear the list of bad ROCs.
Definition at line 68 of file TkPixelMeasurementDet.h.
References badRocPositions_.
|
virtual |
Implements MeasurementDet.
Definition at line 100 of file TkPixelMeasurementDet.cc.
References abs, badRocPositions_, asciidump::le, 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().
|
inlinevirtual |
Is this module active in reconstruction? It must be both 'setActiveThisEvent' and 'setActive'.
Implements MeasurementDet.
Definition at line 61 of file TkPixelMeasurementDet.h.
References activeThisEvent_, and activeThisPeriod_.
Referenced by measurements(), and recHits().
|
virtual |
Implements MeasurementDet.
Definition at line 30 of file TkPixelMeasurementDet.cc.
References tracking::TempMeasurements::add(), newFWLiteAna::build, MeasurementEstimator::estimate(), F(), MeasurementDet::fastGeomDet(), MeasurementDet::geomDet(), hasBadComponents(), TrackingRecHit::inactive, isActive(), TrackingRecHit::missing, recHits(), and tracking::TempMeasurements::size().
|
virtual |
Implements MeasurementDet.
Definition at line 68 of file TkPixelMeasurementDet.cc.
References begin, edmNew::DetSet< T >::begin(), buildRecHit(), detSet_, empty, edmNew::DetSet< T >::end(), MeasurementDet::fastGeomDet(), GeomDet::geographicalId(), handle_, getHLTprescales::index, isActive(), TrajectoryStateOnSurface::localParameters(), LogDebug, edmNew::makeRefTo(), or, DetId::rawId(), query::result, edmNew::DetSet< T >::size(), and skipClusters_.
Referenced by measurements().
|
inline |
Turn on/off the module for reconstruction, for the full run or lumi (using info from DB, usually). This also resets the 'setActiveThisEvent' to true.
Definition at line 56 of file TkPixelMeasurementDet.h.
References activeThisEvent_, activeThisPeriod_, and empty.
|
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 59 of file TkPixelMeasurementDet.h.
References activeThisEvent_, and empty.
|
inline |
Sets the list of bad ROCs, identified by the positions of their centers in the local coordinate frame.
Definition at line 66 of file TkPixelMeasurementDet.h.
References badRocPositions_.
|
inline |
Definition at line 92 of file TkPixelMeasurementDet.h.
References createPayload::skip, and skipClusters_.
Referenced by MeasurementTrackerImpl::addPixelDet().
|
inline |
|
inline |
Definition at line 48 of file TkPixelMeasurementDet.h.
References MeasurementDet::fastGeomDet().
Referenced by buildRecHit().
|
inline |
Definition at line 27 of file TkPixelMeasurementDet.h.
References activeThisEvent_, detSet_, empty, h, handle_, and id_.
Referenced by progressbar.ProgressBar::__next__(), relval_steps.Matrix::__setitem__(), relval_steps.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(), relval_steps.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 78 of file TkPixelMeasurementDet.h.
Referenced by isActive(), setActive(), setActiveThisEvent(), setEmpty(), and update().
|
private |
Definition at line 78 of file TkPixelMeasurementDet.h.
Referenced by isActive(), and setActive().
|
private |
Definition at line 74 of file TkPixelMeasurementDet.h.
Referenced by clearBadRocPositions(), hasBadComponents(), and setBadRocPositions().
|
private |
Definition at line 73 of file TkPixelMeasurementDet.h.
|
private |
Definition at line 77 of file TkPixelMeasurementDet.h.
Referenced by recHits(), setActive(), setActiveThisEvent(), Vispa.Gui.VispaWidget.TextField::setAutosizeFont(), Vispa.Gui.VispaWidget.TextField::setAutotruncate(), setEmpty(), and update().
|
private |
Definition at line 72 of file TkPixelMeasurementDet.h.
|
private |
Definition at line 76 of file TkPixelMeasurementDet.h.
Referenced by update().
|
private |
Definition at line 75 of file TkPixelMeasurementDet.h.
Referenced by accept(), recHits(), and setClusterToSkip().
|
private |
Definition at line 71 of file TkPixelMeasurementDet.h.
Referenced by buildRecHit().