#include <TkStripMeasurementDet.h>
Public Types | |
typedef StMeasurementConditionSet::BadStripBlock | BadStripBlock |
typedef StMeasurementConditionSet::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 StripClusterParameterEstimator::VLocalValues | VLocalValues |
Public Types inherited from MeasurementDet | |
typedef TrackingRecHit::ConstRecHitContainer | RecHitContainer |
using | SimpleHitContainer = std::vector< BaseTrackerRecHit * > |
typedef tracking::TempMeasurements | TempMeasurements |
Public Member Functions | |
bool | accept (SiStripClusterRef const &r, const std::vector< bool > &skipClusters) const |
void | advance (TkStripRecHitIter &hi) const |
std::vector< BadStripBlock > const & | badStripBlocks () const |
template<class ClusterRefT > | |
TrackingRecHit::RecHitPointer | buildRecHit (const ClusterRefT &cluster, const TrajectoryStateOnSurface <p) const |
template<class ClusterRefT > | |
void | buildRecHits (const ClusterRefT &cluster, const TrajectoryStateOnSurface <p, const RecHitContainer &_res) const |
const detset & | detSet (const StMeasurementDetSet &theDets) const |
bool | empty (const MeasurementTrackerEvent &data) const |
template<class ClusterRefT > | |
bool | filteredRecHits (const ClusterRefT &cluster, const TrajectoryStateOnSurface <p, const MeasurementEstimator &est, const std::vector< bool > &skipClusters, RecHitContainer &result, std::vector< float > &diffs) const |
template<class ClusterRefT > | |
bool | filteredRecHits (const ClusterRefT &cluster, const TrajectoryStateOnSurface <p, const MeasurementEstimator &est, const std::vector< bool > &skipClusters, std::vector< SiStripRecHit2D > &result) 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 MeasurementTrackerEvent &data) const |
SiStripRecHit2D | hit (TkStripRecHitIter const &hi) const |
std::tuple< TkStripRecHitIter, TkStripRecHitIter > | hitRange (const TrajectoryStateOnSurface &, const MeasurementTrackerEvent &data) 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 StMeasurementDetSet &theDets) const |
bool | maskBad128StripBlocks () const |
virtual bool | measurements (const TrajectoryStateOnSurface &stateOnThisDet, const MeasurementEstimator &est, const MeasurementTrackerEvent &data, TempMeasurements &result) const |
unsigned int | rawId () const |
virtual RecHitContainer | recHits (const TrajectoryStateOnSurface &, const MeasurementTrackerEvent &data) const |
virtual bool | recHits (SimpleHitContainer &result, const TrajectoryStateOnSurface &stateOnThisDet, const MeasurementEstimator &, const MeasurementTrackerEvent &data) const |
virtual bool | recHits (const TrajectoryStateOnSurface &stateOnThisDet, const MeasurementEstimator &est, const MeasurementTrackerEvent &data, RecHitContainer &result, std::vector< float > &diffs) 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 | setActiveThisEvent (StMeasurementDetSet &theDets, 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 | setActiveThisPeriod (StMeasurementDetSet &theDets, bool active) |
Turn on/off the module for reconstruction, for the full run or lumi (using info from DB, usually). More... | |
void | setEmpty (StMeasurementDetSet &theDets) const |
void | setIndex (int i) |
void | simpleRecHits (const TrajectoryStateOnSurface &ts, const MeasurementTrackerEvent &data, std::vector< SiStripRecHit2D > &result) const |
bool | simpleRecHits (const TrajectoryStateOnSurface &ts, const MeasurementEstimator &est, const MeasurementTrackerEvent &data, std::vector< SiStripRecHit2D > &result) 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 StMeasurementDetSet &theDets) const |
TkStripMeasurementDet (const GeomDet *gdet, StMeasurementConditionSet &conditionSet) | |
virtual | ~TkStripMeasurementDet () |
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 |
const Surface & | 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 |
StMeasurementConditionSet & | conditionSet () |
const StMeasurementConditionSet & | conditionSet () const |
const StripClusterParameterEstimator * | cpe () const |
bool | hasAny128StripBad () const |
bool | isMasked (const SiStripCluster &cluster) const |
int | totalStrips () const |
Private Attributes | |
int | index_ |
StMeasurementConditionSet * | theDetConditions |
Additional Inherited Members | |
Protected Attributes inherited from MeasurementDet | |
TrackingRecHit::ConstRecHitPointer | theInactiveHit |
TrackingRecHit::ConstRecHitPointer | theMissingHit |
Definition at line 84 of file TkStripMeasurementDet.h.
Definition at line 237 of file TkStripMeasurementDet.h.
Definition at line 232 of file TkStripMeasurementDet.h.
typedef std::vector<SiStripCluster>::const_iterator TkStripMeasurementDet::const_iterator |
Definition at line 95 of file TkStripMeasurementDet.h.
Definition at line 92 of file TkStripMeasurementDet.h.
Definition at line 87 of file TkStripMeasurementDet.h.
Definition at line 93 of file TkStripMeasurementDet.h.
Definition at line 90 of file TkStripMeasurementDet.h.
Definition at line 88 of file TkStripMeasurementDet.h.
|
inlinevirtual |
Definition at line 97 of file TkStripMeasurementDet.h.
TkStripMeasurementDet::TkStripMeasurementDet | ( | const GeomDet * | gdet, |
StMeasurementConditionSet & | conditionSet | ||
) |
Definition at line 16 of file TkStripMeasurementDet.cc.
|
inline |
Definition at line 282 of file TkStripMeasurementDet.h.
References edm::Ref< C, T, F >::key(), and LogDebug.
Referenced by advance(), Vispa.Gui.BoxContentDialog.BoxContentDialog::apply(), Vispa.Plugins.ConfigEditor.ToolDialog.ToolDialog::apply(), empty(), filteredRecHits(), recHits(), and simpleRecHits().
void TkStripMeasurementDet::advance | ( | TkStripRecHitIter & | hi | ) | const |
Definition at line 234 of file TkStripMeasurementDet.cc.
References accept(), TkStripRecHitIter::clusterI, TkStripRecHitIter::data, data, TkStripRecHitIter::empty(), isMasked(), and edmNew::makeRefTo().
Referenced by TkStripRecHitIter::advance().
|
inline |
Definition at line 240 of file TkStripMeasurementDet.h.
References StMeasurementConditionSet::badStripBlocks(), conditionSet(), and index().
Referenced by hasAllGoodChannels(), and testStrips().
|
inlineprivate |
Definition at line 254 of file TkStripMeasurementDet.h.
References StMeasurementConditionSet::badStripCuts(), conditionSet(), and index().
Referenced by testStrips().
|
inline |
Definition at line 154 of file TkStripMeasurementDet.h.
References cpe(), MeasurementDet::fastGeomDet(), StripClusterParameterEstimator::localParameters(), and specificGeomDet().
Referenced by recHits().
|
inline |
Definition at line 163 of file TkStripMeasurementDet.h.
References cpe(), MeasurementDet::fastGeomDet(), StripClusterParameterEstimator::localParametersV(), and specificGeomDet().
|
inlineprivate |
Definition at line 265 of file TkStripMeasurementDet.h.
References cpe(), StripClusterParameterEstimator::localParametersV(), and specificGeomDet().
Referenced by simpleRecHits().
|
inlineprivate |
Definition at line 247 of file TkStripMeasurementDet.h.
References theDetConditions.
Referenced by badStripBlocks(), badStripCuts(), cpe(), getBadStripBlocks(), hasAny128StripBad(), isMasked(), maskBad128StripBlocks(), rawId(), set128StripStatus(), setActiveThisPeriod(), subId(), and totalStrips().
|
inlineprivate |
Definition at line 248 of file TkStripMeasurementDet.h.
References theDetConditions.
|
inlineprivate |
Definition at line 250 of file TkStripMeasurementDet.h.
References conditionSet(), and StMeasurementConditionSet::stripCPE().
Referenced by buildRecHit(), buildRecHits(), buildSimpleRecHit(), filteredRecHits(), and hit().
|
inline |
Definition at line 114 of file TkStripMeasurementDet.h.
References StMeasurementDetSet::detSet(), and index().
Referenced by empty(), hitRange(), recHits(), and simpleRecHits().
bool TkStripMeasurementDet::empty | ( | const MeasurementTrackerEvent & | data | ) | const |
Definition at line 26 of file TkStripMeasurementDet.cc.
References accept(), edmNew::DetSet< T >::begin(), detSet(), StMeasurementDetSet::detSet(), edmNew::DetSet< T >::end(), StMeasurementDetSet::handle(), index(), isActive(), isEmpty(), isMasked(), edmNew::makeRefTo(), MeasurementTrackerEvent::stripClustersToSkip(), MeasurementTrackerEvent::stripData(), and unlikely.
|
inline |
Definition at line 173 of file TkStripMeasurementDet.h.
References accept(), cpe(), MeasurementEstimator::estimate(), MeasurementDet::fastGeomDet(), isMasked(), StripClusterParameterEstimator::localParametersV(), LogDebug, and specificGeomDet().
Referenced by recHits(), and simpleRecHits().
|
inline |
Definition at line 195 of file TkStripMeasurementDet.h.
References accept(), cpe(), MeasurementEstimator::estimate(), isMasked(), StripClusterParameterEstimator::localParametersV(), LogDebug, and specificGeomDet().
|
inline |
Definition at line 239 of file TkStripMeasurementDet.h.
References conditionSet(), StMeasurementConditionSet::getBadStripBlocks(), and index().
|
inline |
does this module have at least one bad strip, APV or channel?
Definition at line 225 of file TkStripMeasurementDet.h.
References badStripBlocks(), and hasAny128StripBad().
Referenced by TkGluedMeasurementDet::measurements().
|
inlineprivate |
Definition at line 256 of file TkStripMeasurementDet.h.
References conditionSet(), StMeasurementConditionSet::hasAny128StripBad(), and index().
Referenced by hasAllGoodChannels().
|
inlinevirtual |
Implements MeasurementDet.
Definition at line 121 of file TkStripMeasurementDet.h.
SiStripRecHit2D TkStripMeasurementDet::hit | ( | TkStripRecHitIter const & | hi | ) | const |
Definition at line 245 of file TkStripMeasurementDet.cc.
References TkStripRecHitIter::clusterI, cpe(), TkStripRecHitIter::data, data, StripClusterParameterEstimator::localParameters(), edmNew::makeRefTo(), specificGeomDet(), and TkStripRecHitIter::tsos.
Referenced by TkStripRecHitIter::buildHit(), recHits(), and simpleRecHits().
std::tuple< TkStripRecHitIter, TkStripRecHitIter > TkStripMeasurementDet::hitRange | ( | const TrajectoryStateOnSurface & | ts, |
const MeasurementTrackerEvent & | data | ||
) | const |
Definition at line 225 of file TkStripMeasurementDet.cc.
References edmNew::DetSet< T >::begin(), data, detSet(), StMeasurementDetSet::detSet(), edmNew::DetSet< T >::end(), index(), isActive(), isEmpty(), and MeasurementTrackerEvent::stripData().
|
inline |
Definition at line 107 of file TkStripMeasurementDet.h.
References index_.
Referenced by BeautifulSoup.PageElement::_invert(), badStripBlocks(), badStripCuts(), detSet(), empty(), getBadStripBlocks(), hasAny128StripBad(), hitRange(), isActive(), isEmpty(), isMasked(), rawId(), recHits(), set128StripStatus(), setActiveThisEvent(), setActiveThisPeriod(), setEmpty(), simpleRecHits(), subId(), theSet(), and totalStrips().
|
inlinevirtual |
Is this module active in reconstruction? It must be both 'setActiveThisEvent' and 'setActive'.
Implements MeasurementDet.
Definition at line 118 of file TkStripMeasurementDet.h.
References index(), StMeasurementDetSet::isActive(), and MeasurementTrackerEvent::stripData().
Referenced by empty(), hitRange(), TkGluedMeasurementDet::isActive(), TkGluedMeasurementDet::measurements(), measurements(), TkGluedMeasurementDet::recHits(), recHits(), and simpleRecHits().
|
inline |
Definition at line 105 of file TkStripMeasurementDet.h.
References StMeasurementDetSet::empty(), and index().
Referenced by empty(), hitRange(), measurements(), recHits(), and simpleRecHits().
|
inlineprivate |
Definition at line 259 of file TkStripMeasurementDet.h.
References conditionSet(), index(), and StMeasurementConditionSet::isMasked().
Referenced by advance(), empty(), filteredRecHits(), recHits(), and simpleRecHits().
|
inline |
Definition at line 242 of file TkStripMeasurementDet.h.
References conditionSet(), and StMeasurementConditionSet::maskBad128StripBlocks().
|
virtual |
Implements MeasurementDet.
Definition at line 160 of file TkStripMeasurementDet.cc.
References tracking::TempMeasurements::add(), tracking::TempMeasurements::distances, F(), TrajectoryStateOnSurface::hasError(), tracking::TempMeasurements::hits, isActive(), isEmpty(), TrajectoryStateOnSurface::localError(), TrajectoryStateOnSurface::localPosition(), LogDebug, Topology::measurementPosition(), LocalTrajectoryError::positionError(), rawId(), HI_PhotonSkim_cff::rechits, recHits(), specificGeomDet(), StripGeomDetUnit::specificTopology(), mathSSE::sqrt(), MeasurementTrackerEvent::stripData(), testStrips(), MeasurementDet::theInactiveHit, MeasurementDet::theMissingHit, and x.
|
inline |
Definition at line 109 of file TkStripMeasurementDet.h.
References conditionSet(), StMeasurementConditionSet::id(), and index().
Referenced by measurements(), recHits(), and simpleRecHits().
|
virtual |
Implements MeasurementDet.
Definition at line 41 of file TkStripMeasurementDet.cc.
References accept(), edmNew::DetSet< T >::begin(), buildRecHit(), detSet(), StMeasurementDetSet::detSet(), edmNew::DetSet< T >::end(), StMeasurementDetSet::handle(), index(), isActive(), isEmpty(), isMasked(), edm::Ref< C, T, F >::key(), LogDebug, edmNew::makeRefTo(), rawId(), query::result, edmNew::DetSet< T >::size(), MeasurementTrackerEvent::stripClustersToSkip(), MeasurementTrackerEvent::stripData(), and unlikely.
Referenced by TkGluedMeasurementDet::collectRecHits(), and measurements().
|
virtual |
Reimplemented from MeasurementDet.
Definition at line 61 of file TkStripMeasurementDet.cc.
References edmNew::DetSet< T >::begin(), detSet(), StMeasurementDetSet::detSet(), edmNew::DetSet< T >::end(), filteredRecHits(), h, StMeasurementDetSet::handle(), hit(), index(), isActive(), isEmpty(), TrajectoryStateOnSurface::localPosition(), edmNew::makeRefTo(), Topology::measurementPosition(), specificGeomDet(), StripGeomDetUnit::specificTopology(), MeasurementTrackerEvent::stripClustersToSkip(), MeasurementTrackerEvent::stripData(), tmp, unlikely, and x.
|
virtual |
Reimplemented from MeasurementDet.
Definition at line 130 of file TkStripMeasurementDet.cc.
References edmNew::DetSet< T >::begin(), detSet(), StMeasurementDetSet::detSet(), edmNew::DetSet< T >::end(), filteredRecHits(), StMeasurementDetSet::handle(), hit(), index(), isActive(), isEmpty(), TrajectoryStateOnSurface::localPosition(), edmNew::makeRefTo(), Topology::measurementPosition(), query::result, specificGeomDet(), StripGeomDetUnit::specificTopology(), MeasurementTrackerEvent::stripClustersToSkip(), MeasurementTrackerEvent::stripData(), unlikely, and x.
|
inline |
Sets the status of a block of 128 strips (or all blocks if idx=-1)
Definition at line 228 of file TkStripMeasurementDet.h.
References conditionSet(), customizeTrackingMonitorSeedNumber::idx, index(), and StMeasurementConditionSet::set128StripStatus().
|
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 222 of file TkStripMeasurementDet.h.
References index(), and StMeasurementDetSet::setActiveThisEvent().
|
inline |
Turn on/off the module for reconstruction, for the full run or lumi (using info from DB, usually).
Definition at line 218 of file TkStripMeasurementDet.h.
References conditionSet(), index(), and StMeasurementConditionSet::setActive().
|
inline |
Definition at line 103 of file TkStripMeasurementDet.h.
References index(), and StMeasurementDetSet::setEmpty().
|
inline |
Definition at line 101 of file TkStripMeasurementDet.h.
void TkStripMeasurementDet::simpleRecHits | ( | const TrajectoryStateOnSurface & | ts, |
const MeasurementTrackerEvent & | data, | ||
std::vector< SiStripRecHit2D > & | result | ||
) | const |
Definition at line 206 of file TkStripMeasurementDet.cc.
References accept(), edmNew::DetSet< T >::begin(), buildSimpleRecHit(), detSet(), StMeasurementDetSet::detSet(), edmNew::DetSet< T >::end(), StMeasurementDetSet::handle(), index(), isActive(), isEmpty(), isMasked(), edm::Ref< C, T, F >::key(), LogDebug, edmNew::makeRefTo(), rawId(), edmNew::DetSet< T >::size(), MeasurementTrackerEvent::stripClustersToSkip(), and MeasurementTrackerEvent::stripData().
Referenced by TkGluedMeasurementDet::collectRecHits().
bool TkStripMeasurementDet::simpleRecHits | ( | const TrajectoryStateOnSurface & | ts, |
const MeasurementEstimator & | est, | ||
const MeasurementTrackerEvent & | data, | ||
std::vector< SiStripRecHit2D > & | result | ||
) | const |
Definition at line 97 of file TkStripMeasurementDet.cc.
References edmNew::DetSet< T >::begin(), detSet(), StMeasurementDetSet::detSet(), edmNew::DetSet< T >::end(), filteredRecHits(), StMeasurementDetSet::handle(), hit(), index(), isActive(), isEmpty(), TrajectoryStateOnSurface::localPosition(), edmNew::makeRefTo(), Topology::measurementPosition(), query::result, specificGeomDet(), StripGeomDetUnit::specificTopology(), MeasurementTrackerEvent::stripClustersToSkip(), MeasurementTrackerEvent::stripData(), unlikely, and x.
|
inline |
Definition at line 149 of file TkStripMeasurementDet.h.
References MeasurementDet::fastGeomDet().
Referenced by buildRecHit(), buildRecHits(), buildSimpleRecHit(), filteredRecHits(), hit(), measurements(), recHits(), simpleRecHits(), and TkGluedMeasurementDet::testStrips().
|
inline |
Definition at line 110 of file TkStripMeasurementDet.h.
References conditionSet(), index(), and StMeasurementConditionSet::subId().
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 257 of file TkStripMeasurementDet.cc.
References cond::ecalcond::bad(), badStripBlocks(), badStripCuts(), end, f, bookConverter::max, StMeasurementConditionSet::BadStripCuts::maxBad, StMeasurementConditionSet::BadStripCuts::maxConsecutiveBad, min(), convertSQLiteXML::ok, dqm_diff::start, and totalStrips().
Referenced by measurements(), and TkGluedMeasurementDet::testStrips().
|
inline |
Definition at line 113 of file TkStripMeasurementDet.h.
References StMeasurementDetSet::detSet(), and index().
|
inlineprivate |
Definition at line 253 of file TkStripMeasurementDet.h.
References conditionSet(), index(), and StMeasurementConditionSet::totalStrips().
Referenced by testStrips().
|
private |
Definition at line 245 of file TkStripMeasurementDet.h.
Referenced by index(), and setIndex().
|
private |
Definition at line 246 of file TkStripMeasurementDet.h.
Referenced by conditionSet().