21 numberOfUsedRecHits(forwardRecHits) + numberOfUsedRecHits(backwardRecHits) - 1,
25 mass, materialEffects, propDir, magField, useBeamSpot, beamSpot );
45 <<
"[DualReferenceTrajectory::construct] Wrong MaterialEffects: " << materialEffects;
48 mass, materialEffects,
49 propDir, magField, useBeamSpot, beamSpot);
52 mass, materialEffects,
66 const std::vector<TrajectoryStateOnSurface>& fwdTsosVec = fwdTraj->
trajectoryStates();
67 const std::vector<TrajectoryStateOnSurface>& bwdTsosVec = bwdTraj->
trajectoryStates();
107 theDerivatives.sub( nMeas+1, nParam+1, fwdTraj->
derivatives().sub( nFwdMeas+1, nFwdMeas+nFwdBP, nParam+1, nParam+nFwdBP ) );
113 theDerivatives.sub( nFwdMeas+1, nParam+nFwdBP+1, bwdTraj->
derivatives().sub( nMeasPerHit+1, nBwdMeas, nParam+1, nParam+nBwdBP ) );
114 theDerivatives.sub( nMeas+nFwdBP+1, nParam+nFwdBP+1, bwdTraj->
derivatives().sub( nBwdMeas+1, nBwdMeas+nBwdBP, nParam+1, nParam+nBwdBP ) );
134 <<
"[DualReferenceTrajectory::construct] Wrong MaterialEffects: " << materialEffects;
137 magField, materialEffects, propDir, mass,
138 useBeamSpot, beamSpot);
const LocalTrajectoryParameters & localParameters() const
static const unsigned int nMeasPerHit
AlgebraicMatrix theDerivatives
unsigned int numberOfHitMeas() const
const TransientTrackingRecHit::ConstRecHitContainer & recHits() const
const PropagationDirection oppositeDirection(const PropagationDirection propDir) const
AlgebraicVector theParameters
DualReferenceTrajectory(const TrajectoryStateOnSurface &referenceTsos, const ConstRecHitContainer &forwardRecHits, const ConstRecHitContainer &backwardRecHits, const MagneticField *magField, MaterialEffects materialEffects, PropagationDirection propDir, double mass, bool useBeamSpot, const reco::BeamSpot &beamSpot)
AlgebraicVector theMeasurements
const AlgebraicSymMatrix & measurementErrors() const
const AlgebraicSymMatrix & trajectoryPositionErrors() const
AlgebraicSymMatrix theTrajectoryPositionCov
const AlgebraicMatrix & derivatives() const
TransientTrackingRecHit::ConstRecHitContainer ConstRecHitContainer
virtual AlgebraicVector extractParameters(const TrajectoryStateOnSurface &referenceTsos) const
AlgebraicVector theTrajectoryPositions
TransientTrackingRecHit::ConstRecHitContainer theRecHits
AlgebraicSymMatrix theMeasurementsCov
CLHEP::HepVector AlgebraicVector
AlgebraicVector5 mixedFormatVector() const
unsigned int numberOfVirtualMeas() const
const AlgebraicVector & measurements() const
std::vector< TrajectoryStateOnSurface > theTsosVec
const AlgebraicVector & trajectoryPositions() const
unsigned int theNumberOfPars
virtual bool construct(const TrajectoryStateOnSurface &referenceTsos, const ConstRecHitContainer &forwardRecHits, const ConstRecHitContainer &backwardRecHits, double mass, MaterialEffects materialEffects, const PropagationDirection propDir, const MagneticField *magField, bool useBeamSpot, const reco::BeamSpot &beamSpot)
const std::vector< TrajectoryStateOnSurface > & trajectoryStates() const