Skip to content

Commit

Permalink
Also protect the TSOS in the TrackerValidationVariables residuals code.
Browse files Browse the repository at this point in the history
  • Loading branch information
schneiml committed May 4, 2016
1 parent 643072f commit 3eb9856
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -76,6 +76,7 @@ TrackerValidationVariables::fillHitQuantities(const Trajectory* trajectory, std:
if (!itTraj->updatedState().isValid()) continue;

TrajectoryStateOnSurface tsos = tsoscomb( itTraj->forwardPredictedState(), itTraj->backwardPredictedState() );
if(!tsos.isValid()) continue;
TransientTrackingRecHit::ConstRecHitPointer hit = itTraj->recHit();

if(!hit->isValid() || hit->geographicalId().det() != DetId::Tracker) continue;
Expand Down

0 comments on commit 3eb9856

Please sign in to comment.