1 #ifndef DTSegment_DTSegmentUpdator_h
2 #define DTSegment_DTSegmentUpdator_h
86 std::unique_ptr<DTRecHitBaseAlgo>
theAlgo;
96 void fit(
const std::vector<float>&
x,
97 const std::vector<float>&
y,
98 const std::vector<int>& lfit,
99 const std::vector<double>& dist,
100 const std::vector<float>& sigy,
107 const bool allow3par =
false,
108 const bool block3par =
false)
const;
117 #endif // DTSegment_DTSegmentUpdator_h
void rejectBadHits(DTChamberRecSegment2D *) const
DTSegmentUpdator(const edm::ParameterSet &config, edm::ConsumesCollector)
Constructor.
void updateHits(DTRecSegment2D *seg, GlobalPoint &gpos, GlobalVector &gdir, const int step=2) const
void calculateT0corr(DTRecSegment2D *seg) const
~DTSegmentUpdator()
Destructor.
edm::ESHandle< DTGeometry > theGeom
std::unique_ptr< DTRecHitBaseAlgo > theAlgo
void setES(const edm::EventSetup &setup)
set the setup
bool perform_delta_rejecting
std::unique_ptr< DTLinearFit > theFitter
tuple config
parse the configuration file
const edm::ESGetToken< DTGeometry, MuonGeometryRecord > theGeomToken
CLHEP::HepSymMatrix AlgebraicSymMatrix
void update(DTRecSegment4D *seg, const bool calcT0, bool allow3par) const
recompute hits position and refit the segment4D
bool fit(DTSegmentCand *seg, bool allow3par, const bool fitdebug) const