Skip to content

Commit

Permalink
CSCMonitorModule: crash fix for corrupted events with missing ALCT data
Browse files Browse the repository at this point in the history
  • Loading branch information
barvic committed Oct 4, 2024
1 parent 6b4f1d4 commit 4dfa9e3
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 4dfa9e3

Please sign in to comment.