#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 Member Functions | |
DTSegmentCand * | buildBestSegment (std::vector< DTSegmentCand::AssPoint > &assHits, const DTSuperLayer *sl) |
void | buildPointsCollection (std::vector< DTSegmentCand::AssPoint > &points, std::deque< std::shared_ptr< DTHitPairForFit > > &pointsNoLR, std::vector< DTSegmentCand * > &candidates, const DTSuperLayer *sl) |
std::vector< DTSegmentCand * > | buildSegments (const DTSuperLayer *sl, const std::vector< std::shared_ptr< DTHitPairForFit >> &hits) |
bool | checkDoubleCandidates (std::vector< DTSegmentCand * > &segs, DTSegmentCand *seg) |
std::vector < DTSegmentCand::AssPoint > | findCompatibleHits (const LocalPoint &pos, const LocalVector &dir, const std::vector< std::shared_ptr< DTHitPairForFit >> &hits) |
std::vector< std::shared_ptr < 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 41 of file DTCombinatorialPatternReco.h.
typedef boost::unordered_set<TriedPattern> DTCombinatorialPatternReco::TriedPatterns |
Definition at line 144 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 59 of file DTCombinatorialPatternReco.h.
References theAlgoName.
|
private |
Definition at line 313 of file DTCombinatorialPatternReco.cc.
References buildPointsCollection(), objects.IsoTrackAnalyzer::candidates, 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 379 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 101 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 436 of file DTCombinatorialPatternReco.cc.
Referenced by buildSegments().
|
private |
Definition at line 233 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 89 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(), objects.IsoTrackAnalyzer::candidates, 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 82 of file DTCombinatorialPatternReco.cc.
References edm::EventSetup::get(), DTSegmentUpdator::setES(), theDTGeometry, and theUpdator.
Referenced by DTCombinatorialPatternReco4D::setES().
|
friend |
Definition at line 68 of file DTCombinatorialPatternReco.h.
|
private |
Definition at line 104 of file DTCombinatorialPatternReco.h.
Referenced by buildBestSegment(), buildPointsCollection(), buildSegments(), DTCombinatorialPatternReco(), findCompatibleHits(), and reconstruct().
|
private |
Definition at line 100 of file DTCombinatorialPatternReco.h.
Referenced by algoName().
|
private |
Definition at line 103 of file DTCombinatorialPatternReco.h.
Referenced by buildSegments(), and DTCombinatorialPatternReco().
|
private |
Definition at line 102 of file DTCombinatorialPatternReco.h.
Referenced by buildSegments(), and DTCombinatorialPatternReco().
|
private |
Definition at line 107 of file DTCombinatorialPatternReco.h.
Referenced by buildSegments(), DTCombinatorialPatternReco(), and ~DTCombinatorialPatternReco().
|
private |
Definition at line 109 of file DTCombinatorialPatternReco.h.
Referenced by initHits(), and setES().
|
private |
Definition at line 101 of file DTCombinatorialPatternReco.h.
Referenced by buildSegments(), and DTCombinatorialPatternReco().
|
private |
Definition at line 147 of file DTCombinatorialPatternReco.h.
Referenced by buildSegments(), and findCompatibleHits().
|
private |
Definition at line 106 of file DTCombinatorialPatternReco.h.
Referenced by buildPointsCollection(), DTCombinatorialPatternReco(), reconstruct(), setES(), and ~DTCombinatorialPatternReco().
|
private |
Definition at line 105 of file DTCombinatorialPatternReco.h.
Referenced by DTCombinatorialPatternReco(), and findCompatibleHits().