File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -127,9 +127,9 @@ namespace mu2e {
127
127
// The three locations are at the intersections of the trajectory with planes
128
128
// perpendicular to the z axis and at the front, middle and back of the tracker.
129
129
// Just because. It's not a recommendation for analysis.
130
- std::vector<KalIntersection>::const_iterator front = ks.intersection ( SurfaceIdEnum::TT_Front );
131
- auto mid = ks.intersection ( SurfaceIdEnum::TT_Mid );
132
- auto back = ks.intersection ( SurfaceIdEnum::TT_Back );
130
+ auto front = ks.intersections ( SurfaceIdEnum::TT_Front ). front ( );
131
+ auto mid = ks.intersections ( SurfaceIdEnum::TT_Mid ). front ( );
132
+ auto back = ks.intersections ( SurfaceIdEnum::TT_Back ). front ( );
133
133
if ( front == ks.intersections ().end () || mid == ks.intersections ().end () || back == ks.intersections ().end () ){
134
134
_hnSkip->Fill (1 .);
135
135
continue ;
You can’t perform that action at this time.
0 commit comments