Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[13_3_X] remove duplicate monitoring of FB at layer1 data-emulator workspace #42677

Merged
merged 1 commit into from
Sep 4, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions DQM/L1TMonitor/src/L1TdeStage2CaloLayer1.cc
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
* N. Smith <[email protected]>
*/
//Modified by Bhawna Gomber <[email protected]>
//Modified by Ho-Fung Tsoi <[email protected]>

#include "DQM/L1TMonitor/interface/L1TdeStage2CaloLayer1.h"

Expand Down Expand Up @@ -115,10 +116,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 +152,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