#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 (const DTSuperLayer *sl, std::vector< DTSegmentCand::AssPoint > &assHits, 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) |
std::unique_ptr< DTSegmentCand > | fitWithT0 (const DTSuperLayer *sl, const std::vector< DTSegmentCand::AssPoint > &assHits, double &chi2, double &t0_corr, 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 200 of file DTMeantimerPatternReco.cc.
References checkDoubleCandidates(), gather_cfg::cout, debug, fitWithT0(), geometryFilter(), DTEnums::Left, maxfound, and DTEnums::Right.
Referenced by buildSegments().
|
inlinevirtual |
return the algo name
Implements DTRecSegment2DBaseAlgo.
Definition at line 62 of file DTMeantimerPatternReco.h.
References theAlgoName.
|
private |
Definition at line 105 of file DTMeantimerPatternReco.cc.
References addHits(), DTSegmentCleaner::clean(), gather_cfg::cout, debug, geometryFilter(), DTSuperLayer::id(), hit::id, listHistos::IP, DTEnums::Left, maxfound, query::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 362 of file DTMeantimerPatternReco.cc.
References DTSegmentCand::chi2ndof(), and DTSegmentCand::nHits().
Referenced by addHits().
|
private |
Definition at line 327 of file DTMeantimerPatternReco.cc.
References DTSegmentUpdator::fit(), theMaxChi2, and theUpdator.
Referenced by addHits().
|
private |
Definition at line 291 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 93 of file DTMeantimerPatternReco.cc.
References query::result, and theDTGeometry.
Referenced by DTMeantimerPatternReco4D::buildPhiSuperSegmentsCandidates(), and reconstruct().
|
private |
Definition at line 376 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(), query::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 86 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 114 of file DTMeantimerPatternReco.h.
Referenced by addHits(), buildSegments(), DTMeantimerPatternReco(), and reconstruct().
|
private |
Definition at line 118 of file DTMeantimerPatternReco.h.
Referenced by addHits(), and buildSegments().
|
private |
Definition at line 109 of file DTMeantimerPatternReco.h.
Referenced by algoName().
|
private |
Definition at line 112 of file DTMeantimerPatternReco.h.
Referenced by buildSegments(), and DTMeantimerPatternReco().
|
private |
Definition at line 111 of file DTMeantimerPatternReco.h.
Referenced by buildSegments(), and DTMeantimerPatternReco().
|
private |
Definition at line 116 of file DTMeantimerPatternReco.h.
Referenced by buildSegments(), DTMeantimerPatternReco(), and ~DTMeantimerPatternReco().
|
private |
Definition at line 120 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 110 of file DTMeantimerPatternReco.h.
Referenced by buildSegments(), and DTMeantimerPatternReco().
|
private |
Definition at line 113 of file DTMeantimerPatternReco.h.
Referenced by DTMeantimerPatternReco(), and fitWithT0().
|
private |
Definition at line 115 of file DTMeantimerPatternReco.h.
Referenced by DTMeantimerPatternReco(), fitWithT0(), reconstruct(), setES(), and ~DTMeantimerPatternReco().