#include <DTMeantimerPatternReco.h>
Public Member Functions | |
std::string | algoName () const override |
return the algo name More... | |
DTMeantimerPatternReco (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 |
~DTMeantimerPatternReco () override | |
Destructor. More... | |
Public Member Functions inherited from DTRecSegment2DBaseAlgo | |
DTRecSegment2DBaseAlgo (const edm::ParameterSet &) | |
Constructor. More... | |
virtual | ~DTRecSegment2DBaseAlgo () |
Destructor. More... | |
Private Member Functions | |
void | addHits (DTSegmentCand *segCand, const std::vector< std::shared_ptr< DTHitPairForFit >> &hits, std::vector< DTSegmentCand * > &result) |
std::vector< DTSegmentCand * > | buildSegments (const DTSuperLayer *sl, const std::vector< std::shared_ptr< DTHitPairForFit >> &hits) |
bool | checkDoubleCandidates (std::vector< DTSegmentCand * > &segs, DTSegmentCand *seg) |
DTSegmentCand * | fitWithT0 (DTSegmentCand *seg, const bool fitdebug) |
bool | geometryFilter (const DTWireId first, const DTWireId second) const |
std::vector< std::shared_ptr< DTHitPairForFit > > | initHits (const DTSuperLayer *sl, const std::vector< DTRecHit1DPair > &hits) |
void | printPattern (std::vector< DTSegmentCand::AssPoint > &assHits, const DTHitPairForFit *hit) |
Private Attributes | |
bool | debug |
unsigned int | maxfound |
std::string | theAlgoName |
double | theAlphaMaxPhi |
double | theAlphaMaxTheta |
DTSegmentCleaner * | theCleaner |
edm::ESHandle< DTGeometry > | theDTGeometry |
DTLinearFit * | theFitter |
unsigned int | theMaxAllowedHits |
double | theMaxChi2 |
DTSegmentUpdator * | theUpdator |
Friends | |
class | DTMeantimerPatternReco4D |
Algo for reconstructing 2d segment in DT using a combinatorial approach with a T0 estimation produced along the way
Definition at line 43 of file DTMeantimerPatternReco.h.
DTMeantimerPatternReco::DTMeantimerPatternReco | ( | const edm::ParameterSet & | pset | ) |
Constructor.
Definition at line 38 of file DTMeantimerPatternReco.cc.
References debug, muonDTDigis_cfi::pset, theAlphaMaxPhi, theAlphaMaxTheta, theCleaner, theMaxAllowedHits, theMaxChi2, and theUpdator.
|
override |
Destructor.
Definition at line 50 of file DTMeantimerPatternReco.cc.
References theCleaner, theFitter, and theUpdator.
|
private |
Definition at line 186 of file DTMeantimerPatternReco.cc.
References DTSegmentCand::add(), checkDoubleCandidates(), DTSegmentCand::chi2(), gather_cfg::cout, debug, fitWithT0(), geometryFilter(), DTSegmentCand::good(), hfClusterShapes_cfi::hits, DTEnums::Left, maxfound, DTSegmentCand::nHits(), DTSegmentCand::removeHit(), mps_fire::result, groupFilesInBlocks::reverse, DTEnums::Right, DTSegmentCand::t0(), and funct::true.
Referenced by buildSegments().
|
inlineoverridevirtual |
return the algo name
Implements DTRecSegment2DBaseAlgo.
Definition at line 58 of file DTMeantimerPatternReco.h.
References theAlgoName.
|
private |
Definition at line 94 of file DTMeantimerPatternReco.cc.
References addHits(), DTSegmentCleaner::clean(), gather_cfg::cout, debug, geometryFilter(), hfClusterShapes_cfi::hits, DTSuperLayer::id(), hit::id, listHistos::IP, DTEnums::Left, maxfound, mps_fire::result, DTEnums::Right, theAlphaMaxPhi, theAlphaMaxTheta, theCleaner, theMaxAllowedHits, PV3DBase< T, PVType, FrameType >::theta(), and GeomDet::toGlobal().
Referenced by DTMeantimerPatternReco4D::buildPhiSuperSegmentsCandidates(), and reconstruct().
|
private |
Definition at line 360 of file DTMeantimerPatternReco.cc.
References HLT_FULL_cff::cands, DTSegmentCand::chi2ndof(), createfilelist::int, and DTSegmentCand::nHits().
Referenced by addHits().
|
private |
Definition at line 330 of file DTMeantimerPatternReco.cc.
References hltPixelTracks_cff::chi2, DTSegmentCand::chi2(), DTSegmentUpdator::fit(), DTSegmentCand::nHits(), DTSegmentCand::t0(), theMaxChi2, and theUpdator.
Referenced by addHits().
|
private |
Definition at line 294 of file DTMeantimerPatternReco.cc.
References funct::abs(), gather_cfg::cout, dqmdumpme::first, and edm::second().
Referenced by addHits(), and buildSegments().
|
private |
Definition at line 85 of file DTMeantimerPatternReco.cc.
References hfClusterShapes_cfi::hits, mps_fire::result, and theDTGeometry.
Referenced by DTMeantimerPatternReco4D::buildPhiSuperSegmentsCandidates(), and reconstruct().
|
private |
Definition at line 371 of file DTMeantimerPatternReco.cc.
References gather_cfg::cout, mps_fire::i, DTEnums::Left, and cuy::mark.
|
overridevirtual |
this function is called in the producer
Implements DTRecSegment2DBaseAlgo.
Definition at line 57 of file DTMeantimerPatternReco.cc.
References buildSegments(), HLT_FULL_cff::candidates, gather_cfg::cout, debug, initHits(), mps_fire::result, theUpdator, and DTSegmentUpdator::update().
Referenced by DTMeantimerPatternReco4D::reconstruct().
|
overridevirtual |
Through this function the EventSetup is percolated to the objs which request it
Implements DTRecSegment2DBaseAlgo.
Definition at line 79 of file DTMeantimerPatternReco.cc.
References get, DTSegmentUpdator::setES(), singleTopDQM_cfi::setup, theDTGeometry, and theUpdator.
Referenced by DTMeantimerPatternReco4D::setES().
|
friend |
Definition at line 68 of file DTMeantimerPatternReco.h.
|
private |
Definition at line 101 of file DTMeantimerPatternReco.h.
Referenced by addHits(), buildSegments(), DTMeantimerPatternReco(), runTauIdMVA.TauIDEmbedder::loadMVA_WPs_run2_2017(), reconstruct(), and runTauIdMVA.TauIDEmbedder::runTauID().
|
private |
Definition at line 105 of file DTMeantimerPatternReco.h.
Referenced by addHits(), and buildSegments().
|
private |
Definition at line 96 of file DTMeantimerPatternReco.h.
Referenced by algoName().
|
private |
Definition at line 99 of file DTMeantimerPatternReco.h.
Referenced by buildSegments(), and DTMeantimerPatternReco().
|
private |
Definition at line 98 of file DTMeantimerPatternReco.h.
Referenced by buildSegments(), and DTMeantimerPatternReco().
|
private |
Definition at line 103 of file DTMeantimerPatternReco.h.
Referenced by buildSegments(), DTMeantimerPatternReco(), and ~DTMeantimerPatternReco().
|
private |
Definition at line 107 of file DTMeantimerPatternReco.h.
Referenced by initHits(), and setES().
|
private |
Definition at line 66 of file DTMeantimerPatternReco.h.
Referenced by ~DTMeantimerPatternReco().
|
private |
Definition at line 97 of file DTMeantimerPatternReco.h.
Referenced by buildSegments(), and DTMeantimerPatternReco().
|
private |
Definition at line 100 of file DTMeantimerPatternReco.h.
Referenced by DTMeantimerPatternReco(), and fitWithT0().
|
private |
Definition at line 102 of file DTMeantimerPatternReco.h.
Referenced by DTMeantimerPatternReco(), fitWithT0(), reconstruct(), setES(), and ~DTMeantimerPatternReco().