4 unsigned int nVirtualPar,
unsigned int nVirtualMeas)
5 : theValidityFlag(
false), theParamCovFlag(
false),
6 theNumberOfHits( nHits ), theNumberOfPars( nPar ),
7 theNumberOfVirtualMeas( nVirtualMeas ), theNumberOfVirtualPars( nVirtualPar ),
8 theTsosVec(), theRecHits(),
9 theMeasurements(nMeasPerHit * nHits + nVirtualMeas),
10 theMeasurementsCov(nMeasPerHit * nHits + nVirtualMeas, 0),
11 theTrajectoryPositions(nMeasPerHit * nHits),
12 theTrajectoryPositionCov(nMeasPerHit * nHits, 0),
14 theParameterCov(nPar, 0),
15 theDerivatives(nMeasPerHit * nHits + nVirtualMeas, nPar + nVirtualPar, 0),
16 theInnerTrajectoryToCurvilinear( 5, 5, 0 ),
17 theInnerLocalToTrajectory( 5, 5, 0 )
27 unsigned int nUsedHits = 0;
28 TransientTrackingRecHit::ConstRecHitContainer::const_iterator itHit;
29 for ( itHit = recHits.begin(); itHit != recHits.end(); ++itHit )
if (
useRecHit( *itHit ) ) ++nUsedHits;
37 return hitPtr->isValid();
ReferenceTrajectoryBase(unsigned int nPar, unsigned int nHits, unsigned int nVirtualPar, unsigned int nVirtualMeas)
std::shared_ptr< TrackingRecHit const > ConstRecHitPointer
TransientTrackingRecHit::ConstRecHitContainer theRecHits
std::vector< ConstRecHitPointer > ConstRecHitContainer
unsigned int numberOfUsedRecHits(const TransientTrackingRecHit::ConstRecHitContainer &recHits) const
std::vector< TrajectoryStateOnSurface > theTsosVec
volatile std::atomic< bool > shutdown_flag false
bool useRecHit(const TransientTrackingRecHit::ConstRecHitPointer &hitPtr) const