1 #ifndef DTSegment_DTCombinatorialPatternReco_h 2 #define DTSegment_DTCombinatorialPatternReco_h 15 #include <boost/unordered_set.hpp> 56 const std::vector<DTRecHit1DPair>&
hits);
73 std::vector<std::shared_ptr<DTHitPairForFit>> initHits(
const DTSuperLayer* sl,
74 const std::vector<DTRecHit1DPair>& hits);
77 std::vector<DTSegmentCand*> buildSegments(
const DTSuperLayer* sl,
78 const std::vector<std::shared_ptr<DTHitPairForFit>>& hits);
81 std::vector<DTSegmentCand::AssPoint> findCompatibleHits(
const LocalPoint&
pos,
83 const std::vector<std::shared_ptr<DTHitPairForFit>>& hits);
86 DTSegmentCand* buildBestSegment(std::vector<DTSegmentCand::AssPoint>& assHits,
89 bool checkDoubleCandidates(std::vector<DTSegmentCand*>& segs,
94 void buildPointsCollection(std::vector<DTSegmentCand::AssPoint>&
points,
95 std::deque<std::shared_ptr<DTHitPairForFit> >& pointsNoLR,
115 typedef std::vector<short unsigned int>
values;
122 return (hash_ == other.
hash_) &&
128 boost::hash_combine(hash_,i);
129 values_.push_back(i);
133 size_t hash()
const {
return hash_; }
137 const_iterator
begin()
const {
return values_.begin(); }
138 const_iterator
end()
const {
return values_.end(); }
151 #endif // DTSegment_DTCombinatorialPatternReco_h
virtual std::string algoName() const
return the algo name
bool operator==(const TriedPattern &other) const
std::vector< short unsigned int > values
DTSegmentCleaner * theCleaner
def setup(process, global_tag, zero_tesla=False)
DTSegmentUpdator * theUpdator
unsigned int theMaxAllowedHits
const_iterator begin() const
edm::ESHandle< DTGeometry > theDTGeometry
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