#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 |
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... | |
virtual std::vector < TrajectoryMeasurement > | fastMeasurements (const TrajectoryStateOnSurface &stateOnThisDet, const TrajectoryStateOnSurface &startingState, const Propagator &, const MeasurementEstimator &) const |
bool | hasBadComponents (const TrajectoryStateOnSurface &tsos) const |
bool | isActive () const |
Is this module active in reconstruction? It must be both 'setActiveThisEvent' and 'setActive'. More... | |
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 |
virtual const GeomDet & | geomDet () const |
MeasurementDet (const GeomDet *gdet) | |
const Surface::PositionType & | position () const |
const BoundSurface & | 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 83 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 71 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 69 of file TkPixelMeasurementDet.h.
References badRocPositions_.
|
virtual |
faster version in case the TrajectoryState on the surface of the Det is already available. The first TrajectoryStateOnSurface is on the surface of this Det, and the second TrajectoryStateOnSurface is the statrting state, usually not on the surface of this Det. The stateOnThisDet should the result of
prop.propagate( startingState, this->surface())
Implements MeasurementDet.
Definition at line 31 of file TkPixelMeasurementDet.cc.
References newFWLiteAna::build, MeasurementEstimator::estimate(), F(), MeasurementDet::fastGeomDet(), hasBadComponents(), TrackingRecHit::inactive, isActive(), TrackingRecHit::missing, recHits(), query::result, and python.multivaluedict::sort().
|
virtual |
Implements MeasurementDet.
Definition at line 112 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 fastMeasurements().
|
inlinevirtual |
Is this module active in reconstruction? It must be both 'setActiveThisEvent' and 'setActive'.
Implements MeasurementDet.
Definition at line 62 of file TkPixelMeasurementDet.h.
References activeThisEvent_, and activeThisPeriod_.
Referenced by fastMeasurements(), and recHits().
|
virtual |
Implements MeasurementDet.
Definition at line 80 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 fastMeasurements().
|
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 57 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 60 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 67 of file TkPixelMeasurementDet.h.
References badRocPositions_.
|
inline |
Definition at line 93 of file TkPixelMeasurementDet.h.
References createPayload::skip, and skipClusters_.
Referenced by MeasurementTrackerImpl::addPixelDet().
|
inline |
|
inline |
Definition at line 49 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_, errorMatrix2Lands_multiChannel::id, 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 79 of file TkPixelMeasurementDet.h.
Referenced by isActive(), setActive(), setActiveThisEvent(), setEmpty(), and update().
|
private |
Definition at line 79 of file TkPixelMeasurementDet.h.
Referenced by isActive(), and setActive().
|
private |
Definition at line 75 of file TkPixelMeasurementDet.h.
Referenced by clearBadRocPositions(), hasBadComponents(), and setBadRocPositions().
|
private |
Definition at line 74 of file TkPixelMeasurementDet.h.
|
private |
Definition at line 78 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 73 of file TkPixelMeasurementDet.h.
|
private |
Definition at line 77 of file TkPixelMeasurementDet.h.
Referenced by update().
|
private |
Definition at line 76 of file TkPixelMeasurementDet.h.
Referenced by accept(), recHits(), and setClusterToSkip().
|
private |
Definition at line 72 of file TkPixelMeasurementDet.h.
Referenced by buildRecHit().