1 #ifndef DTSegment_DTSegmentUpdator_h
2 #define DTSegment_DTSegmentUpdator_h
89 const int step=2)
const;
92 void fit(
const std::vector<float>&
x,
93 const std::vector<float>&
y,
94 const std::vector<float>& sigy,
100 void Fit4Var(
const std::vector<float>& xfit,
101 const std::vector<float>& yfit,
102 const std::vector<int>& lfit,
103 const std::vector<double>& tfit,
105 float& cminf,
double& vminf,
106 double& chi2fit)
const;
114 #endif // DTSegment_DTSegmentUpdator_h
void Fit4Var(const std::vector< float > &xfit, const std::vector< float > &yfit, const std::vector< int > &lfit, const std::vector< double > &tfit, const int nptfit, float &cminf, double &vminf, double &chi2fit) const
void update(DTRecSegment4D *seg, const bool calcT0=false) const
recompute hits position and refit the segment4D
void updateHits(DTRecSegment2D *seg, GlobalPoint &gpos, GlobalVector &gdir, const int step=2) const
void calculateT0corr(DTRecSegment2D *seg) const
~DTSegmentUpdator()
Destructor.
edm::ESHandle< DTGeometry > theGeom
void setES(const edm::EventSetup &setup)
set the setup
bool fit(DTSegmentCand *seg) const
CLHEP::HepSymMatrix AlgebraicSymMatrix
DTRecHitBaseAlgo * theAlgo
void setup(std::vector< TH2F > &depth, std::string name, std::string units="")
DTSegmentUpdator(const edm::ParameterSet &config)
Constructor.