#include <DTCombinatorialPatternReco.h>
Classes | |
class | TriedPattern |
Public Types | |
typedef boost::unordered_set < TriedPattern > | TriedPatterns |
Public Member Functions | |
virtual std::string | algoName () const |
return the algo name More... | |
DTCombinatorialPatternReco (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 | ~DTCombinatorialPatternReco () |
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 | |
DTSegmentCand * | buildBestSegment (std::vector< AssPoint > &assHits, const DTSuperLayer *sl) |
void | buildPointsCollection (std::vector< AssPoint > &points, std::deque< DTHitPairForFit * > &pointsNoLR, std::vector< DTSegmentCand * > &candidates, const DTSuperLayer *sl) |
std::vector< DTSegmentCand * > | buildSegments (const DTSuperLayer *sl, const std::vector< DTHitPairForFit * > &hits) |
bool | checkDoubleCandidates (std::vector< DTSegmentCand * > &segs, DTSegmentCand *seg) |
std::vector< AssPoint > | findCompatibleHits (const LocalPoint &pos, const LocalVector &dir, const std::vector< DTHitPairForFit * > &hits) |
std::vector< DTHitPairForFit * > | initHits (const DTSuperLayer *sl, const std::vector< DTRecHit1DPair > &hits) |
Private Attributes | |
bool | debug |
std::string | theAlgoName |
double | theAlphaMaxPhi |
double | theAlphaMaxTheta |
DTSegmentCleaner * | theCleaner |
edm::ESHandle< DTGeometry > | theDTGeometry |
unsigned int | theMaxAllowedHits |
TriedPatterns | theTriedPattern |
DTSegmentUpdator * | theUpdator |
bool | usePairs |
Friends | |
class | DTCombinatorialPatternReco4D |
Algo for reconstructing 2d segment in DT using a combinatorial approach
Definition at line 40 of file DTCombinatorialPatternReco.h.
|
private |
Definition at line 69 of file DTCombinatorialPatternReco.h.
typedef boost::unordered_set<TriedPattern> DTCombinatorialPatternReco::TriedPatterns |
Definition at line 143 of file DTCombinatorialPatternReco.h.
DTCombinatorialPatternReco::DTCombinatorialPatternReco | ( | const edm::ParameterSet & | pset | ) |
Constructor.
Definition at line 34 of file DTCombinatorialPatternReco.cc.
References debug, edm::ParameterSet::getParameter(), edm::ParameterSet::getUntrackedParameter(), theAlphaMaxPhi, theAlphaMaxTheta, theCleaner, theMaxAllowedHits, theUpdator, and usePairs.
|
virtual |
Destructor.
Definition at line 48 of file DTCombinatorialPatternReco.cc.
References theCleaner, and theUpdator.
|
inlinevirtual |
return the algo name
Implements DTRecSegment2DBaseAlgo.
Definition at line 58 of file DTCombinatorialPatternReco.h.
References theAlgoName.
|
private |
Definition at line 316 of file DTCombinatorialPatternReco.cc.
References buildPointsCollection(), gather_cfg::cout, debug, and DTEnums::undefLR.
Referenced by buildSegments().
|
private |
build collection of compatible hits for L/R hits: the candidates is updated with the segment candidates found
Definition at line 382 of file DTCombinatorialPatternReco.cc.
References filterCSVwithJSON::copy, gather_cfg::cout, debug, DTSegmentUpdator::fit(), DTEnums::Left, DTEnums::Right, and theUpdator.
Referenced by buildBestSegment().
|
private |
get two hits in different layers and see if there are other / hits
Definition at line 104 of file DTCombinatorialPatternReco.cc.
References buildBestSegment(), checkDoubleCandidates(), DTSegmentCleaner::clean(), gather_cfg::cout, debug, findCompatibleHits(), DTSegmentCand::good(), DTSuperLayer::id(), listHistos::IP, DTEnums::Left, query::result, DTEnums::Right, theAlphaMaxPhi, theAlphaMaxTheta, theCleaner, theMaxAllowedHits, PV3DBase< T, PVType, FrameType >::theta(), theTriedPattern, GeomDet::toGlobal(), and csvLumiCalc::unit.
Referenced by DTCombinatorialPatternReco4D::buildPhiSuperSegmentsCandidates(), and reconstruct().
|
private |
Definition at line 439 of file DTCombinatorialPatternReco.cc.
Referenced by buildSegments().
|
private |
Definition at line 236 of file DTCombinatorialPatternReco.cc.
References DTCombinatorialPatternReco::TriedPattern::begin(), filterCSVwithJSON::copy, gather_cfg::cout, debug, DTCombinatorialPatternReco::TriedPattern::end(), DTEnums::Left, DTCombinatorialPatternReco::TriedPattern::push_back(), query::result, DTEnums::Right, theTriedPattern, DTEnums::undefLR, and usePairs.
Referenced by buildSegments().
|
private |
Definition at line 92 of file DTCombinatorialPatternReco.cc.
References query::result, and theDTGeometry.
Referenced by DTCombinatorialPatternReco4D::buildPhiSuperSegmentsCandidates(), and reconstruct().
|
virtual |
this function is called in the producer
Implements DTRecSegment2DBaseAlgo.
Definition at line 55 of file DTCombinatorialPatternReco.cc.
References edm::OwnVector< T, P >::back(), buildSegments(), gather_cfg::cout, debug, initHits(), edm::OwnVector< T, P >::push_back(), query::result, theUpdator, and DTSegmentUpdator::update().
Referenced by DTCombinatorialPatternReco4D::reconstruct().
|
virtual |
Through this function the EventSetup is percolated to the objs which request it
Implements DTRecSegment2DBaseAlgo.
Definition at line 85 of file DTCombinatorialPatternReco.cc.
References edm::EventSetup::get(), DTSegmentUpdator::setES(), theDTGeometry, and theUpdator.
Referenced by DTCombinatorialPatternReco4D::setES().
|
friend |
Definition at line 67 of file DTCombinatorialPatternReco.h.
|
private |
Definition at line 103 of file DTCombinatorialPatternReco.h.
Referenced by buildBestSegment(), buildPointsCollection(), buildSegments(), DTCombinatorialPatternReco(), findCompatibleHits(), and reconstruct().
|
private |
Definition at line 99 of file DTCombinatorialPatternReco.h.
Referenced by algoName().
|
private |
Definition at line 102 of file DTCombinatorialPatternReco.h.
Referenced by buildSegments(), and DTCombinatorialPatternReco().
|
private |
Definition at line 101 of file DTCombinatorialPatternReco.h.
Referenced by buildSegments(), and DTCombinatorialPatternReco().
|
private |
Definition at line 106 of file DTCombinatorialPatternReco.h.
Referenced by buildSegments(), DTCombinatorialPatternReco(), and ~DTCombinatorialPatternReco().
|
private |
Definition at line 108 of file DTCombinatorialPatternReco.h.
Referenced by initHits(), and setES().
|
private |
Definition at line 100 of file DTCombinatorialPatternReco.h.
Referenced by buildSegments(), and DTCombinatorialPatternReco().
|
private |
Definition at line 146 of file DTCombinatorialPatternReco.h.
Referenced by buildSegments(), and findCompatibleHits().
|
private |
Definition at line 105 of file DTCombinatorialPatternReco.h.
Referenced by buildPointsCollection(), DTCombinatorialPatternReco(), reconstruct(), setES(), and ~DTCombinatorialPatternReco().
|
private |
Definition at line 104 of file DTCombinatorialPatternReco.h.
Referenced by DTCombinatorialPatternReco(), and findCompatibleHits().