1 #ifndef Alignment_ReferenceTrajectories_ReferenceTrajectory_H
2 #define Alignment_ReferenceTrajectories_ReferenceTrajectory_H
44 #include <TMatrixDSym.h>
124 const std::vector<AlgebraicMatrix> &allProjections,
125 const std::vector<AlgebraicSymMatrix> &allCurvChanges,
126 const std::vector<AlgebraicSymMatrix> &allDeltaParaCovs);
131 const std::vector<AlgebraicMatrix> &allProjections,
132 const std::vector<AlgebraicSymMatrix> &allCurvChanges,
133 const std::vector<AlgebraicSymMatrix> &allDeltaParaCovs,
134 const std::vector<AlgebraicMatrix> &allLocalToCurv);
139 const std::vector<AlgebraicMatrix> &allProjections,
140 const std::vector<AlgebraicSymMatrix> &allCurvChanges,
141 const std::vector<AlgebraicSymMatrix> &allDeltaParaCovs,
142 const std::vector<AlgebraicMatrix> &allLocalToCurv,
147 const std::vector<AlgebraicSymMatrix> &allDeltaParaCovs,
148 const std::vector<AlgebraicMatrix> &allLocalToCurv,
149 const std::vector<double> &allSteps,
151 const double minStep = 1.0);
156 const std::vector<AlgebraicMatrix> &allProjections,
157 const std::vector<AlgebraicSymMatrix> &allCurvatureChanges,
158 const std::vector<AlgebraicSymMatrix> &allDeltaParameterCovs);
163 const std::vector<AlgebraicMatrix> &allProjections,
164 const std::vector<AlgebraicSymMatrix> &allCurvChanges,
165 const std::vector<AlgebraicSymMatrix> &allDeltaParaCovs,
166 const std::vector<AlgebraicMatrix> &allLocalToCurv);
184 template <
unsigned int N>
AlgebraicMatrix getHitProjectionMatrix(const TransientTrackingRecHit::ConstRecHitPointer &recHit) const
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)
virtual void fillMeasurementAndError(const TransientTrackingRecHit::ConstRecHitPointer &hitPtr, unsigned int iRow, const TrajectoryStateOnSurface &updatedTsos)
const TransientTrackingRecHit::ConstRecHitContainer & recHits() const
virtual bool addMaterialEffectsLocalGbl(const std::vector< AlgebraicMatrix > &allJacobians, const std::vector< AlgebraicMatrix > &allProjections, const std::vector< AlgebraicSymMatrix > &allCurvatureChanges, const std::vector< AlgebraicSymMatrix > &allDeltaParameterCovs)
SurfaceSide surfaceSide(const PropagationDirection dir) const
virtual bool propagate(const Plane &previousSurface, const TrajectoryStateOnSurface &previousTsos, const Plane &newSurface, TrajectoryStateOnSurface &newTsos, AlgebraicMatrix &newJacobian, AlgebraicMatrix &newCurvlinJacobian, double &nextStep, const MagneticField *magField) const
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)
virtual ReferenceTrajectory * clone() const
virtual ~ReferenceTrajectory()
virtual bool construct(const TrajectoryStateOnSurface &referenceTsos, const TransientTrackingRecHit::ConstRecHitContainer &recHits, const MagneticField *magField, const reco::BeamSpot &beamSpot)
const PropagationDirection propDir_
virtual bool addMaterialEffectsCurvlinGbl(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)
SurfaceSideDefinition::SurfaceSide SurfaceSide
CLHEP::HepMatrix AlgebraicMatrix
std::shared_ptr< TrackingRecHit const > ConstRecHitPointer
MaterialEffectsUpdator * createUpdator(MaterialEffects materialEffects, double mass) const
ReferenceTrajectory(const TrajectoryStateOnSurface &referenceTsos, const TransientTrackingRecHit::ConstRecHitContainer &recHits, const MagneticField *magField, const reco::BeamSpot &beamSpot, const ReferenceTrajectoryBase::Config &config)
virtual void fillDerivatives(const AlgebraicMatrix &projection, const AlgebraicMatrix &fullJacobian, unsigned int iRow)
const MaterialEffects materialEffects_
std::vector< ConstRecHitPointer > ConstRecHitContainer
AlgebraicMatrix getHitProjectionMatrixT(const TransientTrackingRecHit::ConstRecHitPointer &recHit) const
CLHEP::HepVector AlgebraicVector
void clhep2root(const AlgebraicVector &in, TVectorD &out)
CLHEP::HepSymMatrix AlgebraicSymMatrix
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)