#include <DTSegmentUpdator.h>
|
void | fit (const std::vector< float > &x, const std::vector< float > &y, const std::vector< int > &lfit, const std::vector< double > &dist, const std::vector< float > &sigy, LocalPoint &pos, LocalVector &dir, float &cminf, float &vminf, AlgebraicSymMatrix &covMat, double &chi2, const bool allow3par=false, const bool block3par=false) const |
| interface to LinearFit More...
|
|
void | rejectBadHits (DTChamberRecSegment2D *) const |
|
void | updateHits (DTRecSegment2D *seg, GlobalPoint &gpos, GlobalVector &gdir, const int step=2) const |
|
Perform linear fit and hits update for DT segments. Update a segment by improving the hits thanks to the refined knowledge of impact angle and position (also along the wire) and perform linear fit on improved hits.
- Author
- Stefano Lacaprara - INFN Legnaro stefa.nosp@m.no.l.nosp@m.acapr.nosp@m.ara@.nosp@m.pd.in.nosp@m.fn.i.nosp@m.t
-
Riccardo Bellan - INFN TO ricca.nosp@m.rdo..nosp@m.bella.nosp@m.n@ce.nosp@m.rn.ch
-
M.Meneghelli - INFN BO marco.nosp@m..men.nosp@m.eghel.nosp@m.li@c.nosp@m.ern.c.nosp@m.h
Definition at line 40 of file DTSegmentUpdator.h.
DTSegmentUpdator::~DTSegmentUpdator |
( |
| ) |
|
bool DTSegmentUpdator::fit |
( |
DTSegmentCand * |
seg, |
|
|
bool |
allow3par, |
|
|
const bool |
fitdebug |
|
) |
| const |
do the linear fit on the hits of the segment candidate and update it. Returns false if the segment candidate is not good()
Definition at line 215 of file DTSegmentUpdator.cc.
void DTSegmentUpdator::fit |
( |
DTRecSegment2D * |
seg, |
|
|
bool |
allow3par, |
|
|
bool |
block3par |
|
) |
| const |
ditto for true segment: since the fit is applied on a true segment, by definition the segment is "good", while it's not the case for just candidates
Definition at line 279 of file DTSegmentUpdator.cc.
void DTSegmentUpdator::fit |
( |
DTRecSegment4D * |
seg, |
|
|
bool |
allow3par |
|
) |
| const |
ditto for true segment 4D, the fit is done on either projection and then the 4D direction and position is built. Since the fit is applied on a true segment, by definition the segment is "good", while it's not the case for just candidates
Definition at line 112 of file DTSegmentUpdator.cc.
void DTSegmentUpdator::fit |
( |
const std::vector< float > & |
x, |
|
|
const std::vector< float > & |
y, |
|
|
const std::vector< int > & |
lfit, |
|
|
const std::vector< double > & |
dist, |
|
|
const std::vector< float > & |
sigy, |
|
|
LocalPoint & |
pos, |
|
|
LocalVector & |
dir, |
|
|
float & |
cminf, |
|
|
float & |
vminf, |
|
|
AlgebraicSymMatrix & |
covMat, |
|
|
double & |
chi2, |
|
|
const bool |
allow3par = false , |
|
|
const bool |
block3par = false |
|
) |
| const |
|
private |
void DTSegmentUpdator::update |
( |
DTRecSegment4D * |
seg, |
|
|
const bool |
calcT0, |
|
|
bool |
allow3par |
|
) |
| const |
void DTSegmentUpdator::update |
( |
DTRecSegment2D * |
seg, |
|
|
bool |
allow3par |
|
) |
| const |
bool DTSegmentUpdator::debug |
|
private |
double DTSegmentUpdator::intime_cut |
|
private |
bool DTSegmentUpdator::perform_delta_rejecting |
|
private |
double DTSegmentUpdator::T0_hit_resolution |
|
private |
bool DTSegmentUpdator::vdrift_4parfit |
|
private |