5 unsigned int nVirtualPar,
6 unsigned int nVirtualMeas)
7 : theValidityFlag(
false),
8 theParamCovFlag(
false),
9 theNumberOfHits(nHits),
10 theNumberOfPars(nPar),
11 theNumberOfVirtualMeas(nVirtualMeas),
12 theNumberOfVirtualPars(nVirtualPar),
15 theMeasurements(nMeasPerHit * nHits + nVirtualMeas),
16 theMeasurementsCov(nMeasPerHit * nHits + nVirtualMeas, 0),
17 theTrajectoryPositions(nMeasPerHit * nHits),
18 theTrajectoryPositionCov(nMeasPerHit * nHits, 0),
20 theParameterCov(nPar, 0),
21 theDerivatives(nMeasPerHit * nHits + nVirtualMeas, nPar + nVirtualPar, 0),
22 theInnerTrajectoryToCurvilinear(5, 5, 0),
23 theInnerLocalToTrajectory(5, 5, 0) {
30 unsigned int nUsedHits = 0;
31 TransientTrackingRecHit::ConstRecHitContainer::const_iterator itHit;
32 for (itHit = recHits.begin(); itHit != recHits.end(); ++itHit)
39 return hitPtr->isValid();
ReferenceTrajectoryBase(unsigned int nPar, unsigned int nHits, unsigned int nVirtualPar, unsigned int nVirtualMeas)
const TransientTrackingRecHit::ConstRecHitContainer & recHits() const
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
bool useRecHit(const TransientTrackingRecHit::ConstRecHitPointer &hitPtr) const