1 #ifndef DTSegment_DTCombinatorialPatternReco_h 2 #define DTSegment_DTCombinatorialPatternReco_h 15 #include <boost/unordered_set.hpp> 53 const std::vector<DTRecHit1DPair>&
hits)
override;
69 std::vector<std::shared_ptr<DTHitPairForFit>> initHits(
const DTSuperLayer* sl,
70 const std::vector<DTRecHit1DPair>& hits);
73 std::vector<DTSegmentCand*> buildSegments(
const DTSuperLayer* sl,
74 const std::vector<std::shared_ptr<DTHitPairForFit>>& hits);
77 std::vector<DTSegmentCand::AssPoint> findCompatibleHits(
const LocalPoint&
pos,
79 const std::vector<std::shared_ptr<DTHitPairForFit>>& hits);
84 bool checkDoubleCandidates(std::vector<DTSegmentCand*>& segs,
DTSegmentCand* seg);
88 void buildPointsCollection(std::vector<DTSegmentCand::AssPoint>&
points,
89 std::deque<std::shared_ptr<DTHitPairForFit>>& pointsNoLR,
109 typedef std::vector<short unsigned int>
values;
116 return (hash_ == other.
hash_) &&
122 boost::hash_combine(hash_, i);
123 values_.push_back(i);
127 size_t hash()
const {
return hash_; }
131 const_iterator
begin()
const {
return values_.begin(); }
132 const_iterator
end()
const {
return values_.end(); }
146 #endif // DTSegment_DTCombinatorialPatternReco_h
bool operator==(const TriedPattern &other) const
std::vector< short unsigned int > values
DTSegmentCleaner * theCleaner
DTSegmentUpdator * theUpdator
unsigned int theMaxAllowedHits
const_iterator begin() const
edm::ESHandle< DTGeometry > theDTGeometry
std::string algoName() const override
return the algo name
std::size_t hash_value(const DTCombinatorialPatternReco::TriedPattern &t)
void push_back(short unsigned int i)
push back value, and update the hash
const_iterator end() const
boost::unordered_set< TriedPattern > TriedPatterns
values::size_type size() const
values::const_iterator const_iterator
TriedPatterns theTriedPattern