Skip to content

Commit

Permalink
Merge pull request #42408 from mmusich/fix_vector_PixelInactiveAreaFi…
Browse files Browse the repository at this point in the history
…nder_13_1_X

[13.1.X] clear `badPixelDetsBarrel_` and `badPixelDetsEndcap_` in `PixelInactiveAreaFinder`
  • Loading branch information
cmsbuild authored Jul 31, 2023
2 parents 7dcd2d8 + 4147a53 commit 790b01f
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -559,6 +559,10 @@ PixelInactiveAreaFinder::InactiveAreas PixelInactiveAreaFinder::inactiveAreas(co

// assign data to instance variables
updatePixelDets(iSetup);

// clear the list of bad pixel modules at each event!
badPixelDetsBarrel_.clear();
badPixelDetsEndcap_.clear();
getBadPixelDets(iEvent, iSetup);

//write files for plotting
Expand Down

0 comments on commit 790b01f

Please sign in to comment.