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