#include <SiStripRecHitMatcher.h>
Public Types | |
typedef boost::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 25 of file SiStripRecHitMatcher.h.
typedef boost::function<void(SiStripMatchedRecHit2D const&)> SiStripRecHitMatcher::Collector |
Definition at line 34 of file SiStripRecHitMatcher.h.
Definition at line 28 of file SiStripRecHitMatcher.h.
Definition at line 30 of file SiStripRecHitMatcher.h.
typedef std::vector<const SiStripRecHit2D*> SiStripRecHitMatcher::SimpleHitCollection |
Definition at line 31 of file SiStripRecHitMatcher.h.
typedef SimpleHitCollection::const_iterator SiStripRecHitMatcher::SimpleHitIterator |
Definition at line 32 of file SiStripRecHitMatcher.h.
typedef std::pair<LocalPoint, LocalPoint> SiStripRecHitMatcher::StripPosition |
Definition at line 36 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.
References h, edmNew::DetSetVector< T >::FastFiller::push_back(), and findQualityFiles::v.
void SiStripRecHitMatcher::doubleMatch | ( | MonoIterator | monoRHiter, |
MonoIterator | monoRHend, | ||
StereoIterator | seconditer, | ||
StereoIterator | seconditerend, | ||
const GluedGeomDet * | gluedDet, | ||
LocalVector | trdir, | ||
CollectorHelper & | collectorHelper | ||
) | const |
Referenced by SiStripRecHitConverterAlgorithm::match(), and sigmaPitch().
std::unique_ptr< SiStripMatchedRecHit2D > SiStripRecHitMatcher::match | ( | const SiStripRecHit2D * | monoRH, |
const SiStripRecHit2D * | stereoRH, | ||
const GluedGeomDet * | gluedDet, | ||
LocalVector | trackdirection, | ||
bool | force | ||
) | const |
Definition at line 238 of file SiStripRecHitMatcher.cc.
References HltBtagPostValidation_cff::c, fftjetpileupestimator_calo_uncalib_cfi::c0, alignmentValidation::c1, change_name::diff, relativeConstraints::error, f, StripTopology::localPosition(), BaseTrackerRecHit::localPosition(), BaseTrackerRecHit::localPositionError(), BaseTrackerRecHit::localPositionFast(), visualization-live-secondInstance_cfg::m, PV3DBase< T, PVType, FrameType >::mag2(), Topology::measurementPosition(), GluedGeomDet::monoDet(), position, project(), indexGen::s2, scale_, sigmaPitch(), GluedGeomDet::stereoDet(), GeomDet::surface(), toLocal(), GeomDet::topology(), x, geometryCSVtoXML::xx, geometryCSVtoXML::xy, and geometryCSVtoXML::yy.
Referenced by TkGluedMeasurementDet::collectRecHits(), SiStripRecHitConverterAlgorithm::match(), match(), TkClonerImpl::operator()(), and sigmaPitch().
void SiStripRecHitMatcher::match | ( | const SiStripRecHit2D * | monoRH, |
RecHitIterator | begin, | ||
RecHitIterator | end, | ||
CollectorMatched & | collector, | ||
const GluedGeomDet * | gluedDet, | ||
LocalVector | trackdirection | ||
) | const |
Definition at line 63 of file SiStripRecHitMatcher.cc.
References 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 52 of file SiStripRecHitMatcher.cc.
References 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 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(), 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 79 of file SiStripRecHitMatcher.cc.
References HltBtagPostValidation_cff::c, fftjetpileupestimator_calo_uncalib_cfi::c0, alignmentValidation::c1, change_name::diff, 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(), indexGen::s2, 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 216 of file SiStripRecHitMatcher.cc.
References Scenarios_cff::scale, GeomDet::surface(), toLocal(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by match(), and sigmaPitch().
|
inlinestatic |
Definition at line 43 of file SiStripRecHitMatcher.h.
References begin, doubleMatch(), end, relativeConstraints::error, cmsStageWithFailover::force, StripTopology::localPitch(), match(), Topology::measurementError(), project(), digitizers_cfi::strip, and MeasurementError::uu().
Referenced by match().
bool SiStripRecHitMatcher::preFilter_ = false |
Definition at line 112 of file SiStripRecHitMatcher.h.
Referenced by preFilter().
float SiStripRecHitMatcher::scale_ |
Definition at line 111 of file SiStripRecHitMatcher.h.
Referenced by match().