|
MyMarlinTPC
170316
|
Helper hit. More...
#include <GeneralBrokenLineInterfaceHelpers.h>
Public Member Functions | |
| gblHelperHit (const EVENT::TrackerHit &, const simpleHelix &, const bool, const bool, const int, const double) | |
| Construct helper hit from TrackerHit. More... | |
| gblHelperHit (const double) | |
| Construct helper hit for reference point. More... | |
| TMatrixD | getLocalToMeasurementProjection () const |
| Get projection from local to measurement system. More... | |
| TVectorD | getResiduals () const |
| Get residuals. More... | |
| TMatrixDSym | getPrecision () const |
| Get precision. More... | |
| double | getS () const |
| Get arc-length. More... | |
| double | getPhi () const |
| Get phi (direction )of seed track. More... | |
| double | getEScaled () const |
| Get scaled Edep. More... | |
| bool | isMeasurement () const |
| Get measurement flag. More... | |
| bool | isValid () const |
| Get flag for valid prediction. More... | |
| unsigned int | getNumGlobals () const |
| Get number of global derivatives. More... | |
| std::vector< int > | getGlobalLabels () const |
| Get labels for global derivatives. More... | |
| const TMatrixD & | getGlobalDerivatives () const |
| Get global derivatives. More... | |
Private Member Functions | |
| TMatrixD | _getL2M () |
| Get transformation matrix. More... | |
| TVectorD | _getRes () |
| Get residuals (measurement - prediction) in measurement system. More... | |
| TMatrixDSym | _getPrec (FloatVec) |
| Get precision ( = inverse variance) in measurement system. More... | |
| double | _calcLocalPhi (const EVENT::TrackerHit &, const bool, const double) |
| Calculate local phi of hit. More... | |
| double | _calcEScaled (const EVENT::TrackerHit &) |
| Calculate scaled Edep. More... | |
Private Attributes | |
| const bool | _isMeas |
| flag for measurements (else reference point) More... | |
| double | _hitPhi |
| phi of hit (with respect to module offset) More... | |
| bool | _isValid |
| hit has valid prediction from track More... | |
| double | _seedPhi |
| phi (XY direction) from seed track More... | |
| double | _seedLambda |
| lambda (ZS direction) from seed track More... | |
| double | _xyPred |
| XY residual (measurement - prediction) More... | |
| double | _zPred |
| Z residual (measurement - prediction) More... | |
| double | _s |
| arc-length More... | |
| double | _eScaled |
| Edep scaled to relative RowHeights. More... | |
| TMatrixD | _l2M |
| transformation from local to measurement system More... | |
| TVectorD | _res |
| residual vector More... | |
| TMatrixDSym | _prec |
| precision matrix More... | |
| unsigned int | _numGlobals |
| number of global derivatives More... | |
| std::vector< int > | _globalLab |
| labels for global derivatives More... | |
| TMatrixD | _globalDer |
| global derivatives More... | |
Helper hit.
Definition at line 27 of file GeneralBrokenLineInterfaceHelpers.h.
| marlintpc::gblHelperHit::gblHelperHit | ( | const EVENT::TrackerHit & | aHit, |
| const simpleHelix & | refHelix, | ||
| const bool | milleOut, | ||
| const bool | enMID, | ||
| const int | milleCalcMethod, | ||
| const double | phiSeed | ||
| ) |
Construct helper hit from TrackerHit.
| [in] | aHit | hit |
| [in] | refHelix | reference helix from seed track |
| [in] | milleOut | flag for output tp MP-II binary file |
| [in] | enMID | module ID is encoded in CellID0 |
| [in] | milleCalcMethod | selector for set of global derivatives |
| [in] | phiSeed | phi from seed |
Definition at line 55 of file GeneralBrokenLineInterfaceHelpers.cc.
References _globalDer, _globalLab, _hitPhi, _numGlobals, _seedLambda, _seedPhi, marlintpc::trackerAlcaCalculator::calcDr(), marlintpc::trackerAlcaCalculator::calcHitCharge(), marlintpc::trackerAlcaCalculator::calcModuleAlignment(), marlintpc::trackerAlcaCalculator::calcTrackDistortions(), marlintpc::trackerAlcaCalculator::getGlobalDerivatives(), marlintpc::trackerAlcaCalculator::getGlobalLabels(), and marlintpc::trackerAlcaCalculator::getNumGlobals().
| marlintpc::gblHelperHit::gblHelperHit | ( | const double | phi | ) |
Construct helper hit for reference point.
| [in] | phi | XY direction at reference point |
Definition at line 100 of file GeneralBrokenLineInterfaceHelpers.cc.
|
private |
Calculate scaled Edep.
| [in] | aHit | hit |
Definition at line 220 of file GeneralBrokenLineInterfaceHelpers.cc.
References _hitPhi, _seedLambda, and _seedPhi.
|
private |
Calculate local phi of hit.
| [in] | aHit | hit |
| [in] | encodedModuleID | module ID is encoded in CellID0 |
| [in] | phiTrack | phi from seed track |
Definition at line 170 of file GeneralBrokenLineInterfaceHelpers.cc.
|
private |
Get transformation matrix.
Define projection matrix from local (curvilinear) system to measurement system (Pm = dm/du).
Definition at line 111 of file GeneralBrokenLineInterfaceHelpers.cc.
References _hitPhi, _seedLambda, and _seedPhi.
|
private |
Get precision ( = inverse variance) in measurement system.
| [in] | covMatrix | covariance matrix of hit (position) (upper triangle) |
Definition at line 130 of file GeneralBrokenLineInterfaceHelpers.cc.
References _hitPhi, _seedLambda, and _seedPhi.
|
private |
Get residuals (measurement - prediction) in measurement system.
Definition at line 156 of file GeneralBrokenLineInterfaceHelpers.cc.
|
inline |
Get scaled Edep.
Definition at line 58 of file GeneralBrokenLineInterfaceHelpers.h.
References _eScaled.
Referenced by marlintpc::SimpleHelixGeneralBrokenLineInterfaceProcessor::processEvent(), and marlintpc::StepWiseHelixGeneralBrokenLineInterfaceProcessor::processEvent().
| const TMatrixD & marlintpc::gblHelperHit::getGlobalDerivatives | ( | ) | const |
Get global derivatives.
Definition at line 235 of file GeneralBrokenLineInterfaceHelpers.cc.
References _globalDer.
Referenced by isValid(), marlintpc::SimpleHelixGeneralBrokenLineInterfaceProcessor::processEvent(), and marlintpc::StepWiseHelixGeneralBrokenLineInterfaceProcessor::processEvent().
| std::vector< int > marlintpc::gblHelperHit::getGlobalLabels | ( | ) | const |
Get labels for global derivatives.
Definition at line 230 of file GeneralBrokenLineInterfaceHelpers.cc.
References _globalLab.
Referenced by isValid(), marlintpc::SimpleHelixGeneralBrokenLineInterfaceProcessor::processEvent(), and marlintpc::StepWiseHelixGeneralBrokenLineInterfaceProcessor::processEvent().
|
inline |
Get projection from local to measurement system.
Definition at line 33 of file GeneralBrokenLineInterfaceHelpers.h.
References _l2M.
Referenced by marlintpc::SimpleHelixGeneralBrokenLineInterfaceProcessor::processEvent(), and marlintpc::StepWiseHelixGeneralBrokenLineInterfaceProcessor::processEvent().
| unsigned int marlintpc::gblHelperHit::getNumGlobals | ( | ) | const |
Get number of global derivatives.
Definition at line 225 of file GeneralBrokenLineInterfaceHelpers.cc.
References _numGlobals.
Referenced by isValid(), marlintpc::SimpleHelixGeneralBrokenLineInterfaceProcessor::processEvent(), and marlintpc::StepWiseHelixGeneralBrokenLineInterfaceProcessor::processEvent().
|
inline |
Get phi (direction )of seed track.
Definition at line 53 of file GeneralBrokenLineInterfaceHelpers.h.
References _seedPhi.
Referenced by marlintpc::SimpleHelixGeneralBrokenLineInterfaceProcessor::processEvent().
|
inline |
Get precision.
Definition at line 43 of file GeneralBrokenLineInterfaceHelpers.h.
References _prec.
Referenced by marlintpc::SimpleHelixGeneralBrokenLineInterfaceProcessor::processEvent(), and marlintpc::StepWiseHelixGeneralBrokenLineInterfaceProcessor::processEvent().
|
inline |
Get residuals.
Definition at line 38 of file GeneralBrokenLineInterfaceHelpers.h.
References _res.
Referenced by marlintpc::SimpleHelixGeneralBrokenLineInterfaceProcessor::processEvent(), and marlintpc::StepWiseHelixGeneralBrokenLineInterfaceProcessor::processEvent().
|
inline |
Get arc-length.
Definition at line 48 of file GeneralBrokenLineInterfaceHelpers.h.
References _s.
Referenced by marlintpc::SimpleHelixGeneralBrokenLineInterfaceProcessor::processEvent().
|
inline |
Get measurement flag.
Definition at line 63 of file GeneralBrokenLineInterfaceHelpers.h.
References _isMeas.
Referenced by marlintpc::SimpleHelixGeneralBrokenLineInterfaceProcessor::processEvent(), and marlintpc::StepWiseHelixGeneralBrokenLineInterfaceProcessor::processEvent().
|
inline |
Get flag for valid prediction.
Definition at line 68 of file GeneralBrokenLineInterfaceHelpers.h.
References _isValid, getGlobalDerivatives(), getGlobalLabels(), and getNumGlobals().
Referenced by marlintpc::SimpleHelixGeneralBrokenLineInterfaceProcessor::processEvent(), and marlintpc::StepWiseHelixGeneralBrokenLineInterfaceProcessor::processEvent().
|
private |
Edep scaled to relative RowHeights.
Definition at line 86 of file GeneralBrokenLineInterfaceHelpers.h.
Referenced by getEScaled().
|
private |
global derivatives
Definition at line 98 of file GeneralBrokenLineInterfaceHelpers.h.
Referenced by gblHelperHit(), and getGlobalDerivatives().
|
private |
labels for global derivatives
Definition at line 97 of file GeneralBrokenLineInterfaceHelpers.h.
Referenced by gblHelperHit(), and getGlobalLabels().
|
private |
phi of hit (with respect to module offset)
Definition at line 79 of file GeneralBrokenLineInterfaceHelpers.h.
Referenced by _calcEScaled(), _getL2M(), _getPrec(), and gblHelperHit().
|
private |
flag for measurements (else reference point)
Definition at line 78 of file GeneralBrokenLineInterfaceHelpers.h.
Referenced by isMeasurement().
|
private |
hit has valid prediction from track
Definition at line 80 of file GeneralBrokenLineInterfaceHelpers.h.
Referenced by gblHelperHit(), and isValid().
|
private |
transformation from local to measurement system
Definition at line 87 of file GeneralBrokenLineInterfaceHelpers.h.
Referenced by getLocalToMeasurementProjection().
|
private |
number of global derivatives
Definition at line 96 of file GeneralBrokenLineInterfaceHelpers.h.
Referenced by gblHelperHit(), and getNumGlobals().
|
private |
precision matrix
Definition at line 91 of file GeneralBrokenLineInterfaceHelpers.h.
Referenced by getPrecision().
|
private |
residual vector
Definition at line 89 of file GeneralBrokenLineInterfaceHelpers.h.
Referenced by getResiduals().
|
private |
arc-length
Definition at line 85 of file GeneralBrokenLineInterfaceHelpers.h.
Referenced by gblHelperHit(), and getS().
|
private |
lambda (ZS direction) from seed track
Definition at line 82 of file GeneralBrokenLineInterfaceHelpers.h.
Referenced by _calcEScaled(), _getL2M(), _getPrec(), and gblHelperHit().
|
private |
phi (XY direction) from seed track
Definition at line 81 of file GeneralBrokenLineInterfaceHelpers.h.
Referenced by _calcEScaled(), _getL2M(), _getPrec(), gblHelperHit(), and getPhi().
|
private |
XY residual (measurement - prediction)
Definition at line 83 of file GeneralBrokenLineInterfaceHelpers.h.
Referenced by _getRes().
|
private |
Z residual (measurement - prediction)
Definition at line 84 of file GeneralBrokenLineInterfaceHelpers.h.
Referenced by _getRes().
1.8.13