Skip to content

Commit

Permalink
Merge pull request #43891 from mmusich/mm_dev_fix_ASAN_X_DAClusterize…
Browse files Browse the repository at this point in the history
…rInZ

[14.0.X] fix `DAClusterizerInZ_vect` for `ASAN_X` build
  • Loading branch information
cmsbuild authored Feb 12, 2024
2 parents 91afeb5 + 522895b commit b6106c3
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 b6106c3

Please sign in to comment.