Go to the documentation of this file. 1 #ifndef DTSegment_DTCombinatorialPatternReco_h
2 #define DTSegment_DTCombinatorialPatternReco_h
30 #include <unordered_set>
54 const std::vector<DTRecHit1DPair>&
hits)
override;
71 const std::vector<DTRecHit1DPair>&
hits);
90 std::deque<std::shared_ptr<DTHitPairForFit>>& pointsNoLR,
110 typedef std::vector<short unsigned int>
values;
153 typedef std::unordered_set<TriedPattern, TriedPattern::HashFunction>
TriedPatterns;
161 #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
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
size_t operator()(const TriedPattern &p) const
DTSegmentUpdator * theUpdator
~DTCombinatorialPatternReco() override
Destructor.
std::vector< short unsigned int > values
void hash_combine(std::size_t &seed, const T &v)
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)
std::unordered_set< TriedPattern, TriedPattern::HashFunction > TriedPatterns
values::const_iterator const_iterator