#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) | |
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 |
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 42 of file DTCombinatorialPatternReco.h.
typedef std::unordered_set<TriedPattern, TriedPattern::HashFunction> DTCombinatorialPatternReco::TriedPatterns |
Definition at line 153 of file DTCombinatorialPatternReco.h.
DTCombinatorialPatternReco::DTCombinatorialPatternReco | ( | const edm::ParameterSet & | pset | ) |
Constructor.
Definition at line 33 of file DTCombinatorialPatternReco.cc.
References debug, muonDTDigis_cfi::pset, theAlphaMaxPhi, theAlphaMaxTheta, theCleaner, theMaxAllowedHits, theUpdator, and usePairs.
|
override |
Destructor.
Definition at line 46 of file DTCombinatorialPatternReco.cc.
References theCleaner, and theUpdator.
|
inlineoverridevirtual |
return the algo name
Implements DTRecSegment2DBaseAlgo.
Definition at line 57 of file DTCombinatorialPatternReco.h.
References theAlgoName.
|
private |
Definition at line 289 of file DTCombinatorialPatternReco.cc.
References buildPointsCollection(), HLT_FULL_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 353 of file DTCombinatorialPatternReco.cc.
References HLT_FULL_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 92 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 408 of file DTCombinatorialPatternReco.cc.
References HLT_FULL_cff::cands.
Referenced by buildSegments().
|
private |
Definition at line 216 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 83 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 52 of file DTCombinatorialPatternReco.cc.
References buildSegments(), HLT_FULL_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 77 of file DTCombinatorialPatternReco.cc.
References get, DTSegmentUpdator::setES(), singleTopDQM_cfi::setup, theDTGeometry, and theUpdator.
Referenced by DTCombinatorialPatternReco4D::setES().
|
friend |
Definition at line 65 of file DTCombinatorialPatternReco.h.
|
private |
Definition at line 99 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 95 of file DTCombinatorialPatternReco.h.
Referenced by algoName().
|
private |
Definition at line 98 of file DTCombinatorialPatternReco.h.
Referenced by buildSegments(), and DTCombinatorialPatternReco().
|
private |
Definition at line 97 of file DTCombinatorialPatternReco.h.
Referenced by buildSegments(), and DTCombinatorialPatternReco().
|
private |
Definition at line 102 of file DTCombinatorialPatternReco.h.
Referenced by buildSegments(), DTCombinatorialPatternReco(), and ~DTCombinatorialPatternReco().
|
private |
Definition at line 104 of file DTCombinatorialPatternReco.h.
Referenced by initHits(), and setES().
|
private |
Definition at line 96 of file DTCombinatorialPatternReco.h.
Referenced by buildSegments(), and DTCombinatorialPatternReco().
|
private |
Definition at line 156 of file DTCombinatorialPatternReco.h.
Referenced by buildSegments(), and findCompatibleHits().
|
private |
Definition at line 101 of file DTCombinatorialPatternReco.h.
Referenced by buildPointsCollection(), DTCombinatorialPatternReco(), reconstruct(), setES(), and ~DTCombinatorialPatternReco().
|
private |
Definition at line 100 of file DTCombinatorialPatternReco.h.
Referenced by DTCombinatorialPatternReco(), and findCompatibleHits().