Skip to content

Commit

Permalink
fix DAClusterizerInZ_vect for ASAN_X build
Browse files Browse the repository at this point in the history
  • Loading branch information
mmusich committed Feb 6, 2024
1 parent 70c7fb8 commit 522895b
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1313,7 +1313,8 @@ vector<TransientVertex> DAClusterizerInZ_vect::fill_vertices(double beta, double
zerror_squared = sumwp / (sumw * sumw);
y.zvtx[k] = sumwz / sumw;
}
const auto& bs = vertexTracks[0].stateAtBeamLine().beamSpot();

reco::BeamSpot bs = vertexTracks[0].stateAtBeamLine().beamSpot();
GlobalPoint pos(bs.x(y.zvtx[k]), bs.y(y.zvtx[k]), y.zvtx[k]);
const float xerror_squared = pow(bs.BeamWidthX(), 2);
const float yerror_squared = pow(bs.BeamWidthY(), 2);
Expand Down

0 comments on commit 522895b

Please sign in to comment.