#include <DTMeantimerPatternReco.h>
Public Member Functions | |
virtual std::string | algoName () const |
return the algo name More... | |
DTMeantimerPatternReco (const edm::ParameterSet &pset) | |
Constructor. More... | |
virtual edm::OwnVector < DTSLRecSegment2D > | reconstruct (const DTSuperLayer *sl, const std::vector< DTRecHit1DPair > &hits) |
this function is called in the producer More... | |
virtual void | setES (const edm::EventSetup &setup) |
virtual | ~DTMeantimerPatternReco () |
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 44 of file DTMeantimerPatternReco.h.
DTMeantimerPatternReco::DTMeantimerPatternReco | ( | const edm::ParameterSet & | pset | ) |
Constructor.
Definition at line 39 of file DTMeantimerPatternReco.cc.
References debug, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), theAlphaMaxPhi, theAlphaMaxTheta, theCleaner, theMaxAllowedHits, theMaxChi2, and theUpdator.
|
virtual |
Destructor.
Definition at line 54 of file DTMeantimerPatternReco.cc.
References theCleaner, theFitter, and theUpdator.
|
private |
Definition at line 197 of file DTMeantimerPatternReco.cc.
References DTSegmentCand::add(), checkDoubleCandidates(), DTSegmentCand::chi2(), gather_cfg::cout, debug, fitWithT0(), geometryFilter(), DTSegmentCand::good(), DTEnums::Left, maxfound, DTSegmentCand::nHits(), DTSegmentCand::removeHit(), DTEnums::Right, and DTSegmentCand::t0().
Referenced by buildSegments().
|
inlinevirtual |
return the algo name
Implements DTRecSegment2DBaseAlgo.
Definition at line 62 of file DTMeantimerPatternReco.h.
References theAlgoName.
|
private |
Definition at line 104 of file DTMeantimerPatternReco.cc.
References addHits(), DTSegmentCleaner::clean(), gather_cfg::cout, debug, geometryFilter(), 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 359 of file DTMeantimerPatternReco.cc.
References DTSegmentCand::chi2ndof(), and DTSegmentCand::nHits().
Referenced by addHits().
|
private |
Definition at line 331 of file DTMeantimerPatternReco.cc.
References DTSegmentCand::chi2(), beam_dqm_sourceclient-live_cfg::chi2, DTSegmentUpdator::fit(), DTSegmentCand::nHits(), DTSegmentCand::t0(), theMaxChi2, and theUpdator.
Referenced by addHits().
|
private |
Definition at line 295 of file DTMeantimerPatternReco.cc.
References funct::abs(), gather_cfg::cout, DTLayerId::layer(), DTWireId::layerId(), DTSuperLayerId::superLayer(), DTLayerId::superlayerId(), and DTWireId::wire().
Referenced by addHits(), and buildSegments().
|
private |
Definition at line 92 of file DTMeantimerPatternReco.cc.
References mps_fire::result, and theDTGeometry.
Referenced by DTMeantimerPatternReco4D::buildPhiSuperSegmentsCandidates(), and reconstruct().
|
private |
Definition at line 373 of file DTMeantimerPatternReco.cc.
References gather_cfg::cout, i, DTEnums::Left, and cuy::mark.
|
virtual |
this function is called in the producer
Implements DTRecSegment2DBaseAlgo.
Definition at line 62 of file DTMeantimerPatternReco.cc.
References buildSegments(), objects.IsoTrackAnalyzer::candidates, gather_cfg::cout, debug, initHits(), edm::OwnVector< T, P >::push_back(), mps_fire::result, theUpdator, and DTSegmentUpdator::update().
Referenced by DTMeantimerPatternReco4D::reconstruct().
|
virtual |
Through this function the EventSetup is percolated to the objs which request it
Implements DTRecSegment2DBaseAlgo.
Definition at line 85 of file DTMeantimerPatternReco.cc.
References edm::EventSetup::get(), DTSegmentUpdator::setES(), theDTGeometry, and theUpdator.
Referenced by DTMeantimerPatternReco4D::setES().
|
friend |
Definition at line 73 of file DTMeantimerPatternReco.h.
|
private |
Definition at line 108 of file DTMeantimerPatternReco.h.
Referenced by addHits(), buildSegments(), DTMeantimerPatternReco(), and reconstruct().
|
private |
Definition at line 112 of file DTMeantimerPatternReco.h.
Referenced by addHits(), and buildSegments().
|
private |
Definition at line 103 of file DTMeantimerPatternReco.h.
Referenced by algoName().
|
private |
Definition at line 106 of file DTMeantimerPatternReco.h.
Referenced by buildSegments(), and DTMeantimerPatternReco().
|
private |
Definition at line 105 of file DTMeantimerPatternReco.h.
Referenced by buildSegments(), and DTMeantimerPatternReco().
|
private |
Definition at line 110 of file DTMeantimerPatternReco.h.
Referenced by buildSegments(), DTMeantimerPatternReco(), and ~DTMeantimerPatternReco().
|
private |
Definition at line 114 of file DTMeantimerPatternReco.h.
Referenced by initHits(), and setES().
|
private |
Definition at line 71 of file DTMeantimerPatternReco.h.
Referenced by ~DTMeantimerPatternReco().
|
private |
Definition at line 104 of file DTMeantimerPatternReco.h.
Referenced by buildSegments(), and DTMeantimerPatternReco().
|
private |
Definition at line 107 of file DTMeantimerPatternReco.h.
Referenced by DTMeantimerPatternReco(), and fitWithT0().
|
private |
Definition at line 109 of file DTMeantimerPatternReco.h.
Referenced by DTMeantimerPatternReco(), fitWithT0(), reconstruct(), setES(), and ~DTMeantimerPatternReco().