Skip to content

Commit

Permalink
remove duplicate monitoring of FB at layer1
Browse files Browse the repository at this point in the history
  • Loading branch information
hftsoi committed Aug 24, 2023
1 parent 0ec1f22 commit 87c25b9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions DQM/L1TMonitor/src/L1TdeStage2CaloLayer1.cc
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,12 @@ void L1TdeStage2CaloLayer1::analyze(const edm::Event& event, const edm::EventSet

etCorrelation_->Fill(dataTower.et(), emulTower.et());

const uint32_t data_fb = dataTower.fb() & 0b1011;
const uint32_t emul_fb = emulTower.fb() & 0b1011;
if (abs(dataTower.ieta_) >= 30) {
fbCorrelationHF_->Fill(dataTower.fb(), emulTower.fb());
fbCorrelationHF_->Fill(data_fb, emul_fb);
} else {
fbCorrelation_->Fill(dataTower.fb(), emulTower.fb());
fbCorrelation_->Fill(data_fb, emul_fb);
}

if (dataTower.data_ == emulTower.data_) {
Expand Down Expand Up @@ -149,7 +151,7 @@ void L1TdeStage2CaloLayer1::analyze(const edm::Event& event, const edm::EventSet
erMsmThisEvent = true;
updateMismatch(event, 1);
}
if (dataTower.fb() != emulTower.fb()) {
if (data_fb != emul_fb) {
failureOccFbMismatch_->Fill(dataTower.ieta_, dataTower.iphi_);
fbMismatchByLumi_->Fill(event.id().luminosityBlock());
fbMismatchesPerBx_->Fill(event.bunchCrossing());
Expand Down

0 comments on commit 87c25b9

Please sign in to comment.