#include <QuadrupletSeedMerger.h>
Public Member Functions | |
std::pair< double, double > | calculatePhiEta (SeedingHitSet const &) const |
const OrderedSeedingHits & | mergeTriplets (const OrderedSeedingHits &, const edm::EventSetup &) |
const TrajectorySeedCollection | mergeTriplets (const TrajectorySeedCollection &, const TrackingRegion &, const edm::EventSetup &, const edm::ParameterSet &) |
void | printHit (const TrackingRecHit *) const |
void | printHit (const TransientTrackingRecHit::ConstRecHitPointer &) const |
void | printNtuplet (const SeedingHitSet &) const |
QuadrupletSeedMerger (const edm::ParameterSet &iConfig, edm::ConsumesCollector &iC) | |
void | setAddRemainingTriplets (bool) |
void | setMergeTriplets (bool) |
void | setTTRHBuilderLabel (std::string) |
void | update (const edm::EventSetup &) |
~QuadrupletSeedMerger () | |
Private Types | |
typedef std::array < TransientTrackingRecHit::ConstRecHitPointer, 4 > | QuadrupletHits |
Private Member Functions | |
bool | isValidQuadruplet (const QuadrupletHits &quadruplet, const std::vector< SeedMergerPixelLayer > &layers, const TrackerTopology *tTopo) const |
void | mySort (QuadrupletHits &unsortedHits) |
merge triplets into quadruplets
Definition at line 78 of file QuadrupletSeedMerger.h.
|
private |
Definition at line 98 of file QuadrupletSeedMerger.h.
|
explicit |
Definition at line 66 of file QuadrupletSeedMerger.cc.
References isAddRemainingTriplets_, and isMergeTriplets_.
QuadrupletSeedMerger::~QuadrupletSeedMerger | ( | ) |
Definition at line 85 of file QuadrupletSeedMerger.cc.
std::pair< double, double > QuadrupletSeedMerger::calculatePhiEta | ( | SeedingHitSet const & | nTuplet | ) | const |
Definition at line 479 of file QuadrupletSeedMerger.cc.
References eta(), p1, p2, phi, funct::sqr(), mathSSE::sqrt(), PV3DBase< T, PVType, FrameType >::x(), PV3DBase< T, PVType, FrameType >::y(), and PV3DBase< T, PVType, FrameType >::z().
Referenced by mergeTriplets().
|
private |
check for validity of a (radius-) sorted quadruplet:
Definition at line 610 of file QuadrupletSeedMerger.cc.
References gather_cfg::cout, and getHLTprescales::index.
Referenced by mergeTriplets().
const OrderedSeedingHits & QuadrupletSeedMerger::mergeTriplets | ( | const OrderedSeedingHits & | inputTriplets, |
const edm::EventSetup & | es | ||
) |
merge triplets into quadruplets INPUT: OrderedSeedingHits OUTPUT: SeedingHitSets
this method is used in RecoPixelVertexing/PixelTrackFitting/src/PixelTrackReconstruction.cc and contains the basic merger functionality
Definition at line 101 of file QuadrupletSeedMerger.cc.
References a, b, KDTreeLinkerAlgo< DATA >::build(), calculatePhiEta(), SeedingLayerSetsBuilder::check(), constexpr, gather_cfg::cout, eta(), edm::EventSetup::get(), i, isAddRemainingTriplets_, isMergeTriplets_, isValidQuadruplet(), j, SeedingLayerSetsBuilder::layers(), max(), maxEta, bookConverter::min, benchmark_cfg::minEta, mySort(), phi, edm::ESHandle< class >::product(), quads_, indexGen::s2, KDTreeLinkerAlgo< DATA >::search(), EgAmbiguityTools::sharedHits(), OrderedSeedingHits::size(), findQualityFiles::size, python.multivaluedict::sort(), reco::t2, theLayerBuilder_, theLayerSets_, and Geom::twoPi().
Referenced by mergeTriplets(), and SeedGeneratorFromRegionHitsEDProducer::produce().
const TrajectorySeedCollection QuadrupletSeedMerger::mergeTriplets | ( | const TrajectorySeedCollection & | seedCollection, |
const TrackingRegion & | region, | ||
const edm::EventSetup & | es, | ||
const edm::ParameterSet & | cfg | ||
) |
merge triplets into quadruplets INPUT: TrajectorySeedCollection OUTPUT: TrajectorySeedCollection
this is a wrapper for: vector<SeedingHitSet> mergeTriplets( const OrderedSeedingHits& ) for use in RecoTracker/TkSeedGenerator/plugins/SeedGeneratorFromRegionHitsEDProducer.cc (iterative tracking)
Definition at line 393 of file QuadrupletSeedMerger.cc.
References gather_cfg::cout, edm::EventSetup::get(), reco::get(), edm::ParameterSet::getParameter(), i, isMergeTriplets_, mergeTriplets(), OrderedSeedingHits::size(), AlCaHLTBitMon_QueryRunRegistry::string, theTTRHBuilder_, and theTTRHBuilderLabel_.
|
private |
Definition at line 730 of file QuadrupletSeedMerger.cc.
References p1, PV3DBase< T, PVType, FrameType >::x(), and PV3DBase< T, PVType, FrameType >::y().
Referenced by mergeTriplets().
void QuadrupletSeedMerger::printHit | ( | const TrackingRecHit * | aHit | ) | const |
Definition at line 522 of file QuadrupletSeedMerger.cc.
References gather_cfg::cout, TrackingRecHit::geographicalId(), TrackingRecHit::localPosition(), PV3DBase< T, PVType, FrameType >::perp(), GloballyPositioned< T >::position(), alignCSCRings::r, GeomDet::surface(), theTrackerGeometry_, GeomDet::toGlobal(), x, detailsBasic3DVector::y, and detailsBasic3DVector::z.
Referenced by printHit().
void QuadrupletSeedMerger::printHit | ( | const TransientTrackingRecHit::ConstRecHitPointer & | aRecHitPointer | ) | const |
Definition at line 511 of file QuadrupletSeedMerger.cc.
References printHit().
void QuadrupletSeedMerger::printNtuplet | ( | const SeedingHitSet & | aNtuplet | ) | const |
Definition at line 536 of file QuadrupletSeedMerger.cc.
References gather_cfg::cout, PixelEndcapName::diskName(), TrackingRecHit::geographicalId(), PixelBarrelName::layerName(), TrackingRecHit::localPosition(), PixelSubdetector::PixelBarrel, alignCSCRings::r, SeedingHitSet::size(), mathSSE::sqrt(), AlCaHLTBitMon_QueryRunRegistry::string, DetId::subdetId(), theTrackerGeometry_, GeomDet::toGlobal(), x, detailsBasic3DVector::y, and detailsBasic3DVector::z.
void QuadrupletSeedMerger::setAddRemainingTriplets | ( | bool | isAddTriplets | ) |
Definition at line 599 of file QuadrupletSeedMerger.cc.
References isAddRemainingTriplets_.
void QuadrupletSeedMerger::setMergeTriplets | ( | bool | isMergeTriplets | ) |
void QuadrupletSeedMerger::setTTRHBuilderLabel | ( | std::string | label | ) |
Definition at line 579 of file QuadrupletSeedMerger.cc.
References diffTwoXMLs::label, and theTTRHBuilderLabel_.
void QuadrupletSeedMerger::update | ( | const edm::EventSetup & | es | ) |
Definition at line 77 of file QuadrupletSeedMerger.cc.
References edm::EventSetup::get(), and theTrackerGeometry_.
Referenced by progressbar.ProgressBar::__next__(), relval_steps.Matrix::__setitem__(), relval_steps.Steps::__setitem__(), Vispa.Gui.VispaWidget.VispaWidget::autosize(), Vispa.Views.LineDecayView.LineDecayContainer::createObject(), Vispa.Views.LineDecayView.LineDecayContainer::deselectAllObjects(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::deselectAllWidgets(), Vispa.Gui.VispaWidget.VispaWidget::enableAutosizing(), progressbar.ProgressBar::finish(), Vispa.Gui.MenuWidget.MenuWidget::leaveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseMoveEvent(), Vispa.Gui.MenuWidget.MenuWidget::mouseMoveEvent(), Vispa.Views.LineDecayView.LineDecayContainer::mouseMoveEvent(), Vispa.Gui.VispaWidgetOwner.VispaWidgetOwner::mouseReleaseEvent(), Vispa.Views.LineDecayView.LineDecayContainer::objectMoved(), relval_steps.Steps::overwrite(), SeedGeneratorFromRegionHitsEDProducer::produce(), Vispa.Views.LineDecayView.LineDecayContainer::removeObject(), Vispa.Gui.ConnectableWidget.ConnectableWidget::removePorts(), Vispa.Gui.FindDialog.FindDialog::reset(), Vispa.Gui.PortConnection.PointToPointConnection::select(), Vispa.Gui.VispaWidget.VispaWidget::select(), Vispa.Views.LineDecayView.LineDecayContainer::select(), Vispa.Gui.VispaWidget.VispaWidget::setText(), Vispa.Gui.VispaWidget.VispaWidget::setTitle(), Vispa.Gui.ZoomableWidget.ZoomableWidget::setZoom(), Vispa.Views.LineDecayView.LineDecayContainer::setZoom(), and Vispa.Gui.PortConnection.PointToPointConnection::updateConnection().
|
private |
Definition at line 110 of file QuadrupletSeedMerger.h.
Referenced by mergeTriplets(), QuadrupletSeedMerger(), and setAddRemainingTriplets().
|
private |
Definition at line 109 of file QuadrupletSeedMerger.h.
Referenced by mergeTriplets(), QuadrupletSeedMerger(), and setMergeTriplets().
|
private |
Definition at line 112 of file QuadrupletSeedMerger.h.
Referenced by mergeTriplets().
|
private |
Definition at line 105 of file QuadrupletSeedMerger.h.
Referenced by mergeTriplets().
|
private |
Definition at line 106 of file QuadrupletSeedMerger.h.
Referenced by mergeTriplets().
|
private |
Definition at line 107 of file QuadrupletSeedMerger.h.
Referenced by printHit(), printNtuplet(), and update().
|
private |
Definition at line 108 of file QuadrupletSeedMerger.h.
Referenced by mergeTriplets().
|
private |
Definition at line 111 of file QuadrupletSeedMerger.h.
Referenced by mergeTriplets(), and setTTRHBuilderLabel().