Skip to content

Commit

Permalink
Merge pull request #46257 from barvic/cscmonitormodule_crash_fix_14_2_X
Browse files Browse the repository at this point in the history
DQM CSCMonitorModule: crash fix for corrupted events with missing ALCT data (14_2_X)
  • Loading branch information
cmsbuild authored Oct 7, 2024
2 parents 45cc131 + 4dfa9e3 commit cb7d2c7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -412,12 +412,12 @@ namespace cscdqm {
/** ALCT Found */
if (data.nalct()) {
const CSCALCTHeader* alctHeader = data.alctHeader();
int fwVersion = alctHeader->alctFirmwareVersion();
int fwRevision = alctHeader->alctFirmwareRevision();
const CSCALCTTrailer* alctTrailer = data.alctTrailer();
const CSCAnodeData* alctData = data.alctData();

if (alctHeader && alctTrailer) {
int fwVersion = alctHeader->alctFirmwareVersion();
int fwRevision = alctHeader->alctFirmwareRevision();
/** Summary plot for chambers with detected Run3 ALCT firmware */
if (getEMUHisto(h::EMU_CSC_RUN3_ALCT_FORMAT, mo)) {
/// ALCT Run3 firmware revision should be > 5
Expand Down

0 comments on commit cb7d2c7

Please sign in to comment.