#include <DTCombinatorialExtendedPatternReco.h>
Public Member Functions | |
std::string | algoName () const override |
return the algo name More... | |
DTCombinatorialExtendedPatternReco (const edm::ParameterSet &pset, edm::ConsumesCollector) | |
Constructor. More... | |
edm::OwnVector< DTSLRecSegment2D > | reconstruct (const DTSuperLayer *sl, const std::vector< DTRecHit1DPair > &hits) override |
this function is called in the producer More... | |
void | setClusters (const std::vector< DTSLRecCluster > &clusters) |
void | setES (const edm::EventSetup &setup) override |
~DTCombinatorialExtendedPatternReco () override | |
Destructor. More... | |
Private Member Functions | |
DTSegmentExtendedCand * | buildBestSegment (std::vector< DTSegmentCand::AssPoint > &assHits, const DTSuperLayer *sl) |
void | buildPointsCollection (std::vector< DTSegmentCand::AssPoint > &points, std::deque< std::shared_ptr< DTHitPairForFit >> &pointsNoLR, std::vector< DTSegmentCand *> &candidates, const DTSuperLayer *sl) |
std::vector< DTSegmentCand * > | buildSegments (const DTSuperLayer *sl, const std::vector< std::shared_ptr< DTHitPairForFit >> &hits) |
bool | checkDoubleCandidates (std::vector< DTSegmentCand *> &segs, DTSegmentCand *seg) |
bool | closeSL (const DTSuperLayerId &id1, const DTSuperLayerId &id2) |
std::vector< DTSegmentExtendedCand * > | extendCandidates (std::vector< DTSegmentCand *> &candidates, const DTSuperLayer *sl) |
std::vector< DTSegmentCand::AssPoint > | findCompatibleHits (const LocalPoint &pos, const LocalVector &dir, const std::vector< std::shared_ptr< DTHitPairForFit >> &hits) |
std::vector< std::shared_ptr< DTHitPairForFit > > | initHits (const DTSuperLayer *sl, const std::vector< DTRecHit1DPair > &hits) |
Private Member Functions inherited from DTRecSegment2DBaseAlgo | |
DTRecSegment2DBaseAlgo (const edm::ParameterSet &) | |
Constructor. More... | |
virtual | ~DTRecSegment2DBaseAlgo () |
Destructor. More... | |
Private Attributes | |
bool | debug |
std::string | theAlgoName |
double | theAlphaMaxPhi |
double | theAlphaMaxTheta |
DTSegmentCleaner * | theCleaner |
std::vector< DTSLRecCluster > | theClusters |
edm::ESHandle< DTGeometry > | theDTGeometry |
edm::ESGetToken< DTGeometry, MuonGeometryRecord > | theDTGeometryToken |
unsigned int | theMaxAllowedHits |
std::vector< std::vector< int > > | theTriedPattern |
DTSegmentUpdator * | theUpdator |
bool | usePairs |
Algo for reconstructing 2d segment in DT using a combinatorial approach
Definition at line 46 of file DTCombinatorialExtendedPatternReco.h.
DTCombinatorialExtendedPatternReco::DTCombinatorialExtendedPatternReco | ( | const edm::ParameterSet & | pset, |
edm::ConsumesCollector | cc | ||
) |
Constructor.
Definition at line 34 of file DTCombinatorialExtendedPatternReco.cc.
References debug, muonDTDigis_cfi::pset, theAlphaMaxPhi, theAlphaMaxTheta, theCleaner, theMaxAllowedHits, theUpdator, and usePairs.
|
override |
|
inlineoverridevirtual |
return the algo name
Implements DTRecSegment2DBaseAlgo.
Definition at line 61 of file DTCombinatorialExtendedPatternReco.h.
References theAlgoName.
|
private |
Definition at line 274 of file DTCombinatorialExtendedPatternReco.cc.
References buildPointsCollection(), HLT_2022v12_cff::candidates, gather_cfg::cout, debug, extendCandidates(), hfClusterShapes_cfi::hits, MTVHistoProducerAlgoForTrackerBlock_cfi::minChi2, HLT_FULL_cff::points, and DTEnums::undefLR.
Referenced by buildSegments().
|
private |
build collection of compatible hits for L/R hits: the candidates is updated with the segment candidates found
Definition at line 344 of file DTCombinatorialExtendedPatternReco.cc.
References HLT_2022v12_cff::candidates, filterCSVwithJSON::copy, gather_cfg::cout, debug, DTSegmentUpdator::fit(), DTEnums::Left, HLT_FULL_cff::points, DTEnums::Right, and theUpdator.
Referenced by buildBestSegment().
|
private |
get two hits in different layers and see if there are other / hits
Definition at line 98 of file DTCombinatorialExtendedPatternReco.cc.
References buildBestSegment(), checkDoubleCandidates(), DTSegmentCleaner::clean(), gather_cfg::cout, debug, findCompatibleHits(), DTSegmentExtendedCand::good(), hfClusterShapes_cfi::hits, DTSuperLayer::id(), listHistos::IP, DTEnums::Left, mps_fire::result, DTEnums::Right, theAlphaMaxPhi, theAlphaMaxTheta, theCleaner, theMaxAllowedHits, PV3DBase< T, PVType, FrameType >::theta(), GeomDet::toGlobal(), unit(), and trackerHitRTTI::vector.
Referenced by reconstruct().
|
private |
Definition at line 399 of file DTCombinatorialExtendedPatternReco.cc.
References HLT_2022v12_cff::cands.
Referenced by buildSegments().
|
private |
Definition at line 481 of file DTCombinatorialExtendedPatternReco.cc.
References funct::abs(), globals_cff::id1, and globals_cff::id2.
Referenced by extendCandidates().
|
private |
extend the candidates with clusters from external SL
Definition at line 406 of file DTCombinatorialExtendedPatternReco.cc.
References DTSegmentExtendedCand::addClus(), HLT_2022v12_cff::candidates, closeSL(), gather_cfg::cout, debug, submitPVResolutionJobs::err, DTSegmentUpdator::fit(), DTSuperLayer::id(), DTSegmentExtendedCand::isCompatible(), DTSegmentExtendedCand::nHits(), mps_fire::result, DTSuperLayerId::superLayer(), DTSegmentCand::superLayer(), DTGeometry::superLayer(), theClusters, theDTGeometry, theUpdator, GeomDet::toGlobal(), and GeomDet::toLocal().
Referenced by buildBestSegment().
|
private |
Definition at line 218 of file DTCombinatorialExtendedPatternReco.cc.
References filterCSVwithJSON::copy, gather_cfg::cout, debug, spr::find(), hfClusterShapes_cfi::hits, DTEnums::Left, mps_fire::result, DTEnums::Right, submitPVValidationJobs::t, theTriedPattern, printsummarytable::tried, DTEnums::undefLR, and usePairs.
Referenced by buildSegments().
|
private |
Definition at line 89 of file DTCombinatorialExtendedPatternReco.cc.
References hfClusterShapes_cfi::hits, mps_fire::result, and theDTGeometry.
Referenced by reconstruct().
|
overridevirtual |
this function is called in the producer
Implements DTRecSegment2DBaseAlgo.
Definition at line 53 of file DTCombinatorialExtendedPatternReco.cc.
References buildSegments(), HLT_2022v12_cff::candidates, gather_cfg::cout, debug, initHits(), mps_fire::result, theTriedPattern, theUpdator, and DTSegmentUpdator::update().
Referenced by DTRecSegment2DExtendedProducer::produce().
void DTCombinatorialExtendedPatternReco::setClusters | ( | const std::vector< DTSLRecCluster > & | clusters | ) |
Definition at line 87 of file DTCombinatorialExtendedPatternReco.cc.
References bsc_activity_cfg::clusters, and theClusters.
Referenced by DTRecSegment2DExtendedProducer::produce().
|
overridevirtual |
Through this function the EventSetup is percolated to the objs which request it
Implements DTRecSegment2DBaseAlgo.
Definition at line 81 of file DTCombinatorialExtendedPatternReco.cc.
References DTSegmentUpdator::setES(), singleTopDQM_cfi::setup, theDTGeometry, theDTGeometryToken, and theUpdator.
Referenced by DTRecSegment2DExtendedProducer::produce().
|
private |
Definition at line 107 of file DTCombinatorialExtendedPatternReco.h.
Referenced by buildBestSegment(), buildPointsCollection(), buildSegments(), DTCombinatorialExtendedPatternReco(), extendCandidates(), findCompatibleHits(), runTauIdMVA.TauIDEmbedder::loadMVA_WPs_run2_2017(), reconstruct(), and runTauIdMVA.TauIDEmbedder::runTauID().
|
private |
Definition at line 103 of file DTCombinatorialExtendedPatternReco.h.
Referenced by algoName().
|
private |
Definition at line 106 of file DTCombinatorialExtendedPatternReco.h.
Referenced by buildSegments(), and DTCombinatorialExtendedPatternReco().
|
private |
Definition at line 105 of file DTCombinatorialExtendedPatternReco.h.
Referenced by buildSegments(), and DTCombinatorialExtendedPatternReco().
|
private |
Definition at line 110 of file DTCombinatorialExtendedPatternReco.h.
Referenced by buildSegments(), and DTCombinatorialExtendedPatternReco().
|
private |
Definition at line 117 of file DTCombinatorialExtendedPatternReco.h.
Referenced by extendCandidates(), and setClusters().
|
private |
Definition at line 112 of file DTCombinatorialExtendedPatternReco.h.
Referenced by extendCandidates(), initHits(), and setES().
|
private |
Definition at line 113 of file DTCombinatorialExtendedPatternReco.h.
Referenced by setES().
|
private |
Definition at line 104 of file DTCombinatorialExtendedPatternReco.h.
Referenced by buildSegments(), and DTCombinatorialExtendedPatternReco().
|
private |
Definition at line 116 of file DTCombinatorialExtendedPatternReco.h.
Referenced by findCompatibleHits(), and reconstruct().
|
private |
Definition at line 109 of file DTCombinatorialExtendedPatternReco.h.
Referenced by buildPointsCollection(), DTCombinatorialExtendedPatternReco(), extendCandidates(), reconstruct(), and setES().
|
private |
Definition at line 108 of file DTCombinatorialExtendedPatternReco.h.
Referenced by DTCombinatorialExtendedPatternReco(), and findCompatibleHits().