#include <TkStripMeasurementDet.h>
Public Types | |
typedef StMeasurementDetSet::BadStripBlock | BadStripBlock |
typedef StMeasurementDetSet::BadStripCuts | BadStripCuts |
typedef std::vector < SiStripCluster > ::const_iterator | const_iterator |
typedef edmNew::DetSet < SiStripCluster > | detset |
typedef StripClusterParameterEstimator::LocalValues | LocalValues |
typedef detset::const_iterator | new_const_iterator |
typedef SiStripRecHit2D::ClusterRef | SiStripClusterRef |
typedef edm::LazyGetter < SiStripCluster >::value_ref | SiStripRegionalClusterRef |
typedef StripClusterParameterEstimator::VLocalValues | VLocalValues |
Public Types inherited from MeasurementDet | |
typedef TransientTrackingRecHit::ConstRecHitContainer | RecHitContainer |
Public Member Functions | |
bool | accept (SiStripClusterRef &r) const |
bool | accept (SiStripRegionalClusterRef &r) const |
std::vector< BadStripBlock > const & | badStripBlocks () const |
unsigned int | beginClusterI () const |
TransientTrackingRecHit::RecHitPointer | buildRecHit (const SiStripClusterRef &, const TrajectoryStateOnSurface <p) const |
TransientTrackingRecHit::RecHitPointer | buildRecHit (const SiStripRegionalClusterRef &, const TrajectoryStateOnSurface <p) const |
TkStripMeasurementDet::RecHitContainer | buildRecHits (const SiStripClusterRef &, const TrajectoryStateOnSurface <p) const |
TkStripMeasurementDet::RecHitContainer | buildRecHits (const SiStripRegionalClusterRef &, const TrajectoryStateOnSurface <p) const |
const detset & | detSet () const |
detset & | detSet () |
unsigned int | endClusterI () const |
virtual std::vector < TrajectoryMeasurement > | fastMeasurements (const TrajectoryStateOnSurface &stateOnThisDet, const TrajectoryStateOnSurface &startingState, const Propagator &, const MeasurementEstimator &) const |
std::vector< BadStripBlock > & | getBadStripBlocks () |
bool | hasAllGoodChannels () const |
does this module have at least one bad strip, APV or channel? More... | |
bool | hasBadComponents (const TrajectoryStateOnSurface &tsos) const |
int | index () const |
bool | isActive () const |
Is this module active in reconstruction? It must be both 'setActiveThisEvent' and 'setActive'. More... | |
bool | isEmpty () const |
bool | isRegional () const |
bool | maskBad128StripBlocks () const |
unsigned int | rawId () const |
virtual RecHitContainer | recHits (const TrajectoryStateOnSurface &) const |
void | set128StripStatus (bool good, int idx=-1) |
Sets the status of a block of 128 strips (or all blocks if idx=-1) More... | |
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 | setEmpty () |
void | setIndex (int i) |
void | simpleRecHits (const TrajectoryStateOnSurface &ts, std::vector< SiStripRecHit2D > &result) const |
int | size () const |
const StripGeomDetUnit & | specificGeomDet () const |
unsigned char | subId () const |
bool | testStrips (float utraj, float uerr) const |
return true if there are 'enough' good strips in the utraj +/- 3 uerr range. More... | |
const detset & | theSet () const |
TkStripMeasurementDet (const GeomDet *gdet, StMeasurementDetSet &dets) | |
void | update (const detset &detSet) |
void | update (std::vector< SiStripCluster >::const_iterator begin, std::vector< SiStripCluster >::const_iterator end) |
virtual | ~TkStripMeasurementDet () |
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 Member Functions | |
BadStripCuts const & | badStripCuts () const |
template<class ClusterRefT > | |
void | buildSimpleRecHit (const ClusterRefT &cluster, const TrajectoryStateOnSurface <p, std::vector< SiStripRecHit2D > &res) const |
const StripClusterParameterEstimator * | cpe () const |
edm::Handle < edmNew::DetSetVector < SiStripCluster > > const & | handle () const |
bool | hasAny128StripBad () const |
bool | isMasked (const SiStripCluster &cluster) const |
edm::Handle< edm::LazyGetter < SiStripCluster > > const & | regionalHandle () const |
const std::vector< bool > & | skipClusters () const |
StMeasurementDetSet & | theDets () |
StMeasurementDetSet & | theDets () const |
int | totalStrips () const |
Private Attributes | |
int | index_ |
StMeasurementDetSet * | theDets_ |
Definition at line 22 of file TkStripMeasurementDet.h.
Definition at line 125 of file TkStripMeasurementDet.h.
Definition at line 120 of file TkStripMeasurementDet.h.
typedef std::vector<SiStripCluster>::const_iterator TkStripMeasurementDet::const_iterator |
Definition at line 35 of file TkStripMeasurementDet.h.
Definition at line 32 of file TkStripMeasurementDet.h.
Definition at line 25 of file TkStripMeasurementDet.h.
Definition at line 33 of file TkStripMeasurementDet.h.
Definition at line 28 of file TkStripMeasurementDet.h.
typedef edm::LazyGetter<SiStripCluster>::value_ref TkStripMeasurementDet::SiStripRegionalClusterRef |
Definition at line 30 of file TkStripMeasurementDet.h.
Definition at line 26 of file TkStripMeasurementDet.h.
|
inlinevirtual |
Definition at line 37 of file TkStripMeasurementDet.h.
TkStripMeasurementDet::TkStripMeasurementDet | ( | const GeomDet * | gdet, |
StMeasurementDetSet & | dets | ||
) |
Definition at line 17 of file TkStripMeasurementDet.cc.
|
inline |
Definition at line 174 of file TkStripMeasurementDet.h.
References relativeConstraints::empty, edm::Ref< C, T, F >::key(), and skipClusters().
Referenced by Vispa.Gui.BoxContentDialog.BoxContentDialog::apply(), Vispa.Plugins.ConfigEditor.ToolDialog.ToolDialog::apply(), fastMeasurements(), recHits(), and simpleRecHits().
|
inline |
Definition at line 182 of file TkStripMeasurementDet.h.
References relativeConstraints::empty, edm::Ref< C, T, F >::key(), LogDebug, and skipClusters().
Referenced by Vispa.Gui.BoxContentDialog.BoxContentDialog::apply(), and Vispa.Plugins.ConfigEditor.ToolDialog.ToolDialog::apply().
|
inline |
Definition at line 128 of file TkStripMeasurementDet.h.
References StMeasurementDetSet::badStripBlocks(), index(), and theDets().
Referenced by hasAllGoodChannels(), and testStrips().
|
inlineprivate |
Definition at line 155 of file TkStripMeasurementDet.h.
References StMeasurementDetSet::badStripCuts(), index(), and theDets().
Referenced by testStrips().
|
inline |
Definition at line 66 of file TkStripMeasurementDet.h.
References StMeasurementDetSet::beginClusterI(), index(), and theDets().
Referenced by fastMeasurements(), recHits(), simpleRecHits(), and size().
TransientTrackingRecHit::RecHitPointer TkStripMeasurementDet::buildRecHit | ( | const SiStripClusterRef & | cluster, |
const TrajectoryStateOnSurface & | ltp | ||
) | const |
Definition at line 189 of file TkStripMeasurementDet.cc.
References TSiStripRecHit2DLocalPos::build(), cpe(), MeasurementDet::fastGeomDet(), ClusterParameterEstimator< T >::localParameters(), and specificGeomDet().
Referenced by recHits().
TransientTrackingRecHit::RecHitPointer TkStripMeasurementDet::buildRecHit | ( | const SiStripRegionalClusterRef & | cluster, |
const TrajectoryStateOnSurface & | ltp | ||
) | const |
Definition at line 198 of file TkStripMeasurementDet.cc.
References TSiStripRecHit2DLocalPos::build(), cpe(), MeasurementDet::fastGeomDet(), ClusterParameterEstimator< T >::localParameters(), and specificGeomDet().
TkStripMeasurementDet::RecHitContainer TkStripMeasurementDet::buildRecHits | ( | const SiStripClusterRef & | cluster, |
const TrajectoryStateOnSurface & | ltp | ||
) | const |
Definition at line 209 of file TkStripMeasurementDet.cc.
References TSiStripRecHit2DLocalPos::build(), cpe(), MeasurementDet::fastGeomDet(), ClusterParameterEstimator< T >::localParametersV(), and specificGeomDet().
Referenced by fastMeasurements().
TkStripMeasurementDet::RecHitContainer TkStripMeasurementDet::buildRecHits | ( | const SiStripRegionalClusterRef & | cluster, |
const TrajectoryStateOnSurface & | ltp | ||
) | const |
Definition at line 223 of file TkStripMeasurementDet.cc.
References TSiStripRecHit2DLocalPos::build(), cpe(), MeasurementDet::fastGeomDet(), ClusterParameterEstimator< T >::localParametersV(), and specificGeomDet().
|
private |
Definition at line 270 of file TkStripMeasurementDet.cc.
References cpe(), ClusterParameterEstimator< T >::localParametersV(), rawId(), and specificGeomDet().
Referenced by simpleRecHits().
|
inlineprivate |
Definition at line 147 of file TkStripMeasurementDet.h.
References StMeasurementDetSet::stripCPE(), and theDets().
Referenced by buildRecHit(), buildRecHits(), and buildSimpleRecHit().
|
inline |
Definition at line 64 of file TkStripMeasurementDet.h.
References StMeasurementDetSet::detSet(), index(), and theDets().
Referenced by fastMeasurements(), recHits(), and simpleRecHits().
|
inline |
Definition at line 65 of file TkStripMeasurementDet.h.
References StMeasurementDetSet::detSet(), index(), and theDets().
|
inline |
Definition at line 67 of file TkStripMeasurementDet.h.
References StMeasurementDetSet::endClusterI(), index(), and theDets().
Referenced by fastMeasurements(), recHits(), simpleRecHits(), and size().
|
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 30 of file TkStripMeasurementDet.cc.
References accept(), begin, beginClusterI(), InvalidTransientRecHit::build(), buildRecHits(), detSet(), end, edmNew::DetSet< T >::end(), endClusterI(), MeasurementEstimator::estimate(), F(), MeasurementDet::fastGeomDet(), MeasurementDet::geomDet(), handle(), TrajectoryStateOnSurface::hasError(), TrackingRecHit::inactive, isActive(), isEmpty(), isMasked(), isRegional(), edm::Ref< C, T, F >::key(), TrajectoryStateOnSurface::localError(), TrajectoryStateOnSurface::localPosition(), LogDebug, edmNew::makeRefTo(), edm::makeRefToLazyGetter(), Topology::measurementPosition(), TrackingRecHit::missing, LocalTrajectoryError::positionError(), rawId(), recHits(), regionalHandle(), query::result, size(), python.multivaluedict::sort(), specificGeomDet(), StripGeomDetUnit::specificTopology(), mathSSE::sqrt(), testStrips(), and vdt::x.
|
inline |
Definition at line 127 of file TkStripMeasurementDet.h.
References StMeasurementDetSet::getBadStripBlocks(), index(), and theDets().
|
inlineprivate |
Definition at line 144 of file TkStripMeasurementDet.h.
References StMeasurementDetSet::handle(), and theDets().
Referenced by fastMeasurements(), recHits(), and simpleRecHits().
|
inline |
does this module have at least one bad strip, APV or channel?
Definition at line 113 of file TkStripMeasurementDet.h.
References badStripBlocks(), and hasAny128StripBad().
Referenced by TkGluedMeasurementDet::fastMeasurements().
|
inlineprivate |
Definition at line 157 of file TkStripMeasurementDet.h.
References StMeasurementDetSet::hasAny128StripBad(), index(), and theDets().
Referenced by hasAllGoodChannels().
|
inlinevirtual |
Implements MeasurementDet.
Definition at line 76 of file TkStripMeasurementDet.h.
|
inline |
Definition at line 57 of file TkStripMeasurementDet.h.
References index_.
Referenced by BeautifulSoup.PageElement::_invert(), badStripBlocks(), badStripCuts(), beginClusterI(), detSet(), endClusterI(), getBadStripBlocks(), hasAny128StripBad(), isActive(), isEmpty(), isMasked(), rawId(), set128StripStatus(), setActive(), setActiveThisEvent(), setEmpty(), subId(), theSet(), totalStrips(), and update().
|
inlinevirtual |
Is this module active in reconstruction? It must be both 'setActiveThisEvent' and 'setActive'.
Implements MeasurementDet.
Definition at line 73 of file TkStripMeasurementDet.h.
References index(), StMeasurementDetSet::isActive(), and theDets().
Referenced by TkGluedMeasurementDet::fastMeasurements(), fastMeasurements(), TkGluedMeasurementDet::isActive(), recHits(), and simpleRecHits().
|
inline |
Definition at line 55 of file TkStripMeasurementDet.h.
References StMeasurementDetSet::empty(), index(), and theDets().
Referenced by fastMeasurements(), recHits(), and simpleRecHits().
|
inlineprivate |
Definition at line 162 of file TkStripMeasurementDet.h.
References index(), StMeasurementDetSet::isMasked(), and theDets().
Referenced by fastMeasurements(), recHits(), and simpleRecHits().
|
inline |
Definition at line 51 of file TkStripMeasurementDet.h.
References StMeasurementDetSet::isRegional(), and theDets().
Referenced by fastMeasurements(), recHits(), and simpleRecHits().
|
inline |
Definition at line 130 of file TkStripMeasurementDet.h.
References StMeasurementDetSet::maskBad128StripBlocks(), and theDets().
|
inline |
Definition at line 59 of file TkStripMeasurementDet.h.
References StMeasurementDetSet::id(), index(), and theDets().
Referenced by OnDemandMeasurementTracker::assign(), buildSimpleRecHit(), fastMeasurements(), recHits(), and simpleRecHits().
|
virtual |
Implements MeasurementDet.
Definition at line 238 of file TkStripMeasurementDet.cc.
References accept(), begin, beginClusterI(), buildRecHit(), detSet(), edmNew::DetSet< T >::end(), endClusterI(), handle(), isActive(), isEmpty(), isMasked(), isRegional(), edm::Ref< C, T, F >::key(), LogDebug, edmNew::makeRefTo(), edm::makeRefToLazyGetter(), rawId(), regionalHandle(), query::result, and size().
Referenced by TkGluedMeasurementDet::collectRecHits(), and fastMeasurements().
|
inlineprivate |
Definition at line 145 of file TkStripMeasurementDet.h.
References StMeasurementDetSet::regionalHandle(), and theDets().
Referenced by fastMeasurements(), recHits(), and simpleRecHits().
|
inline |
Sets the status of a block of 128 strips (or all blocks if idx=-1)
Definition at line 116 of file TkStripMeasurementDet.h.
References index(), StMeasurementDetSet::set128StripStatus(), and theDets().
|
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 107 of file TkStripMeasurementDet.h.
References index(), StMeasurementDetSet::setActive(), and theDets().
|
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 110 of file TkStripMeasurementDet.h.
References index(), StMeasurementDetSet::setActiveThisEvent(), and theDets().
Referenced by OnDemandMeasurementTracker::assign().
|
inline |
Definition at line 53 of file TkStripMeasurementDet.h.
References index(), StMeasurementDetSet::setEmpty(), and theDets().
Referenced by OnDemandMeasurementTracker::assign().
|
inline |
Definition at line 42 of file TkStripMeasurementDet.h.
void TkStripMeasurementDet::simpleRecHits | ( | const TrajectoryStateOnSurface & | ts, |
std::vector< SiStripRecHit2D > & | result | ||
) | const |
Definition at line 283 of file TkStripMeasurementDet.cc.
References accept(), begin, beginClusterI(), buildSimpleRecHit(), detSet(), edmNew::DetSet< T >::end(), endClusterI(), handle(), isActive(), isEmpty(), isMasked(), isRegional(), edm::Ref< C, T, F >::key(), LogDebug, edmNew::makeRefTo(), edm::makeRefToLazyGetter(), rawId(), regionalHandle(), and size().
Referenced by TkGluedMeasurementDet::collectRecHits().
|
inline |
Definition at line 69 of file TkStripMeasurementDet.h.
References beginClusterI(), and endClusterI().
Referenced by fastMeasurements(), recHits(), and simpleRecHits().
|
inlineprivate |
Definition at line 150 of file TkStripMeasurementDet.h.
References StMeasurementDetSet::clusterToSkip(), and theDets().
Referenced by accept().
|
inline |
Definition at line 89 of file TkStripMeasurementDet.h.
References MeasurementDet::fastGeomDet().
Referenced by buildRecHit(), buildRecHits(), buildSimpleRecHit(), fastMeasurements(), and TkGluedMeasurementDet::testStrips().
|
inline |
Definition at line 60 of file TkStripMeasurementDet.h.
References index(), StMeasurementDetSet::subId(), and theDets().
bool TkStripMeasurementDet::testStrips | ( | float | utraj, |
float | uerr | ||
) | const |
return true if there are 'enough' good strips in the utraj +/- 3 uerr range.
Definition at line 312 of file TkStripMeasurementDet.cc.
References cond::ecalcond::bad(), badStripBlocks(), badStripCuts(), end, f, max(), StMeasurementDetSet::BadStripCuts::maxBad, StMeasurementDetSet::BadStripCuts::maxConsecutiveBad, min, convertSQLiteXML::ok, errorMatrix2Lands_multiChannel::start, and totalStrips().
Referenced by fastMeasurements(), and TkGluedMeasurementDet::testStrips().
|
inlineprivate |
Definition at line 136 of file TkStripMeasurementDet.h.
References theDets_.
Referenced by badStripBlocks(), badStripCuts(), beginClusterI(), cpe(), detSet(), endClusterI(), getBadStripBlocks(), handle(), hasAny128StripBad(), isActive(), isEmpty(), isMasked(), isRegional(), maskBad128StripBlocks(), rawId(), regionalHandle(), set128StripStatus(), setActive(), setActiveThisEvent(), setEmpty(), skipClusters(), subId(), theSet(), totalStrips(), and update().
|
inlineprivate |
Definition at line 137 of file TkStripMeasurementDet.h.
References theDets_.
|
inline |
Definition at line 63 of file TkStripMeasurementDet.h.
References StMeasurementDetSet::detSet(), index(), and theDets().
|
inlineprivate |
Definition at line 154 of file TkStripMeasurementDet.h.
References index(), theDets(), and StMeasurementDetSet::totalStrips().
Referenced by testStrips().
|
inline |
Definition at line 44 of file TkStripMeasurementDet.h.
References index(), theDets(), and StMeasurementDetSet::update().
Referenced by progressbar.ProgressBar::__next__(), relval_steps.Matrix::__setitem__(), relval_steps.Steps::__setitem__(), OnDemandMeasurementTracker::assign(), 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().
|
inline |
Definition at line 47 of file TkStripMeasurementDet.h.
References index(), theDets(), and StMeasurementDetSet::update().
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 140 of file TkStripMeasurementDet.h.
Referenced by index(), and setIndex().
|
private |
Definition at line 139 of file TkStripMeasurementDet.h.
Referenced by theDets().