#include <SiStripRecHitMatcher.h>
Public Types | |
typedef std::function< void(SiStripMatchedRecHit2D const &)> | Collector |
typedef SiStripMatchedRecHit2DCollectionNew::FastFiller | CollectorMatched |
typedef SiStripRecHit2DCollectionNew::DetSet::const_iterator | RecHitIterator |
typedef std::vector< const SiStripRecHit2D * > | SimpleHitCollection |
typedef SimpleHitCollection::const_iterator | SimpleHitIterator |
typedef std::pair< LocalPoint, LocalPoint > | StripPosition |
Public Member Functions | |
template<typename MonoIterator , typename StereoIterator , typename CollectorHelper > | |
void | doubleMatch (MonoIterator monoRHiter, MonoIterator monoRHend, StereoIterator seconditer, StereoIterator seconditerend, const GluedGeomDet *gluedDet, LocalVector trdir, CollectorHelper &collectorHelper) const |
std::unique_ptr< SiStripMatchedRecHit2D > | match (const SiStripRecHit2D *monoRH, const SiStripRecHit2D *stereoRH, const GluedGeomDet *gluedDet, LocalVector trackdirection, bool force) const |
void | match (const SiStripRecHit2D *monoRH, RecHitIterator begin, RecHitIterator end, CollectorMatched &collector, const GluedGeomDet *gluedDet, LocalVector trackdirection) const |
void | match (const SiStripRecHit2D *monoRH, SimpleHitIterator begin, SimpleHitIterator end, CollectorMatched &collector, const GluedGeomDet *gluedDet, LocalVector trackdirection) const |
void | match (const SiStripRecHit2D *monoRH, SimpleHitIterator begin, SimpleHitIterator end, edm::OwnVector< SiStripMatchedRecHit2D > &collector, const GluedGeomDet *gluedDet, LocalVector trackdirection) const |
void | match (const SiStripRecHit2D *monoRH, SimpleHitIterator begin, SimpleHitIterator end, std::vector< SiStripMatchedRecHit2D *> &collector, const GluedGeomDet *gluedDet, LocalVector trackdirection) const |
void | match (const SiStripRecHit2D *monoRH, SimpleHitIterator begin, SimpleHitIterator end, Collector &collector, const GluedGeomDet *gluedDet, LocalVector trackdirection) const |
the actual implementation More... | |
bool | preFilter () const |
StripPosition | project (const GeomDetUnit *det, const GluedGeomDet *glueddet, StripPosition strip, LocalVector trackdirection) const |
SiStripRecHitMatcher (const edm::ParameterSet &conf) | |
SiStripRecHitMatcher (const double theScale) | |
Static Public Member Functions | |
static float | sigmaPitch (LocalPoint const &pos, LocalError const &err, const StripTopology &topol) |
Public Attributes | |
bool | preFilter_ = false |
float | scale_ |
Definition at line 24 of file SiStripRecHitMatcher.h.
typedef std::function<void(SiStripMatchedRecHit2D const&)> SiStripRecHitMatcher::Collector |
Definition at line 33 of file SiStripRecHitMatcher.h.
Definition at line 27 of file SiStripRecHitMatcher.h.
Definition at line 29 of file SiStripRecHitMatcher.h.
typedef std::vector<const SiStripRecHit2D*> SiStripRecHitMatcher::SimpleHitCollection |
Definition at line 30 of file SiStripRecHitMatcher.h.
typedef SimpleHitCollection::const_iterator SiStripRecHitMatcher::SimpleHitIterator |
Definition at line 31 of file SiStripRecHitMatcher.h.
typedef std::pair<LocalPoint, LocalPoint> SiStripRecHitMatcher::StripPosition |
Definition at line 35 of file SiStripRecHitMatcher.h.
SiStripRecHitMatcher::SiStripRecHitMatcher | ( | const edm::ParameterSet & | conf | ) |
Definition at line 15 of file SiStripRecHitMatcher.cc.
SiStripRecHitMatcher::SiStripRecHitMatcher | ( | const double | theScale | ) |
Definition at line 19 of file SiStripRecHitMatcher.cc.
void SiStripRecHitMatcher::doubleMatch | ( | MonoIterator | monoRHiter, |
MonoIterator | monoRHend, | ||
StereoIterator | seconditer, | ||
StereoIterator | seconditerend, | ||
const GluedGeomDet * | gluedDet, | ||
LocalVector | trdir, | ||
CollectorHelper & | collectorHelper | ||
) | const |
Referenced by SiStripRecHitConverterAlgorithm::match().
std::unique_ptr< SiStripMatchedRecHit2D > SiStripRecHitMatcher::match | ( | const SiStripRecHit2D * | monoRH, |
const SiStripRecHit2D * | stereoRH, | ||
const GluedGeomDet * | gluedDet, | ||
LocalVector | trackdirection, | ||
bool | force | ||
) | const |
Definition at line 239 of file SiStripRecHitMatcher.cc.
References HltBtagPostValidation_cff::c, fftjetpileupestimator_calo_uncalib_cfi::c0, alignmentValidation::c1, change_name::diff, relativeConstraints::error, f, cmsStageWithFailover::force, StripTopology::localPosition(), BaseTrackerRecHit::localPosition(), BaseTrackerRecHit::localPositionError(), BaseTrackerRecHit::localPositionFast(), visualization-live-secondInstance_cfg::m, PV3DBase< T, PVType, FrameType >::mag2(), Topology::measurementPosition(), GluedGeomDet::monoDet(), position, project(), scale_, sigmaPitch(), GluedGeomDet::stereoDet(), GeomDet::surface(), toLocal(), GeomDet::topology(), x, geometryCSVtoXML::xx, geometryCSVtoXML::xy, and geometryCSVtoXML::yy.
Referenced by TkGluedMeasurementDet::collectRecHits(), SiStripRecHitConverterAlgorithm::match(), match(), and TkClonerImpl::operator()().
void SiStripRecHitMatcher::match | ( | const SiStripRecHit2D * | monoRH, |
RecHitIterator | begin, | ||
RecHitIterator | end, | ||
CollectorMatched & | collector, | ||
const GluedGeomDet * | gluedDet, | ||
LocalVector | trackdirection | ||
) | const |
Definition at line 64 of file SiStripRecHitMatcher.cc.
References mps_fire::end, mps_fire::i, and match().
void SiStripRecHitMatcher::match | ( | const SiStripRecHit2D * | monoRH, |
SimpleHitIterator | begin, | ||
SimpleHitIterator | end, | ||
CollectorMatched & | collector, | ||
const GluedGeomDet * | gluedDet, | ||
LocalVector | trackdirection | ||
) | const |
Definition at line 53 of file SiStripRecHitMatcher.cc.
References mps_fire::end, match(), and mps_fire::result.
void SiStripRecHitMatcher::match | ( | const SiStripRecHit2D * | monoRH, |
SimpleHitIterator | begin, | ||
SimpleHitIterator | end, | ||
edm::OwnVector< SiStripMatchedRecHit2D > & | collector, | ||
const GluedGeomDet * | gluedDet, | ||
LocalVector | trackdirection | ||
) | const |
Definition at line 29 of file SiStripRecHitMatcher.cc.
References mps_fire::end, match(), AlCaHLTBitMon_ParallelJobs::p, edm::OwnVector< T, P >::push_back(), and mps_fire::result.
void SiStripRecHitMatcher::match | ( | const SiStripRecHit2D * | monoRH, |
SimpleHitIterator | begin, | ||
SimpleHitIterator | end, | ||
std::vector< SiStripMatchedRecHit2D *> & | collector, | ||
const GluedGeomDet * | gluedDet, | ||
LocalVector | trackdirection | ||
) | const |
Definition at line 42 of file SiStripRecHitMatcher.cc.
References SiStripMatchedRecHit2D::clone(), mps_fire::end, match(), and mps_fire::result.
void SiStripRecHitMatcher::match | ( | const SiStripRecHit2D * | monoRH, |
SimpleHitIterator | begin, | ||
SimpleHitIterator | end, | ||
Collector & | collector, | ||
const GluedGeomDet * | gluedDet, | ||
LocalVector | trackdirection | ||
) | const |
the actual implementation
Definition at line 80 of file SiStripRecHitMatcher.cc.
References HltBtagPostValidation_cff::c, fftjetpileupestimator_calo_uncalib_cfi::c0, alignmentValidation::c1, change_name::diff, mps_fire::end, relativeConstraints::error, StripTopology::localPosition(), BaseTrackerRecHit::localPosition(), BaseTrackerRecHit::localPositionError(), BaseTrackerRecHit::localPositionFast(), visualization-live-secondInstance_cfg::m, PV3DBase< T, PVType, FrameType >::mag2(), Topology::measurementPosition(), GluedGeomDet::monoDet(), position, project(), scale_, sigmaPitch(), GluedGeomDet::stereoDet(), GeomDet::surface(), toLocal(), GeomDet::topology(), x, geometryCSVtoXML::xx, geometryCSVtoXML::xy, and geometryCSVtoXML::yy.
|
inline |
SiStripRecHitMatcher::StripPosition SiStripRecHitMatcher::project | ( | const GeomDetUnit * | det, |
const GluedGeomDet * | glueddet, | ||
StripPosition | strip, | ||
LocalVector | trackdirection | ||
) | const |
Definition at line 217 of file SiStripRecHitMatcher.cc.
References pfClustersFromCombinedCaloHF_cfi::scale, nano_mu_digi_cff::strip, GeomDet::surface(), toLocal(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by match().
|
inlinestatic |
Definition at line 42 of file SiStripRecHitMatcher.h.
References submitPVResolutionJobs::err, relativeConstraints::error, StripTopology::localPitch(), and Topology::measurementError().
Referenced by match().
bool SiStripRecHitMatcher::preFilter_ = false |
Definition at line 111 of file SiStripRecHitMatcher.h.
Referenced by preFilter().
float SiStripRecHitMatcher::scale_ |
Definition at line 110 of file SiStripRecHitMatcher.h.
Referenced by match().