#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 |
SiStripMatchedRecHit2D * | match (const SiStripRecHit2D *monoRH, const SiStripRecHit2D *stereoRH, const GluedGeomDet *gluedDet, LocalVector trackdirection) const |
SiStripMatchedRecHit2D * | match (const SiStripMatchedRecHit2D *originalRH, const GluedGeomDet *gluedDet, LocalVector trackdirection) const |
edm::OwnVector < SiStripMatchedRecHit2D > | match (const SiStripRecHit2D *monoRH, RecHitIterator begin, RecHitIterator end, const GluedGeomDet *gluedDet) const |
edm::OwnVector < SiStripMatchedRecHit2D > | match (const SiStripRecHit2D *monoRH, RecHitIterator begin, RecHitIterator end, const GluedGeomDet *gluedDet, LocalVector trackdirection) const |
edm::OwnVector < SiStripMatchedRecHit2D > | match (const SiStripRecHit2D *monoRH, SimpleHitIterator begin, SimpleHitIterator end, const GluedGeomDet *gluedDet, LocalVector trackdirection) 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... | |
StripPosition | project (const GeomDetUnit *det, const GluedGeomDet *glueddet, StripPosition strip, LocalVector trackdirection) const |
SiStripRecHitMatcher (const edm::ParameterSet &conf) | |
SiStripRecHitMatcher (const double theScale) | |
Public Attributes | |
float | scale_ |
Definition at line 23 of file SiStripRecHitMatcher.h.
typedef boost::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 36 of file SiStripRecHitMatcher.h.
SiStripRecHitMatcher::SiStripRecHitMatcher | ( | const edm::ParameterSet & | conf | ) |
Definition at line 18 of file SiStripRecHitMatcher.cc.
References edm::ParameterSet::getParameter(), and scale_.
SiStripRecHitMatcher::SiStripRecHitMatcher | ( | const double | theScale | ) |
void SiStripRecHitMatcher::doubleMatch | ( | MonoIterator | monoRHiter, |
MonoIterator | monoRHend, | ||
StereoIterator | seconditer, | ||
StereoIterator | seconditerend, | ||
const GluedGeomDet * | gluedDet, | ||
LocalVector | trdir, | ||
CollectorHelper & | collectorHelper | ||
) | const |
SiStripMatchedRecHit2D * SiStripRecHitMatcher::match | ( | const SiStripRecHit2D * | monoRH, |
const SiStripRecHit2D * | stereoRH, | ||
const GluedGeomDet * | gluedDet, | ||
LocalVector | trackdirection | ||
) | const |
Definition at line 28 of file SiStripRecHitMatcher.cc.
References runEdmFileComparison::collection.
Referenced by TSiStripMatchedRecHit::clone(), TkGluedMeasurementDet::collectRecHits(), TSiStripMatchedRecHit::ComputeCoarseLocalPosition(), RoadSearchCloudMakerAlgorithm::CorrectMatchedHit(), RoadSearchTrackCandidateMakerAlgorithm::createSeedTrajectory(), RoadSearchTrackCandidateMakerAlgorithm::extrapolateTrajectory(), RoadSearchTrackCandidateMakerAlgorithm::FindBestHits(), and match().
SiStripMatchedRecHit2D * SiStripRecHitMatcher::match | ( | const SiStripMatchedRecHit2D * | originalRH, |
const GluedGeomDet * | gluedDet, | ||
LocalVector | trackdirection | ||
) | const |
Definition at line 43 of file SiStripRecHitMatcher.cc.
|
inline |
Definition at line 61 of file SiStripRecHitMatcher.h.
References match().
edm::OwnVector< SiStripMatchedRecHit2D > SiStripRecHitMatcher::match | ( | const SiStripRecHit2D * | monoRH, |
RecHitIterator | begin, | ||
RecHitIterator | end, | ||
const GluedGeomDet * | gluedDet, | ||
LocalVector | trackdirection | ||
) | const |
Definition at line 69 of file SiStripRecHitMatcher.cc.
References end, i, and match().
edm::OwnVector< SiStripMatchedRecHit2D > SiStripRecHitMatcher::match | ( | const SiStripRecHit2D * | monoRH, |
SimpleHitIterator | begin, | ||
SimpleHitIterator | end, | ||
const GluedGeomDet * | gluedDet, | ||
LocalVector | trackdirection | ||
) | const |
Definition at line 86 of file SiStripRecHitMatcher.cc.
References match(), and edm::OwnVector< T, P >::reserve().
void SiStripRecHitMatcher::match | ( | const SiStripRecHit2D * | monoRH, |
RecHitIterator | begin, | ||
RecHitIterator | end, | ||
CollectorMatched & | collector, | ||
const GluedGeomDet * | gluedDet, | ||
LocalVector | trackdirection | ||
) | const |
Definition at line 132 of file SiStripRecHitMatcher.cc.
References end, i, and match().
void SiStripRecHitMatcher::match | ( | const SiStripRecHit2D * | monoRH, |
SimpleHitIterator | begin, | ||
SimpleHitIterator | end, | ||
CollectorMatched & | collector, | ||
const GluedGeomDet * | gluedDet, | ||
LocalVector | trackdirection | ||
) | const |
Definition at line 151 of file SiStripRecHitMatcher.cc.
References match(), edmNew::DetSetVector< T >::FastFiller::push_back(), and query::result.
void SiStripRecHitMatcher::match | ( | const SiStripRecHit2D * | monoRH, |
SimpleHitIterator | begin, | ||
SimpleHitIterator | end, | ||
edm::OwnVector< SiStripMatchedRecHit2D > & | collector, | ||
const GluedGeomDet * | gluedDet, | ||
LocalVector | trackdirection | ||
) | const |
Definition at line 98 of file SiStripRecHitMatcher.cc.
References match(), AlCaHLTBitMon_ParallelJobs::p, edm::OwnVector< T, P >::push_back(), and query::result.
void SiStripRecHitMatcher::match | ( | const SiStripRecHit2D * | monoRH, |
SimpleHitIterator | begin, | ||
SimpleHitIterator | end, | ||
std::vector< SiStripMatchedRecHit2D * > & | collector, | ||
const GluedGeomDet * | gluedDet, | ||
LocalVector | trackdirection | ||
) | const |
Definition at line 119 of file SiStripRecHitMatcher.cc.
References SiStripMatchedRecHit2D::clone(), match(), and query::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 165 of file SiStripRecHitMatcher.cc.
References trackerHits::c, alignmentValidation::c1, diffTreeTool::diff, end, error, GeomDet::geographicalId(), StripTopology::localPitch(), StripTopology::localPosition(), BaseTrackerRecHit::localPositionErrorFast(), BaseTrackerRecHit::localPositionFast(), m, PV3DBase< T, PVType, FrameType >::mag2(), Topology::measurementError(), Topology::measurementPosition(), GluedGeomDet::monoDet(), position, project(), indexGen::s2, scale_, SiStripRecHit2D::setSigmaPitch(), SiStripRecHit2D::sigmaPitch(), GluedGeomDet::stereoDet(), GeomDet::surface(), toLocal(), GeomDetUnit::topology(), HelpertRecHit2DLocalPos::updateWithAPE(), MeasurementError::uu(), vdt::x, and create_public_lumi_plots::xy.
SiStripRecHitMatcher::StripPosition SiStripRecHitMatcher::project | ( | const GeomDetUnit * | det, |
const GluedGeomDet * | glueddet, | ||
StripPosition | strip, | ||
LocalVector | trackdirection | ||
) | const |
Definition at line 333 of file SiStripRecHitMatcher.cc.
References pileupReCalc_HLTpaths::scale, GeomDet::surface(), toLocal(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by match().
float SiStripRecHitMatcher::scale_ |
Definition at line 130 of file SiStripRecHitMatcher.h.
Referenced by match(), and SiStripRecHitMatcher().