Skip to content

Commit

Permalink
Fix for L1TMuonGlobalParams_PayloadInspector
Browse files Browse the repository at this point in the history
  • Loading branch information
mmusich committed Aug 18, 2024
1 parent 9f8ff8e commit ed98ad9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
8 changes: 8 additions & 0 deletions CondCore/L1TPlugins/plugins/BuildFile.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,11 @@
<use name="CondCore/CondDB"/>
<use name="CondFormats/L1TObjects"/>
</library>

<library file="L1TMuonGlobalParams_PayloadInspector.cc" name="L1TMuonGlobalParams_PayloadInspector">
<use name="CondCore/Utilities"/>
<use name="CondCore/CondDB"/>
<use name="CondFormats/L1TObjects"/>
<use name="L1Trigger/L1TMuon"/>
<use name="FWCore/MessageLogger"/>
</library>
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include "L1Trigger/L1TMuon/interface/L1TMuonGlobalParamsHelper.h"
#include "L1Trigger/L1TMuon/interface/L1TMuonGlobalParams_PUBLIC.h"

#include <bitset>
#include <fmt/format.h>

// include ROOT
#include "TH1F.h"
Expand Down Expand Up @@ -93,13 +93,11 @@ namespace {
leg.Draw();
lzero.Draw();

tl.DrawLatexNDC(
0.12,
0.85,
(fmt::v8::format(
"fwVersion: {}, bx Min, Max: {}, {}", l1tmgph.fwVersion(), payload->bxMin(), payload->bxMax()))
.c_str());
tl.DrawLatexNDC(0.1, 0.92, (fmt::v8::format("{}, iov: {}", tag.name, IOVsince)).c_str());
auto const label_fw =
fmt::format("fwVersion: {}, bx Min, Max: {}, {}", l1tmgph.fwVersion(), payload->bxMin(), payload->bxMax());
auto const label_tag = fmt::format("{}, iov: {}", tag.name, IOVsince);
tl.DrawLatexNDC(0.12, 0.85, label_fw.c_str());
tl.DrawLatexNDC(0.10, 0.92, label_tag.c_str());
tl.DrawLatexNDC(0.07, 0.59, "1");
tl.DrawLatexNDC(0.07, 0.27, "1");

Expand Down

0 comments on commit ed98ad9

Please sign in to comment.