![]() |
![]() |
#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 |
![]() | |
typedef TransientTrackingRecHit::ConstRecHitContainer | RecHitContainer |
Public Member Functions | |
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 | 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 () |
![]() | |
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 PixelClusterParameterEstimator * | theCPE |
const PixelGeomDetUnit * | thePixelGDU |
Static Private Attributes | |
static const float | theRocHeight = 8.1 |
static const float | theRocWidth = 8.1 |
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 14 of file TkPixelMeasurementDet.cc.
References thePixelGDU.
|
inlinevirtual |
Definition at line 38 of file TkPixelMeasurementDet.h.
TransientTrackingRecHit::RecHitPointer TkPixelMeasurementDet::buildRecHit | ( | const SiPixelClusterRef & | cluster, |
const LocalTrajectoryParameters & | ltp | ||
) | const |
Definition at line 68 of file TkPixelMeasurementDet.cc.
References TSiPixelRecHit::build(), MeasurementDet::geomDet(), 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 |
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 28 of file TkPixelMeasurementDet.cc.
References InvalidTransientRecHit::build(), MeasurementEstimator::estimate(), MeasurementDet::geomDet(), hasBadComponents(), TrackingRecHit::inactive, isActive(), TrackingRecHit::missing, recHits(), query::result, and python.multivaluedict::sort().
|
virtual |
Implements MeasurementDet.
Definition at line 90 of file TkPixelMeasurementDet.cc.
References abs, badRocPositions_, asciidump::le, TrajectoryStateOnSurface::localError(), TrajectoryStateOnSurface::localPosition(), LocalTrajectoryError::positionError(), mathSSE::sqrt(), theRocHeight, theRocWidth, 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 61 of file TkPixelMeasurementDet.h.
References activeThisEvent_, and activeThisPeriod_.
Referenced by fastMeasurements(), and recHits().
|
virtual |
Implements MeasurementDet.
Definition at line 77 of file TkPixelMeasurementDet.cc.
References edmNew::DetSet< T >::begin(), buildRecHit(), detSet_, empty, edmNew::DetSet< T >::end(), handle_, isActive(), TrajectoryStateOnSurface::localParameters(), edmNew::makeRefTo(), and query::result.
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 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 |
|
inline |
Definition at line 48 of file TkPixelMeasurementDet.h.
References thePixelGDU.
Referenced by buildRecHit().
|
inline |
Definition at line 27 of file TkPixelMeasurementDet.h.
References activeThisEvent_, detSet_, empty, h, handle_, ExpressReco_HICollisions_FallBack::id, and id_.
Referenced by python.Vispa.Gui.VispaWidget.VispaWidget::autosize(), python.Vispa.Views.LineDecayView.LineDecayContainer::createObject(), python.Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), python.Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), python.Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), python.Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), python.Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), python.Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), python.Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), python.Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), python.Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), python.Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), python.Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), python.Vispa.Gui.FindDialog.FindDialog::reset(), python.Vispa.Gui.PortConnection.PointToPointConnection::select(), python.Vispa.Gui.VispaWidget.VispaWidget::select(), python.Vispa.Views.LineDecayView.LineDecayContainer::select(), python.Vispa.Gui.VispaWidget.VispaWidget::setText(), python.Vispa.Gui.VispaWidget.VispaWidget::setTitle(), python.Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), python.Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and python.Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
private |
Definition at line 77 of file TkPixelMeasurementDet.h.
Referenced by isActive(), setActive(), setActiveThisEvent(), setEmpty(), and update().
|
private |
Definition at line 77 of file TkPixelMeasurementDet.h.
Referenced by isActive(), and setActive().
|
private |
Definition at line 78 of file TkPixelMeasurementDet.h.
Referenced by clearBadRocPositions(), hasBadComponents(), and setBadRocPositions().
|
private |
Definition at line 73 of file TkPixelMeasurementDet.h.
|
private |
Definition at line 76 of file TkPixelMeasurementDet.h.
Referenced by recHits(), setActive(), setActiveThisEvent(), python.Vispa.Gui.VispaWidget.TextField::setAutosizeFont(), python.Vispa.Gui.VispaWidget.TextField::setAutotruncate(), setEmpty(), and update().
|
private |
Definition at line 74 of file TkPixelMeasurementDet.h.
|
private |
Definition at line 75 of file TkPixelMeasurementDet.h.
Referenced by update().
|
private |
Definition at line 72 of file TkPixelMeasurementDet.h.
Referenced by buildRecHit().
|
private |
Definition at line 71 of file TkPixelMeasurementDet.h.
Referenced by specificGeomDet(), and TkPixelMeasurementDet().
|
staticprivate |
Definition at line 80 of file TkPixelMeasurementDet.h.
Referenced by hasBadComponents().
|
staticprivate |
Definition at line 80 of file TkPixelMeasurementDet.h.
Referenced by hasBadComponents().