50 &recHits,
bool hitsAreReverse,
57 (materialEffects >= brokenLinesCoarse) ? 1 : refTsos.localParameters().mixedFormatVector().kSize,
58 (useBeamSpot ==
true) ? recHits.
size()+1 : recHits.
size(),
59 (materialEffects >= brokenLinesCoarse) ?
60 2*((useBeamSpot ==
true) ? recHits.
size()+1 : recHits.
size()) :
61 ( (materialEffects == breakPoints) ? 2*((useBeamSpot ==
true) ? recHits.
size()+1 : recHits.
size())-2 : 0) ,
62 (materialEffects >= brokenLinesCoarse) ?
63 2*((useBeamSpot ==
true) ? recHits.
size()+1 : recHits.
size())-4 :
64 ( (materialEffects == breakPoints) ? 2*((useBeamSpot ==
true) ? recHits.
size()+1 : recHits.
size())-2 : 0) )
71 fwdRecHits.reserve(recHits.size());
72 for (TransientTrackingRecHit::ConstRecHitContainer::const_reverse_iterator it=recHits.rbegin();
73 it != recHits.rend(); ++it) {
74 fwdRecHits.push_back(*it);
78 useBeamSpot, beamSpot);
82 useBeamSpot, beamSpot);
92 (materialEffects >= brokenLinesCoarse) ? 1 : nPar,
94 (materialEffects >= brokenLinesCoarse) ? 2*nHits : ( (materialEffects == breakPoints) ? 2*nHits-2 : 0 ),
95 (materialEffects >= brokenLinesCoarse) ? 2*nHits-4 : ( (materialEffects == breakPoints) ? 2*nHits-2 : 0 ) )
113 std::auto_ptr<MaterialEffectsUpdator> aMaterialEffectsUpdator
115 if (!aMaterialEffectsUpdator.get())
return false;
118 std::vector<AlgebraicMatrix> allJacobians;
124 std::vector<AlgebraicSymMatrix> allCurvatureChanges;
129 std::vector<AlgebraicMatrix> allProjections;
131 std::vector<AlgebraicSymMatrix> allDeltaParameterCovs;
135 std::vector<AlgebraicMatrix> allLocalToCurv;
137 std::vector<double> allSteps;
139 std::vector<AlgebraicMatrix> allCurvlinJacobians;
144 unsigned int iRow = 0;
154 if (!tsctbl.isValid()) {
155 edm::LogError(
"Alignment") <<
"@SUB=ReferenceTrajectory::construct"
156 <<
"TrajectoryStateClostestToBeamLine invalid. Skip track.";
165 std::pair< TrajectoryStateOnSurface, double > tsosWithPath =
168 if (!tsosWithPath.first.isValid())
return false;
182 allRecHits.push_back(bsRecHit);
187 TransientTrackingRecHit::ConstRecHitContainer::const_iterator itRecHit;
188 for ( itRecHit = recHits.begin(); itRecHit != recHits.end(); ++itRecHit ) {
190 allRecHits.push_back(hitPtr);
193 for ( itRecHit = allRecHits.begin(); itRecHit != allRecHits.end(); ++itRecHit ) {
203 allJacobians.push_back(fullJacobian);
206 const AlgebraicMatrix localToCurvilinear = asHepMatrix<5>(startTrafo.jacobian());
211 allLocalToCurv.push_back(localToCurvilinear);
212 allSteps.push_back(0.);
213 allCurvlinJacobians.push_back(firstCurvlinJacobian);
219 double nextStep = 0.;
222 if (!this->
propagate(previousHitPtr->det()->surface(), previousTsos,
223 hitPtr->det()->
surface(), nextTsos,
224 nextJacobian, nextCurvlinJacobian, nextStep, propDir, magField)) {
228 allJacobians.push_back(nextJacobian);
229 fullJacobian = nextJacobian * previousChangeInCurvature * fullJacobian;
233 const AlgebraicMatrix localToCurvilinear = asHepMatrix<5>(startTrafo.jacobian());
234 allLocalToCurv.push_back(localToCurvilinear);
235 if (nextStep == 0.) {
236 edm::LogError(
"Alignment") <<
"@SUB=ReferenceTrajectory::construct"
237 <<
"step 0. from id " << previousHitPtr->geographicalId()
238 <<
" to " << hitPtr->det()->geographicalId() <<
".";
241 edm::LogError(
"Alignment") <<
"@SUB=ReferenceTrajectory::construct" <<
"Skip track.";
245 allSteps.push_back(nextStep);
246 allCurvlinJacobians.push_back(nextCurvlinJacobian);
256 if ( !updatedTsos.isValid() )
return false;
258 if (
theTsosVec.back().localParameters().charge() )
261 /
theTsosVec.back().localParameters().signedInverseMomentum();
265 allDeltaParameterCovs.push_back( asHepMatrix<5>(updatedTsos.localError().matrix()) );
266 allCurvatureChanges.push_back(previousChangeInCurvature);
272 previousHitPtr = hitPtr;
288 switch (materialEffects) {
295 allDeltaParameterCovs);
299 allDeltaParameterCovs, allLocalToCurv);
309 if (!msOK)
return false;
332 switch (materialEffects) {
369 const std::pair<TrajectoryStateOnSurface, double> tsosWithPath =
373 if (!tsosWithPath.first.isValid())
return false;
375 nextStep = tsosWithPath.second;
379 tsosWithPath.first.globalPosition(),
380 tsosWithPath.first.globalMomentum(),
381 tsosWithPath.second);
382 const AlgebraicMatrix curvilinearJacobian = asHepMatrix<5,5>(aJacobian.jacobian());
386 const AlgebraicMatrix localToCurvilinear = asHepMatrix<5>(startTrafo.jacobian());
390 const AlgebraicMatrix curvilinearToLocal = asHepMatrix<5>(endTrafo.jacobian());
394 newCurvlinJacobian = curvilinearJacobian;
395 newJacobian = curvilinearToLocal * curvilinearJacobian * localToCurvilinear;
396 newTsos = tsosWithPath.first;
415 auto newHitPtr = hitPtr;
419 const LocalPoint localMeasurement = newHitPtr->localPosition();
420 const LocalError localMeasurementCov = newHitPtr->localPositionError();
473 const std::vector<AlgebraicMatrix> &allProjections,
474 const std::vector<AlgebraicSymMatrix> &allCurvatureChanges,
475 const std::vector<AlgebraicSymMatrix> &allDeltaParameterCovs)
494 for (
unsigned int k = 1;
k < allJacobians.size(); ++
k) {
496 paramMaterialEffectsCov = paramMaterialEffectsCov.similarity(allJacobians[
k]);
499 deltaMaterialEffectsCov = paramMaterialEffectsCov.similarity(allProjections[k]);
506 paramMaterialEffectsCov += allDeltaParameterCovs[
k];
508 tempParameterCov = paramMaterialEffectsCov;
511 for (
unsigned int l = k+1;
l < allJacobians.size(); ++
l) {
512 tempParameterCov = allJacobians[
l] * allCurvatureChanges[
l] * tempParameterCov;
513 tempMeasurementCov = allProjections[
l] * tempParameterCov * allProjections[
k].T();
530 paramMaterialEffectsCov = paramMaterialEffectsCov.similarity(allCurvatureChanges[k]);
541 const std::vector<AlgebraicMatrix> &allProjections,
542 const std::vector<AlgebraicSymMatrix> &allCurvatureChanges,
543 const std::vector<AlgebraicSymMatrix> &allDeltaParameterCovs,
544 const std::vector<AlgebraicMatrix> &allLocalToCurv)
548 int offsetMeas =
nMeasPerHit * allJacobians.size();
553 MSprojection[0][1] = 1;
554 MSprojection[1][2] = 1;
559 for (
unsigned int k = 1;
k < allJacobians.size(); ++
k) {
562 tempJacobian = allJacobians[
k] * allCurvatureChanges[
k];
563 tempMSCov = allDeltaParameterCovs[
k-1].similarity(allLocalToCurv[
k-1]);
564 tempMSCovProj = tempMSCov.similarity(MSprojection);
570 tempMSJacProj = (allProjections[
k] * ( tempJacobian * allLocalToCurv[
k-1].inverse(ierr) )) * MSprojection.T();
572 edm::LogError(
"Alignment") <<
"@SUB=ReferenceTrajectory::addMaterialEffectsBp"
573 <<
"Inversion 1 for break points failed: " << ierr;
581 for (
unsigned int l =
k+1;
l < allJacobians.size(); ++
l) {
584 tempJacobian = allJacobians[
l] * allCurvatureChanges[
l] * tempJacobian;
585 tempMSJacProj = (allProjections[
l] * ( tempJacobian * allLocalToCurv[
k-1].inverse(ierr) )) * MSprojection.T();
587 edm::LogError(
"Alignment") <<
"@SUB=ReferenceTrajectory::addMaterialEffectsBp"
588 <<
"Inversion 2 for break points failed: " << ierr;
606 const std::vector<AlgebraicMatrix> &allProjections,
607 const std::vector<AlgebraicSymMatrix> &allCurvatureChanges,
608 const std::vector<AlgebraicSymMatrix> &allDeltaParameterCovs,
609 const std::vector<AlgebraicMatrix> &allLocalToCurv,
621 int offsetMeas =
nMeasPerHit*allCurvlinJacobians.size();
625 double cosLambda =
sqrt((p.
x()*p.
x()+p.
y()*p.
y())/(p.
x()*p.
x()+p.
y()*p.
y()+p.
z()*p.
z()));
629 QbypToCurv[0][0] = 1.;
631 AngleToCurv[1][1] = 1.;
632 AngleToCurv[2][0] = 1./cosLambda;
634 CurvToAngle[1][1] = 1.;
635 CurvToAngle[0][2] = cosLambda;
637 OffsetToCurv[3][0] = 1.;
638 OffsetToCurv[4][1] = 1.;
640 CurvToOffset[0][3] = 1.;
641 CurvToOffset[1][4] = 1.;
645 TrajToQbyp[0][0] = 1.;
647 TrajToOff1[0][1] = 1.;
648 TrajToOff1[1][2] = 1.;
650 TrajToOff2[0][3] = 1.;
651 TrajToOff2[1][4] = 1.;
654 AlgebraicMatrix JacCurvToOffsetL, JacOffsetToOffsetL, JacAngleToOffsetL, JacQbypToOffsetL, JacOffsetToAngleL;
655 AlgebraicMatrix JacCurvToOffsetN, JacOffsetToOffsetN, JacAngleToOffsetN, JacQbypToOffsetN, JacOffsetToAngleN;
659 JacCurvToOffsetN = CurvToOffset * allCurvlinJacobians[1];
660 JacOffsetToOffsetN = JacCurvToOffsetN * OffsetToCurv;
661 JacAngleToOffsetN = JacCurvToOffsetN * AngleToCurv;
662 JacQbypToOffsetN = JacCurvToOffsetN * QbypToCurv;
663 JacOffsetToAngleN = JacAngleToOffsetN.inverse(ierr);
665 edm::LogError(
"Alignment") <<
"@SUB=ReferenceTrajectory::addMaterialEffectsBrl"
666 <<
"Inversion 1 for fine broken lines failed: " << ierr;
669 JacOffsetToAngleC = -(JacOffsetToAngleN * JacOffsetToOffsetN);
670 JacQbypToAngleC = -(JacOffsetToAngleN * JacQbypToOffsetN);
672 AlgebraicMatrix JacTrajToAngle = JacQbypToAngleC * TrajToQbyp + JacOffsetToAngleC * TrajToOff1 + JacOffsetToAngleN * TrajToOff2;
677 edm::LogError(
"Alignment") <<
"@SUB=ReferenceTrajectory::addMaterialEffectsBrl"
678 <<
"Inversion 2 for fine broken lines failed: " << ierr;
689 for (
unsigned int k = 0;
k < allCurvlinJacobians.size(); ++
k) {
691 JacOffsetToMeas = (allProjections[
k] * allLocalToCurv[
k].inverse(ierr) ) * OffsetToCurv;
693 edm::LogError(
"Alignment") <<
"@SUB=ReferenceTrajectory::addMaterialEffectsBrl"
694 <<
"Inversion 3 for fine broken lines failed: " << ierr;
704 for (
unsigned int k = 1;
k < allCurvlinJacobians.size()-1; ++
k) {
711 tempMSCov = allDeltaParameterCovs[
k].similarity(allLocalToCurv[
k]);
712 tempMSCovProj = tempMSCov.similarity(CurvToAngle);
717 tempJacL = allCurvlinJacobians[
k] * tempJacobian;
718 JacCurvToOffsetL = CurvToOffset * tempJacL.inverse(ierr);
721 edm::LogError(
"Alignment") <<
"@SUB=ReferenceTrajectory::addMaterialEffectsBrl"
722 <<
"Inversion 4 for fine broken lines failed: " << ierr;
725 JacOffsetToOffsetL = JacCurvToOffsetL * OffsetToCurv;
726 JacAngleToOffsetL = JacCurvToOffsetL * AngleToCurv;
727 JacQbypToOffsetL = JacCurvToOffsetL * QbypToCurv;
728 JacOffsetToAngleL =-JacAngleToOffsetL.inverse(ierr);
730 edm::LogError(
"Alignment") <<
"@SUB=ReferenceTrajectory::addMaterialEffectsBrl"
731 <<
"Inversion 5 for fine broken lines failed: " << ierr;
734 tempJacobian = tempJacobian * allCurvatureChanges[
k];
735 tempJacN = allCurvlinJacobians[
n] * tempJacobian;
736 JacCurvToOffsetN = CurvToOffset * tempJacN;
737 JacOffsetToOffsetN = JacCurvToOffsetN * OffsetToCurv;
738 JacAngleToOffsetN = JacCurvToOffsetN * AngleToCurv;
739 JacQbypToOffsetN = JacCurvToOffsetN * QbypToCurv;
740 JacOffsetToAngleN = JacAngleToOffsetN.inverse(ierr);
742 edm::LogError(
"Alignment") <<
"@SUB=ReferenceTrajectory::addMaterialEffectsBrl"
743 <<
"Inversion 6 for fine broken lines failed: " << ierr;
746 JacOffsetToAngleC = -(JacOffsetToAngleL * JacOffsetToOffsetL + JacOffsetToAngleN * JacOffsetToOffsetN);
747 JacQbypToAngleC = -(JacOffsetToAngleL * JacQbypToOffsetL + JacOffsetToAngleN * JacQbypToOffsetN);
777 const std::vector<AlgebraicSymMatrix> &allDeltaParameterCovs,
778 const std::vector<AlgebraicMatrix> &allLocalToCurv,
779 const std::vector<double> &allSteps,
781 const double minStep)
793 double cosLambda =
sqrt((p.
x()*p.
x()+p.
y()*p.
y())/(p.
x()*p.
x()+p.
y()*p.
y()+p.
z()*p.
z()));
797 double delta (1.0/allSteps[1]);
808 edm::LogError(
"Alignment") <<
"@SUB=ReferenceTrajectory::addMaterialEffectsBrl"
809 <<
"Inversion 1 for coarse broken lines failed: " << ierr;
814 CurvToAngle[1][1] = 1.;
815 CurvToAngle[0][2] = cosLambda;
817 OffsetToCurv[3][0] = 1.;
818 OffsetToCurv[4][1] = 1.;
825 std::vector<unsigned int>
first(allSteps.size());
826 std::vector<unsigned int>
last (allSteps.size());
827 std::vector<unsigned int> plane(allSteps.size());
828 std::vector<double> sPlane(allSteps.size());
829 unsigned int nPlane = 0;
832 for (
unsigned int k = 1;
k < allSteps.size(); ++
k) {
834 if (fabs(allSteps[
k])>minStep) { nPlane += 1;
first[nPlane] =
k; }
837 sPlane[nPlane] += sTot;
839 if (nPlane < 2)
return false;
843 for (
unsigned int k = 0;
k <= nPlane; ++
k) { sPlane[
k] /= (double) (
last[
k]-
first[
k]+1); }
847 for (
unsigned int k = 0;
k < allSteps.size(); ++
k) {
850 JacOffsetToMeas = (allProjections[
k] * allLocalToCurv[
k].inverse(ierr) ) * OffsetToCurv;
852 edm::LogError(
"Alignment") <<
"@SUB=ReferenceTrajectory::addMaterialEffectsBrl"
853 <<
"Inversion 2 for coarse broken lines failed: " << ierr;
857 unsigned int iPlane = plane[
k];
867 if (fabs(sTot) < fabs(sPlane[iPlane])) { jPlane = (iPlane>0) ? iPlane - 1 : 1; }
868 else { jPlane = (iPlane<nPlane) ? iPlane + 1 : nPlane -1 ;}
870 double sDiff = sPlane[iPlane] - sPlane[jPlane];
871 double iFrac = (sTot - sPlane[jPlane]) / sDiff;
872 double jFrac = 1.0 - iFrac;
887 for (
unsigned int i = 1;
i < nPlane; ++
i) {
895 tempMSCov = allDeltaParameterCovs[
k].similarity(allLocalToCurv[
k]);
896 tempMSCovProj = tempMSCov.similarity(CurvToAngle);
901 double stepK = sPlane[
i] - sPlane[
l];
902 double stepN = sPlane[
n] - sPlane[
i];
903 double deltaK (1.0/stepK);
904 double deltaN (1.0/stepN);
909 theDerivatives[offsetMeas+
nMeasPerHit*iMsMeas+1][offsetPar+2*l+1] = deltaK;
911 theDerivatives[offsetMeas+
nMeasPerHit*iMsMeas ][offsetPar+2*
i ] = -(deltaK + deltaN);
912 theDerivatives[offsetMeas+
nMeasPerHit*iMsMeas+1][offsetPar+2*
i+1] = -(deltaK + deltaN);
914 theDerivatives[offsetMeas+
nMeasPerHit*iMsMeas ][offsetPar+2*
n ] = deltaN;
915 theDerivatives[offsetMeas+
nMeasPerHit*iMsMeas+1][offsetPar+2*n+1] = deltaN;
927 if (this->useRecHit(hitPtr)) {
929 switch (hitPtr->dimension()) {
931 return getHitProjectionMatrixT<1>(hitPtr);
933 return getHitProjectionMatrixT<2>(hitPtr);
935 return getHitProjectionMatrixT<3>(hitPtr);
937 return getHitProjectionMatrixT<4>(hitPtr);
939 return getHitProjectionMatrixT<5>(hitPtr);
941 throw cms::Exception(
"ReferenceTrajectory::getHitProjectionMatrix")
942 <<
"Unexpected hit dimension: " << hitPtr->dimension() <<
"\n";
951 template<
unsigned int N>
969 holder.
setup<
N>(&
r, &V, &
H, &dummyProjFunc, &rMeas, &VMeas, dummyPars, dummyErr);
970 hitPtr->getKfComponents(holder);
AlgebraicMatrix theInnerTrajectoryToCurvilinear
double z0() const
z coordinate
AlgebraicMatrix getHitProjectionMatrix(const TransientTrackingRecHit::ConstRecHitPointer &recHit) const
ROOT::Math::SMatrix< double, D1, D1, ROOT::Math::MatRepSym< double, D1 > > SymMatrix
virtual bool addMaterialEffectsBrl(const std::vector< AlgebraicMatrix > &allJacobians, const std::vector< AlgebraicMatrix > &allProjections, const std::vector< AlgebraicSymMatrix > &allCurvChanges, const std::vector< AlgebraicSymMatrix > &allDeltaParaCovs, const std::vector< AlgebraicMatrix > &allLocalToCurv, const GlobalTrajectoryParameters >p)
const LocalTrajectoryParameters & localParameters() const
virtual bool construct(const TrajectoryStateOnSurface &referenceTsos, const TransientTrackingRecHit::ConstRecHitContainer &recHits, double mass, MaterialEffects materialEffects, const PropagationDirection propDir, const MagneticField *magField, bool useBeamSpot, const reco::BeamSpot &beamSpot)
AlgebraicMatrix theInnerLocalToTrajectory
virtual void fillMeasurementAndError(const TransientTrackingRecHit::ConstRecHitPointer &hitPtr, unsigned int iRow, const TrajectoryStateOnSurface &updatedTsos)
static const unsigned int nMeasPerHit
T mag() const
The vector magnitude. Equivalent to sqrt(vec.mag2())
AlgebraicMatrix theDerivatives
unsigned int theNumberOfVirtualPars
Geom::Phi< T > phi() const
unsigned int theNumberOfVirtualMeas
ROOT::Math::SMatrix< double, 5, 5, ROOT::Math::MatRepSym< double, 5 > > AlgebraicSymMatrix55
SurfaceSide surfaceSide(const PropagationDirection dir) const
AlgebraicVector theParameters
AlgebraicVector theMeasurements
virtual bool addMaterialEffectsBp(const std::vector< AlgebraicMatrix > &allJacobians, const std::vector< AlgebraicMatrix > &allProjections, const std::vector< AlgebraicSymMatrix > &allCurvChanges, const std::vector< AlgebraicSymMatrix > &allDeltaParaCovs, const std::vector< AlgebraicMatrix > &allLocalToCurv)
tuple TSCBLBuilderNoMaterial
GlobalVector magneticFieldInInverseGeV(const GlobalPoint &x) const
const Plane & surface() const
The nominal surface of the GeomDet.
std::pair< TrajectoryStateOnSurface, double > propagateWithPath(const FreeTrajectoryState &fts, const Plane &plane) const override
propagation to plane with path length
virtual bool propagate(const Plane &previousSurface, const TrajectoryStateOnSurface &previousTsos, const Plane &newSurface, TrajectoryStateOnSurface &newTsos, AlgebraicMatrix &newJacobian, AlgebraicMatrix &newCurvlinJacobian, double &nextStep, const PropagationDirection propDir, const MagneticField *magField) const
AlgebraicSymMatrix theTrajectoryPositionCov
double dydz() const
dydz slope
ROOT::Math::SMatrix< double, D1, D2, ROOT::Math::MatRepStd< double, D1, D2 > > Matrix
const SurfaceType & surface() const
CLHEP::HepMatrix AlgebraicMatrix
std::shared_ptr< TrackingRecHit const > ConstRecHitPointer
ReferenceTrajectory(const TrajectoryStateOnSurface &referenceTsos, const TransientTrackingRecHit::ConstRecHitContainer &recHits, bool hitsAreReverse, const MagneticField *magField, MaterialEffects materialEffects, PropagationDirection propDir, double mass, bool useBeamSpot, const reco::BeamSpot &beamSpot)
FreeTrajectoryState const * freeState(bool withErrors=true) const
Vector3DBase< typename PreciseFloatType< T, U >::Type, FrameTag > cross(const Vector3DBase< U, FrameTag > &v) const
GlobalVector momentum() const
MaterialEffectsUpdator * createUpdator(MaterialEffects materialEffects, double mass) const
void setup(typename AlgebraicROOTObject< D >::Vector *params, typename AlgebraicROOTObject< D, D >::SymMatrix *errors, typename AlgebraicROOTObject< D, 5 >::Matrix *projection, ProjectMatrix< double, 5, D > *projFunc, typename AlgebraicROOTObject< D >::Vector *measuredParams, typename AlgebraicROOTObject< D, D >::SymMatrix *measuredErrors, const AlgebraicVector5 &tsosLocalParameters, const AlgebraicSymMatrix55 &tsosLocalErrors)
const AlgebraicSymMatrix55 & matrix() const
unsigned int theNumberOfHits
AlgebraicVector theTrajectoryPositions
virtual void fillDerivatives(const AlgebraicMatrix &projection, const AlgebraicMatrix &fullJacobian, unsigned int iRow)
const LocalTrajectoryError & localError() const
virtual std::pair< TrajectoryStateOnSurface, double > propagateWithPath(const FreeTrajectoryState &, const Surface &) const final
GlobalVector momentum() const
double dxdz() const
dxdz slope
TransientTrackingRecHit::ConstRecHitContainer theRecHits
GlobalPoint position() const
std::vector< ConstRecHitPointer > ConstRecHitContainer
AlgebraicSymMatrix theMeasurementsCov
AlgebraicMatrix getHitProjectionMatrixT(const TransientTrackingRecHit::ConstRecHitPointer &recHit) const
const AlgebraicVector & parameters() const
CLHEP::HepVector AlgebraicVector
ROOT::Math::SVector< double, D1 > Vector
ROOT::Math::SVector< double, 5 > AlgebraicVector5
const GlobalTrajectoryParameters & globalParameters() const
AlgebraicVector5 mixedFormatVector() const
CLHEP::HepSymMatrix AlgebraicSymMatrix
std::vector< TrajectoryStateOnSurface > theTsosVec
double y0() const
y coordinate
virtual bool addMaterialEffectsCov(const std::vector< AlgebraicMatrix > &allJacobians, const std::vector< AlgebraicMatrix > &allProjections, const std::vector< AlgebraicSymMatrix > &allCurvChanges, const std::vector< AlgebraicSymMatrix > &allDeltaParaCovs)
virtual void fillTrajectoryPositions(const AlgebraicMatrix &projection, const AlgebraicVector &mixedLocalParams, unsigned int iRow)
unsigned int theNumberOfPars
bool useRecHit(const TransientTrackingRecHit::ConstRecHitPointer &hitPtr) const
AlgebraicROOTObject< D, 5 >::Matrix & projection()
double signedInverseMomentum() const
Signed inverse momentum q/p (zero for neutrals).
tuple size
Write out results.
double x0() const
x coordinate