1 #ifndef Alignment_ReferenceTrajectories_ReferenceTrajectory_H
2 #define Alignment_ReferenceTrajectories_ReferenceTrajectory_H
43 #include "GblTrajectory.h"
95 const Plane &newSurface,
123 const std::vector<AlgebraicMatrix> &allProjections,
124 const std::vector<AlgebraicSymMatrix> &allCurvChanges,
125 const std::vector<AlgebraicSymMatrix> &allDeltaParaCovs);
130 const std::vector<AlgebraicMatrix> &allProjections,
131 const std::vector<AlgebraicSymMatrix> &allCurvChanges,
132 const std::vector<AlgebraicSymMatrix> &allDeltaParaCovs,
133 const std::vector<AlgebraicMatrix> &allLocalToCurv);
138 const std::vector<AlgebraicMatrix> &allProjections,
139 const std::vector<AlgebraicSymMatrix> &allCurvChanges,
140 const std::vector<AlgebraicSymMatrix> &allDeltaParaCovs,
141 const std::vector<AlgebraicMatrix> &allLocalToCurv,
146 const std::vector<AlgebraicSymMatrix> &allDeltaParaCovs,
147 const std::vector<AlgebraicMatrix> &allLocalToCurv,
148 const std::vector<double> &allSteps,
150 const double minStep = 1.0);
155 const std::vector<AlgebraicMatrix> &allProjections,
156 const std::vector<AlgebraicSymMatrix> &allCurvatureChanges,
157 const std::vector<AlgebraicSymMatrix> &allDeltaParameterCovs);
162 const std::vector<AlgebraicMatrix> &allProjections,
163 const std::vector<AlgebraicSymMatrix> &allCurvChanges,
164 const std::vector<AlgebraicSymMatrix> &allDeltaParaCovs,
165 const std::vector<AlgebraicMatrix> &allLocalToCurv);
179 template <
unsigned int N>
183 template <
typename Derived>
185 template <
typename Derived>
187 template <
typename Derived>
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)
ReferenceTrajectory * clone() const override
const bool allowZeroMaterial_
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
void clhep2eigen(const AlgebraicVector &in, Eigen::MatrixBase< Derived > &out)
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 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() override
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
caConstants::TupleMultiplicity const CAHitNtupletGeneratorKernelsGPU::HitToTuple const cms::cuda::AtomicPairCounter GPUCACell const *__restrict__ uint32_t const *__restrict__ gpuPixelDoublets::CellNeighborsVector const gpuPixelDoublets::CellTracksVector const GPUCACell::OuterHitOfCell const int32_t nHits
tuple config
parse the configuration file
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)