Go to the documentation of this file. 1 #ifndef DTSegment_DTCombinatorialPatternReco_h
2 #define DTSegment_DTCombinatorialPatternReco_h
15 #include <boost/unordered_set.hpp>
53 const std::vector<DTRecHit1DPair>&
hits)
override;
70 const std::vector<DTRecHit1DPair>&
hits);
74 const std::vector<std::shared_ptr<DTHitPairForFit>>&
hits);
79 const std::vector<std::shared_ptr<DTHitPairForFit>>&
hits);
89 std::deque<std::shared_ptr<DTHitPairForFit>>& pointsNoLR,
109 typedef std::vector<short unsigned int>
values;
122 boost::hash_combine(
hash_,
i);
146 #endif // DTSegment_DTCombinatorialPatternReco_h
DTSegmentCleaner * theCleaner
edm::ESHandle< DTGeometry > theDTGeometry
std::size_t hash_value(const DTCombinatorialPatternReco::TriedPattern &t)
std::string algoName() const override
return the algo name
boost::unordered_set< TriedPattern > TriedPatterns
const_iterator end() const
bool checkDoubleCandidates(std::vector< DTSegmentCand * > &segs, DTSegmentCand *seg)
DTSegmentCand * buildBestSegment(std::vector< DTSegmentCand::AssPoint > &assHits, const DTSuperLayer *sl)
std::vector< std::shared_ptr< DTHitPairForFit > > initHits(const DTSuperLayer *sl, const std::vector< DTRecHit1DPair > &hits)
void buildPointsCollection(std::vector< DTSegmentCand::AssPoint > &points, std::deque< std::shared_ptr< DTHitPairForFit >> &pointsNoLR, std::vector< DTSegmentCand * > &candidates, const DTSuperLayer *sl)
unsigned int theMaxAllowedHits
bool operator==(const TriedPattern &other) const
DTCombinatorialPatternReco(const edm::ParameterSet &pset)
Constructor.
values::size_type size() const
const_iterator begin() const
TriedPatterns theTriedPattern
DTSegmentUpdator * theUpdator
~DTCombinatorialPatternReco() override
Destructor.
std::vector< short unsigned int > values
void setES(const edm::EventSetup &setup) override
std::vector< DTSegmentCand::AssPoint > findCompatibleHits(const LocalPoint &pos, const LocalVector &dir, const std::vector< std::shared_ptr< DTHitPairForFit >> &hits)
void push_back(short unsigned int i)
push back value, and update the hash
edm::OwnVector< DTSLRecSegment2D > reconstruct(const DTSuperLayer *sl, const std::vector< DTRecHit1DPair > &hits) override
this function is called in the producer
std::vector< DTSegmentCand * > buildSegments(const DTSuperLayer *sl, const std::vector< std::shared_ptr< DTHitPairForFit >> &hits)
values::const_iterator const_iterator