#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 &) |
void | printHit (const TrackingRecHit *) const |
void | printNtuplet (const SeedingHitSet &) const |
QuadrupletSeedMerger (const edm::ParameterSet &iConfig, edm::ConsumesCollector &&iC) | |
QuadrupletSeedMerger (const edm::ParameterSet &iConfig, edm::ConsumesCollector &iC) | |
QuadrupletSeedMerger (const edm::ParameterSet &iConfig, const edm::ParameterSet &seedCreatorConfig, edm::ConsumesCollector &iC) | |
void | setAddRemainingTriplets (bool) |
void | setMergeTriplets (bool) |
void | setTTRHBuilderLabel (std::string) |
void | update (const edm::EventSetup &) |
~QuadrupletSeedMerger () | |
Private Types | |
typedef std::array< SeedingHitSet::ConstRecHitPointer, 4 > | QuadrupletHits |
Private Member Functions | |
bool | isValidQuadruplet (const QuadrupletHits &quadruplet, const std::vector< SeedMergerPixelLayer > &layers, const TrackerTopology *tTopo) const |
void | mySort (QuadrupletHits &unsortedHits) |
QuadrupletSeedMerger (const edm::ParameterSet &iConfig, SeedCreator *seedCreator, edm::ConsumesCollector &iC) | |
Private Attributes | |
bool | isAddRemainingTriplets_ |
bool | isMergeTriplets_ |
OrderedHitSeeds | quads_ |
SeedingLayerSetsBuilder | theLayerBuilder_ |
ctfseeding::SeedingLayerSets | theLayerSets_ |
std::unique_ptr< SeedCreator > | theSeedCreator_ |
edm::ESHandle< TrackerGeometry > | theTrackerGeometry_ |
edm::ESHandle< TransientTrackingRecHitBuilder > | theTTRHBuilder_ |
std::string | theTTRHBuilderLabel_ |
merge triplets into quadruplets
Definition at line 76 of file QuadrupletSeedMerger.h.
|
private |
Definition at line 97 of file QuadrupletSeedMerger.h.
|
inlineexplicit |
Definition at line 80 of file QuadrupletSeedMerger.h.
References AlCaHLTBitMon_QueryRunRegistry::string, and update.
|
explicit |
Definition at line 68 of file QuadrupletSeedMerger.cc.
QuadrupletSeedMerger::QuadrupletSeedMerger | ( | const edm::ParameterSet & | iConfig, |
const edm::ParameterSet & | seedCreatorConfig, | ||
edm::ConsumesCollector & | iC | ||
) |
Definition at line 70 of file QuadrupletSeedMerger.cc.
QuadrupletSeedMerger::~QuadrupletSeedMerger | ( | ) |
Definition at line 94 of file QuadrupletSeedMerger.cc.
|
private |
Definition at line 74 of file QuadrupletSeedMerger.cc.
References isAddRemainingTriplets_, and isMergeTriplets_.
std::pair< double, double > QuadrupletSeedMerger::calculatePhiEta | ( | SeedingHitSet const & | nTuplet | ) | const |
Definition at line 483 of file QuadrupletSeedMerger.cc.
References stringResolutionProvider_cfi::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 604 of file QuadrupletSeedMerger.cc.
References gather_cfg::cout, and diffTreeTool::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 110 of file QuadrupletSeedMerger.cc.
References a, b, KDTreeLinkerAlgo< DATA, DIM >::build(), calculatePhiEta(), SeedingLayerSetsBuilder::check(), constexpr, gather_cfg::cout, stringResolutionProvider_cfi::eta, edm::EventSetup::get(), mps_fire::i, isAddRemainingTriplets_, isMergeTriplets_, isValidQuadruplet(), SeedingLayerSetsBuilder::layers(), hpstanc_transforms::max, maxEta, min(), cutBasedElectronID_CSA14_50ns_V0_cff::minEta, mySort(), class-composition::nodes, phi, edm::ESHandle< T >::product(), quads_, indexGen::s2, KDTreeLinkerAlgo< DATA, DIM >::search(), muonCosmicCompatibility_cfi::sharedHits, OrderedSeedingHits::size(), findQualityFiles::size, reco::t2, theLayerBuilder_, theLayerSets_, and Geom::twoPi().
Referenced by mergeTriplets(), and PixelQuadrupletMergerEDProducer::produce().
const TrajectorySeedCollection QuadrupletSeedMerger::mergeTriplets | ( | const TrajectorySeedCollection & | seedCollection, |
const TrackingRegion & | region, | ||
const edm::EventSetup & | es | ||
) |
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 402 of file QuadrupletSeedMerger.cc.
References gather_cfg::cout, edm::EventSetup::get(), mps_fire::i, isMergeTriplets_, mergeTriplets(), OrderedSeedingHits::size(), theSeedCreator_, theTTRHBuilder_, and theTTRHBuilderLabel_.
|
private |
Definition at line 724 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 516 of file QuadrupletSeedMerger.cc.
References gather_cfg::cout, TrackingRecHit::geographicalId(), TrackerGeometry::idToDet(), TrackingRecHit::localPosition(), PV3DBase< T, PVType, FrameType >::perp(), GloballyPositioned< T >::position(), alignCSCRings::r, GeomDet::surface(), theTrackerGeometry_, GeomDet::toGlobal(), x, y, and z.
void QuadrupletSeedMerger::printNtuplet | ( | const SeedingHitSet & | aNtuplet | ) | const |
Definition at line 530 of file QuadrupletSeedMerger.cc.
References gather_cfg::cout, PixelEndcapName::diskName(), TrackingRecHit::geographicalId(), TrackerGeometry::idToDet(), PixelBarrelName::layerName(), TrackingRecHit::localPosition(), PixelSubdetector::PixelBarrel, alignCSCRings::r, SeedingHitSet::size(), mathSSE::sqrt(), AlCaHLTBitMon_QueryRunRegistry::string, DetId::subdetId(), theTrackerGeometry_, GeomDet::toGlobal(), x, y, and z.
void QuadrupletSeedMerger::setAddRemainingTriplets | ( | bool | isAddTriplets | ) |
Definition at line 593 of file QuadrupletSeedMerger.cc.
References isAddRemainingTriplets_.
Referenced by PixelQuadrupletMergerEDProducer::PixelQuadrupletMergerEDProducer().
void QuadrupletSeedMerger::setMergeTriplets | ( | bool | isMergeTriplets | ) |
Definition at line 584 of file QuadrupletSeedMerger.cc.
References isMergeTriplets_.
Referenced by PixelQuadrupletMergerEDProducer::PixelQuadrupletMergerEDProducer().
void QuadrupletSeedMerger::setTTRHBuilderLabel | ( | std::string | label | ) |
Definition at line 573 of file QuadrupletSeedMerger.cc.
References diffTwoXMLs::label, and theTTRHBuilderLabel_.
Referenced by PixelQuadrupletMergerEDProducer::PixelQuadrupletMergerEDProducer().
void QuadrupletSeedMerger::update | ( | const edm::EventSetup & | es | ) |
Definition at line 86 of file QuadrupletSeedMerger.cc.
References edm::EventSetup::get(), and theTrackerGeometry_.
Referenced by progressbar.ProgressBar::__next__(), MatrixUtil.Matrix::__setitem__(), MatrixUtil.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(), MatrixUtil.Steps::overwrite(), PixelQuadrupletMergerEDProducer::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 113 of file QuadrupletSeedMerger.h.
Referenced by mergeTriplets(), QuadrupletSeedMerger(), and setAddRemainingTriplets().
|
private |
Definition at line 112 of file QuadrupletSeedMerger.h.
Referenced by mergeTriplets(), QuadrupletSeedMerger(), and setMergeTriplets().
|
private |
Definition at line 115 of file QuadrupletSeedMerger.h.
Referenced by mergeTriplets().
|
private |
Definition at line 107 of file QuadrupletSeedMerger.h.
Referenced by mergeTriplets().
|
private |
Definition at line 108 of file QuadrupletSeedMerger.h.
Referenced by mergeTriplets().
|
private |
Definition at line 111 of file QuadrupletSeedMerger.h.
Referenced by mergeTriplets().
|
private |
Definition at line 109 of file QuadrupletSeedMerger.h.
Referenced by printHit(), printNtuplet(), and update().
|
private |
Definition at line 110 of file QuadrupletSeedMerger.h.
Referenced by mergeTriplets().
|
private |
Definition at line 114 of file QuadrupletSeedMerger.h.
Referenced by mergeTriplets(), and setTTRHBuilderLabel().