#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 239 of file TkStripMeasurementDet.h.
Definition at line 234 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 284 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(), esMonitoring.FDJsonServer::handle_accept(), 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 242 of file TkStripMeasurementDet.h.
References cmsHarvester::index.
Referenced by testStrips().
|
inlineprivate |
Definition at line 256 of file TkStripMeasurementDet.h.
References cmsHarvester::index.
Referenced by testStrips().
|
inline |
Definition at line 154 of file TkStripMeasurementDet.h.
References MeasurementDet::fastGeomDet().
Referenced by recHits().
|
inline |
Definition at line 163 of file TkStripMeasurementDet.h.
|
inlineprivate |
Definition at line 267 of file TkStripMeasurementDet.h.
Referenced by simpleRecHits().
|
inlineprivate |
Definition at line 249 of file TkStripMeasurementDet.h.
|
inlineprivate |
Definition at line 250 of file TkStripMeasurementDet.h.
|
inlineprivate |
Definition at line 252 of file TkStripMeasurementDet.h.
Referenced by hit().
|
inline |
Definition at line 114 of file TkStripMeasurementDet.h.
References StMeasurementDetSet::detSet(), and cmsHarvester::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(), MeasurementEstimator::estimate(), LogDebug, eostools::move(), and MeasurementEstimator::preFilter().
Referenced by recHits(), and simpleRecHits().
|
inline |
Definition at line 196 of file TkStripMeasurementDet.h.
References accept(), MeasurementEstimator::estimate(), LogDebug, eostools::move(), and MeasurementEstimator::preFilter().
|
inline |
Definition at line 241 of file TkStripMeasurementDet.h.
References cmsHarvester::index.
|
inline |
does this module have at least one bad strip, APV or channel?
Definition at line 227 of file TkStripMeasurementDet.h.
Referenced by TkGluedMeasurementDet::measurements().
|
inlineprivate |
Definition at line 258 of file TkStripMeasurementDet.h.
References cmsHarvester::index.
|
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.
Referenced by BeautifulSoup.PageElement::_invert(), empty(), hitRange(), recHits(), and simpleRecHits().
|
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 cmsHarvester::index, StMeasurementDetSet::isActive(), and MeasurementTrackerEvent::stripData().
Referenced by empty(), hitRange(), TkGluedMeasurementDet::measurements(), measurements(), TkGluedMeasurementDet::recHits(), recHits(), and simpleRecHits().
|
inline |
Definition at line 105 of file TkStripMeasurementDet.h.
References StMeasurementDetSet::empty(), and cmsHarvester::index.
Referenced by empty(), hitRange(), measurements(), recHits(), and simpleRecHits().
|
inlineprivate |
Definition at line 261 of file TkStripMeasurementDet.h.
References cmsHarvester::index.
Referenced by advance(), empty(), recHits(), and simpleRecHits().
|
inline |
Definition at line 244 of file TkStripMeasurementDet.h.
|
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 cmsHarvester::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(), eostools::move(), 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 230 of file TkStripMeasurementDet.h.
References customizeTrackingMonitorSeedNumber::idx, and cmsHarvester::index.
|
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 224 of file TkStripMeasurementDet.h.
References cmsHarvester::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 220 of file TkStripMeasurementDet.h.
References cmsHarvester::index.
|
inline |
Definition at line 103 of file TkStripMeasurementDet.h.
References cmsHarvester::index, and StMeasurementDetSet::setEmpty().
|
inline |
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 hit(), measurements(), recHits(), simpleRecHits(), and TkGluedMeasurementDet::testStrips().
|
inline |
Definition at line 110 of file TkStripMeasurementDet.h.
References cmsHarvester::index.
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 cmsHarvester::index.
|
inlineprivate |
Definition at line 255 of file TkStripMeasurementDet.h.
References cmsHarvester::index.
Referenced by testStrips().
|
private |
Definition at line 247 of file TkStripMeasurementDet.h.
|
private |
Definition at line 248 of file TkStripMeasurementDet.h.