1 #ifndef DTSegment_DTCombinatorialExtendedPatternReco_h
2 #define DTSegment_DTCombinatorialExtendedPatternReco_h
57 const std::vector<DTRecHit1DPair>& hits);
67 void setClusters(
const std::vector<DTSLRecCluster>& clusters);
75 const std::vector<DTRecHit1DPair>& hits);
79 const std::vector<std::shared_ptr<DTHitPairForFit>>& hits);
84 const std::vector<std::shared_ptr<DTHitPairForFit>>& hits);
96 std::deque<std::shared_ptr<DTHitPairForFit>>& pointsNoLR,
97 std::vector<DTSegmentCand*>& candidates,
101 std::vector<DTSegmentExtendedCand*>
extendCandidates(std::vector<DTSegmentCand*>& candidates,
124 #endif // DTSegment_DTCombinatorialExtendedPatternReco_h
void setClusters(const std::vector< DTSLRecCluster > &clusters)
DTSegmentCleaner * theCleaner
std::vector< DTSegmentCand * > buildSegments(const DTSuperLayer *sl, const std::vector< std::shared_ptr< DTHitPairForFit >> &hits)
virtual edm::OwnVector< DTSLRecSegment2D > reconstruct(const DTSuperLayer *sl, const std::vector< DTRecHit1DPair > &hits)
this function is called in the producer
DTSegmentUpdator * theUpdator
virtual std::string algoName() const
return the algo name
DTCombinatorialExtendedPatternReco(const edm::ParameterSet &pset)
Constructor.
bool checkDoubleCandidates(std::vector< DTSegmentCand * > &segs, DTSegmentCand *seg)
virtual void setES(const edm::EventSetup &setup)
void buildPointsCollection(std::vector< DTSegmentCand::AssPoint > &points, std::deque< std::shared_ptr< DTHitPairForFit >> &pointsNoLR, std::vector< DTSegmentCand * > &candidates, const DTSuperLayer *sl)
std::vector< std::shared_ptr< DTHitPairForFit > > initHits(const DTSuperLayer *sl, const std::vector< DTRecHit1DPair > &hits)
virtual ~DTCombinatorialExtendedPatternReco()
Destructor.
std::vector< std::vector< int > > theTriedPattern
std::vector< DTSegmentExtendedCand * > extendCandidates(std::vector< DTSegmentCand * > &candidates, const DTSuperLayer *sl)
std::vector< DTSLRecCluster > theClusters
bool closeSL(const DTSuperLayerId &id1, const DTSuperLayerId &id2)
DTSegmentExtendedCand * buildBestSegment(std::vector< DTSegmentCand::AssPoint > &assHits, const DTSuperLayer *sl)
edm::ESHandle< DTGeometry > theDTGeometry
std::vector< DTSegmentCand::AssPoint > findCompatibleHits(const LocalPoint &pos, const LocalVector &dir, const std::vector< std::shared_ptr< DTHitPairForFit >> &hits)
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
unsigned int theMaxAllowedHits