#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 Types | |
typedef std::pair < DTHitPairForFit *, DTEnums::DTCellSide > | AssPoint |
Private Member Functions | |
void | addHits (const DTSuperLayer *sl, std::vector< AssPoint > &assHits, const std::vector< DTHitPairForFit * > &hits, std::vector< DTSegmentCand * > &result, std::vector< AssPoint > &usedHits) |
std::vector< DTSegmentCand * > | buildSegments (const DTSuperLayer *sl, const std::vector< DTHitPairForFit * > &hits) |
bool | checkDoubleCandidates (std::vector< DTSegmentCand * > &segs, DTSegmentCand *seg) |
bool | fitWithT0 (const std::vector< AssPoint > &assHits, double &chi2, double &t0_corr, const bool fitdebug) |
bool | geometryFilter (const DTWireId first, const DTWireId second) const |
std::vector< DTHitPairForFit * > | initHits (const DTSuperLayer *sl, const std::vector< DTRecHit1DPair > &hits) |
void | rawFit (double &a, double &b, const std::vector< std::pair< double, double > > &hits) |
Private Attributes | |
bool | debug |
unsigned int | maxfound |
std::string | theAlgoName |
double | theAlphaMaxPhi |
double | theAlphaMaxTheta |
DTSegmentCleaner * | theCleaner |
edm::ESHandle< DTGeometry > | theDTGeometry |
unsigned int | theMaxAllowedHits |
double | theMaxChi2 |
double | theMaxT0 |
double | theMinT0 |
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 41 of file DTMeantimerPatternReco.h.
|
private |
Definition at line 70 of file DTMeantimerPatternReco.h.
DTMeantimerPatternReco::DTMeantimerPatternReco | ( | const edm::ParameterSet & | pset | ) |
Constructor.
Definition at line 35 of file DTMeantimerPatternReco.cc.
References debug, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), theAlphaMaxPhi, theAlphaMaxTheta, theCleaner, theMaxAllowedHits, theMaxChi2, theMaxT0, theMinT0, and theUpdator.
|
virtual |
Destructor.
Definition at line 51 of file DTMeantimerPatternReco.cc.
References theCleaner, and theUpdator.
|
private |
Definition at line 208 of file DTMeantimerPatternReco.cc.
References checkDoubleCandidates(), gather_cfg::cout, debug, DTSegmentUpdator::fit(), fitWithT0(), geometryFilter(), hit::id, DTEnums::Left, maxfound, DTEnums::Right, DTSegmentCand::setChi2(), and theUpdator.
Referenced by buildSegments().
|
inlinevirtual |
return the algo name
Implements DTRecSegment2DBaseAlgo.
Definition at line 59 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 475 of file DTMeantimerPatternReco.cc.
References DTSegmentCand::chi2ndof(), and DTSegmentCand::nHits().
Referenced by addHits().
|
private |
Definition at line 337 of file DTMeantimerPatternReco.cc.
References a, b, gather_cfg::cout, debug, delta, DTEnums::Left, alignCSCRings::s, theMaxChi2, theMinT0, x, and detailsBasic3DVector::y.
Referenced by addHits().
|
private |
Definition at line 301 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 446 of file DTMeantimerPatternReco.cc.
References i, alignCSCRings::s, x, and detailsBasic3DVector::y.
|
virtual |
this function is called in the producer
Implements DTRecSegment2DBaseAlgo.
Definition at line 58 of file DTMeantimerPatternReco.cc.
References buildSegments(), 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 68 of file DTMeantimerPatternReco.h.
|
private |
Definition at line 108 of file DTMeantimerPatternReco.h.
Referenced by addHits(), buildSegments(), DTMeantimerPatternReco(), fitWithT0(), and reconstruct().
|
private |
Definition at line 112 of file DTMeantimerPatternReco.h.
Referenced by addHits(), and buildSegments().
|
private |
Definition at line 101 of file DTMeantimerPatternReco.h.
Referenced by algoName().
|
private |
Definition at line 104 of file DTMeantimerPatternReco.h.
Referenced by buildSegments(), and DTMeantimerPatternReco().
|
private |
Definition at line 103 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 102 of file DTMeantimerPatternReco.h.
Referenced by buildSegments(), and DTMeantimerPatternReco().
|
private |
Definition at line 105 of file DTMeantimerPatternReco.h.
Referenced by DTMeantimerPatternReco(), and fitWithT0().
|
private |
Definition at line 106 of file DTMeantimerPatternReco.h.
Referenced by 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 addHits(), DTMeantimerPatternReco(), reconstruct(), setES(), and ~DTMeantimerPatternReco().