1 #ifndef DTSegment_DTMeantimerPatternReco_h
2 #define DTSegment_DTMeantimerPatternReco_h
56 const std::vector<DTRecHit1DPair>& hits);
70 typedef std::pair<DTHitPairForFit*, DTEnums::DTCellSide>
AssPoint;
74 const std::vector<DTRecHit1DPair>& hits);
78 const std::vector<DTHitPairForFit*>& hits);
82 std::vector<AssPoint>& assHits,
83 const std::vector<DTHitPairForFit*>& hits,
84 std::vector<DTSegmentCand*> &
result,
85 std::vector<AssPoint>& usedHits);
88 bool fitWithT0(
const std::vector<AssPoint> &assHits,
double &chi2,
double &t0_corr,
const bool fitdebug);
94 void rawFit(
double &
a,
double &
b,
const std::vector< std::pair<double,double> > &hits);
116 #endif // DTSegment_DTMeantimerPatternReco_h
std::pair< DTHitPairForFit *, DTEnums::DTCellSide > AssPoint
bool checkDoubleCandidates(std::vector< DTSegmentCand * > &segs, DTSegmentCand *seg)
virtual ~DTMeantimerPatternReco()
Destructor.
DTSegmentCleaner * theCleaner
virtual std::string algoName() const
return the algo name
U second(std::pair< T, U > const &p)
virtual void setES(const edm::EventSetup &setup)
unsigned int theMaxAllowedHits
std::vector< DTHitPairForFit * > initHits(const DTSuperLayer *sl, const std::vector< DTRecHit1DPair > &hits)
bool fitWithT0(const std::vector< AssPoint > &assHits, double &chi2, double &t0_corr, const bool fitdebug)
void rawFit(double &a, double &b, const std::vector< std::pair< double, double > > &hits)
std::vector< DTSegmentCand * > buildSegments(const DTSuperLayer *sl, const std::vector< DTHitPairForFit * > &hits)
bool geometryFilter(const DTWireId first, const DTWireId second) const
virtual edm::OwnVector< DTSLRecSegment2D > reconstruct(const DTSuperLayer *sl, const std::vector< DTRecHit1DPair > &hits)
this function is called in the producer
void addHits(const DTSuperLayer *sl, std::vector< AssPoint > &assHits, const std::vector< DTHitPairForFit * > &hits, std::vector< DTSegmentCand * > &result, std::vector< AssPoint > &usedHits)
DTMeantimerPatternReco(const edm::ParameterSet &pset)
Constructor.
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
edm::ESHandle< DTGeometry > theDTGeometry
DTSegmentUpdator * theUpdator