#include <DTCombinatorialPatternReco.h>
Classes | |
class | TriedPattern |
Public Types | |
typedef std::unordered_set< TriedPattern, TriedPattern::HashFunction > | TriedPatterns |
Public Member Functions | |
std::string | algoName () const override |
return the algo name More... | |
DTCombinatorialPatternReco (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 | setES (const edm::EventSetup &setup) override |
~DTCombinatorialPatternReco () override | |
Destructor. More... | |
Public Member Functions inherited from DTRecSegment2DBaseAlgo | |
DTRecSegment2DBaseAlgo (const edm::ParameterSet &) | |
Constructor. More... | |
virtual | ~DTRecSegment2DBaseAlgo () |
Destructor. More... | |
Private Member Functions | |
DTSegmentCand * | 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) |
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 Attributes | |
bool | debug |
std::string | theAlgoName |
double | theAlphaMaxPhi |
double | theAlphaMaxTheta |
DTSegmentCleaner * | theCleaner |
edm::ESHandle< DTGeometry > | theDTGeometry |
const edm::ESGetToken< DTGeometry, MuonGeometryRecord > | theDTGeometryToken |
unsigned int | theMaxAllowedHits |
TriedPatterns | theTriedPattern |
DTSegmentUpdator * | theUpdator |
bool | usePairs |
Friends | |
class | DTCombinatorialPatternReco4D |
Algo for reconstructing 2d segment in DT using a combinatorial approach
Definition at line 45 of file DTCombinatorialPatternReco.h.
typedef std::unordered_set<TriedPattern, TriedPattern::HashFunction> DTCombinatorialPatternReco::TriedPatterns |
Definition at line 157 of file DTCombinatorialPatternReco.h.
DTCombinatorialPatternReco::DTCombinatorialPatternReco | ( | const edm::ParameterSet & | pset, |
edm::ConsumesCollector | iCC | ||
) |
Constructor.
Definition at line 34 of file DTCombinatorialPatternReco.cc.
References debug, muonDTDigis_cfi::pset, theAlphaMaxPhi, theAlphaMaxTheta, theCleaner, theMaxAllowedHits, theUpdator, and usePairs.
|
override |
Destructor.
Definition at line 47 of file DTCombinatorialPatternReco.cc.
References theCleaner, and theUpdator.
|
inlineoverridevirtual |
return the algo name
Implements DTRecSegment2DBaseAlgo.
Definition at line 60 of file DTCombinatorialPatternReco.h.
References theAlgoName.
|
private |
Definition at line 290 of file DTCombinatorialPatternReco.cc.
References buildPointsCollection(), HLT_2022v11_cff::candidates, gather_cfg::cout, debug, 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 354 of file DTCombinatorialPatternReco.cc.
References HLT_2022v11_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 93 of file DTCombinatorialPatternReco.cc.
References buildBestSegment(), checkDoubleCandidates(), DTSegmentCleaner::clean(), gather_cfg::cout, debug, findCompatibleHits(), DTSegmentCand::good(), hfClusterShapes_cfi::hits, DTSuperLayer::id(), listHistos::IP, DTEnums::Left, mps_fire::result, DTEnums::Right, theAlphaMaxPhi, theAlphaMaxTheta, theCleaner, theMaxAllowedHits, PV3DBase< T, PVType, FrameType >::theta(), theTriedPattern, GeomDet::toGlobal(), unit(), and trackerHitRTTI::vector.
Referenced by DTCombinatorialPatternReco4D::buildPhiSuperSegmentsCandidates(), and reconstruct().
|
private |
Definition at line 409 of file DTCombinatorialPatternReco.cc.
References HLT_2022v11_cff::cands.
Referenced by buildSegments().
|
private |
Definition at line 217 of file DTCombinatorialPatternReco.cc.
References filterCSVwithJSON::copy, gather_cfg::cout, debug, hfClusterShapes_cfi::hits, DTEnums::Left, mps_fire::result, DTEnums::Right, theTriedPattern, printsummarytable::tried, DTEnums::undefLR, and usePairs.
Referenced by buildSegments().
|
private |
Definition at line 84 of file DTCombinatorialPatternReco.cc.
References hfClusterShapes_cfi::hits, mps_fire::result, and theDTGeometry.
Referenced by DTCombinatorialPatternReco4D::buildPhiSuperSegmentsCandidates(), and reconstruct().
|
overridevirtual |
this function is called in the producer
Implements DTRecSegment2DBaseAlgo.
Definition at line 53 of file DTCombinatorialPatternReco.cc.
References buildSegments(), HLT_2022v11_cff::candidates, gather_cfg::cout, debug, initHits(), mps_fire::result, theUpdator, and DTSegmentUpdator::update().
Referenced by DTCombinatorialPatternReco4D::reconstruct().
|
overridevirtual |
Through this function the EventSetup is percolated to the objs which request it
Implements DTRecSegment2DBaseAlgo.
Definition at line 78 of file DTCombinatorialPatternReco.cc.
References DTSegmentUpdator::setES(), singleTopDQM_cfi::setup, theDTGeometry, theDTGeometryToken, and theUpdator.
Referenced by DTCombinatorialPatternReco4D::setES().
|
friend |
Definition at line 68 of file DTCombinatorialPatternReco.h.
|
private |
Definition at line 102 of file DTCombinatorialPatternReco.h.
Referenced by buildBestSegment(), buildPointsCollection(), buildSegments(), DTCombinatorialPatternReco(), findCompatibleHits(), runTauIdMVA.TauIDEmbedder::loadMVA_WPs_run2_2017(), reconstruct(), and runTauIdMVA.TauIDEmbedder::runTauID().
|
private |
Definition at line 98 of file DTCombinatorialPatternReco.h.
Referenced by algoName().
|
private |
Definition at line 101 of file DTCombinatorialPatternReco.h.
Referenced by buildSegments(), and DTCombinatorialPatternReco().
|
private |
Definition at line 100 of file DTCombinatorialPatternReco.h.
Referenced by buildSegments(), and DTCombinatorialPatternReco().
|
private |
Definition at line 105 of file DTCombinatorialPatternReco.h.
Referenced by buildSegments(), DTCombinatorialPatternReco(), and ~DTCombinatorialPatternReco().
|
private |
Definition at line 107 of file DTCombinatorialPatternReco.h.
Referenced by initHits(), and setES().
|
private |
Definition at line 108 of file DTCombinatorialPatternReco.h.
Referenced by setES().
|
private |
Definition at line 99 of file DTCombinatorialPatternReco.h.
Referenced by buildSegments(), and DTCombinatorialPatternReco().
|
private |
Definition at line 160 of file DTCombinatorialPatternReco.h.
Referenced by buildSegments(), and findCompatibleHits().
|
private |
Definition at line 104 of file DTCombinatorialPatternReco.h.
Referenced by buildPointsCollection(), DTCombinatorialPatternReco(), reconstruct(), setES(), and ~DTCombinatorialPatternReco().
|
private |
Definition at line 103 of file DTCombinatorialPatternReco.h.
Referenced by DTCombinatorialPatternReco(), and findCompatibleHits().