#include <DTMeantimerPatternReco.h>
Public Member Functions | |
std::string | algoName () const override |
return the algo name More... | |
DTMeantimerPatternReco (const edm::ParameterSet &pset, edm::ConsumesCollector cc) | |
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 |
const edm::ESGetToken< DTGeometry, MuonGeometryRecord > | theDTGeometryToken |
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 46 of file DTMeantimerPatternReco.h.
DTMeantimerPatternReco::DTMeantimerPatternReco | ( | const edm::ParameterSet & | pset, |
edm::ConsumesCollector | cc | ||
) |
Constructor.
Definition at line 39 of file DTMeantimerPatternReco.cc.
References debug, muonDTDigis_cfi::pset, theAlphaMaxPhi, theAlphaMaxTheta, theCleaner, theMaxAllowedHits, theMaxChi2, and theUpdator.
|
override |
Destructor.
Definition at line 54 of file DTMeantimerPatternReco.cc.
References theCleaner, theFitter, and theUpdator.
|
private |
Definition at line 190 of file DTMeantimerPatternReco.cc.
References DTSegmentCand::add(), checkDoubleCandidates(), DTSegmentCand::chi2(), gather_cfg::cout, debug, fitWithT0(), geometryFilter(), DTSegmentCand::good(), hfClusterShapes_cfi::hits, DTEnums::Left, maxfound, nHits, 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 61 of file DTMeantimerPatternReco.h.
References theAlgoName.
|
private |
Definition at line 98 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 364 of file DTMeantimerPatternReco.cc.
References HLT_2022v11_cff::cands, DTSegmentCand::chi2ndof(), createfilelist::int, and DTSegmentCand::nHits().
Referenced by addHits().
|
private |
Definition at line 334 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 298 of file DTMeantimerPatternReco.cc.
References funct::abs(), gather_cfg::cout, first, and edm::second().
Referenced by addHits(), and buildSegments().
|
private |
Definition at line 89 of file DTMeantimerPatternReco.cc.
References hfClusterShapes_cfi::hits, mps_fire::result, and theDTGeometry.
Referenced by DTMeantimerPatternReco4D::buildPhiSuperSegmentsCandidates(), and reconstruct().
|
private |
Definition at line 375 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 61 of file DTMeantimerPatternReco.cc.
References buildSegments(), HLT_2022v11_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 83 of file DTMeantimerPatternReco.cc.
References DTSegmentUpdator::setES(), singleTopDQM_cfi::setup, theDTGeometry, theDTGeometryToken, and theUpdator.
Referenced by DTMeantimerPatternReco4D::setES().
|
friend |
Definition at line 71 of file DTMeantimerPatternReco.h.
|
private |
Definition at line 104 of file DTMeantimerPatternReco.h.
Referenced by addHits(), buildSegments(), DTMeantimerPatternReco(), runTauIdMVA.TauIDEmbedder::loadMVA_WPs_run2_2017(), reconstruct(), and runTauIdMVA.TauIDEmbedder::runTauID().
|
private |
Definition at line 108 of file DTMeantimerPatternReco.h.
Referenced by addHits(), and buildSegments().
|
private |
Definition at line 99 of file DTMeantimerPatternReco.h.
Referenced by algoName().
|
private |
Definition at line 102 of file DTMeantimerPatternReco.h.
Referenced by buildSegments(), and DTMeantimerPatternReco().
|
private |
Definition at line 101 of file DTMeantimerPatternReco.h.
Referenced by buildSegments(), and DTMeantimerPatternReco().
|
private |
Definition at line 106 of file DTMeantimerPatternReco.h.
Referenced by buildSegments(), DTMeantimerPatternReco(), and ~DTMeantimerPatternReco().
|
private |
Definition at line 110 of file DTMeantimerPatternReco.h.
Referenced by initHits(), and setES().
|
private |
Definition at line 111 of file DTMeantimerPatternReco.h.
Referenced by setES().
|
private |
Definition at line 69 of file DTMeantimerPatternReco.h.
Referenced by ~DTMeantimerPatternReco().
|
private |
Definition at line 100 of file DTMeantimerPatternReco.h.
Referenced by buildSegments(), and DTMeantimerPatternReco().
|
private |
Definition at line 103 of file DTMeantimerPatternReco.h.
Referenced by DTMeantimerPatternReco(), and fitWithT0().
|
private |
Definition at line 105 of file DTMeantimerPatternReco.h.
Referenced by DTMeantimerPatternReco(), fitWithT0(), reconstruct(), setES(), and ~DTMeantimerPatternReco().