|
|
Go to the documentation of this file.
8 #include <fmt/format.h>
11 "Good",
"OFF",
"Nois.St",
"Nois.Ch",
"Part.Dead",
"Dead",
"Bad.Shape"};
23 summaryDir_ = subsystemFolder +
"/" + recHitTypeFolder +
"/" + summaryFolder;
24 prefixDir_ = subsystemFolder +
"/" + recHitTypeFolder;
45 edm::LogVerbatim(
"rpcchamberquality") <<
"[RPCChamberQuality]: End Lumi Block";
48 edm::LogVerbatim(
"rpcchamberquality") <<
"[RPCChamberQuality]: Performing DQM client operation";
66 edm::LogVerbatim(
"rpcchamberquality") <<
"[RPCChamberQuality]: Performing DQM client operation";
81 for (
int r = 0;
r < 3;
r++) {
85 for (
int x = 1;
x < 8;
x++) {
91 ibooker.
book2D(
"RPC_System_Quality_Overview",
"RPC_System_Quality_Overview", 7, 0.5, 7.5, 3, 0.5, 3.5);
92 me->setBinLabel(1,
"E-", 2);
93 me->setBinLabel(2,
"B", 2);
94 me->setBinLabel(3,
"E+", 2);
96 for (
int x = 1;
x < 8;
x++) {
100 for (
int w = -2;
w < 3;
w++) {
108 for (
int x = 1;
x < 8;
x++) {
117 fmt::format(
"RPCChamberQuality_Ring_vs_Segment_Disk{}",
d);
123 for (
int x = 1;
x < 8;
x++) {
141 for (
int r = 0;
r < 3;
r++) {
170 RpcOverview->
Reset();
173 for (
int r = 0;
r < 3;
r++) {
176 const double entries =
summary[
r]->getEntries();
179 for (
int x = 1;
x <= 7;
x++) {
194 const int pos = MESufix.find_last_of(
'_');
214 int xBinMax, yBinMax;
221 for (
int x = 1;
x < xBinMax;
x++) {
227 else if (
x == 9 ||
x == 11)
232 for (
int y = 1;
y < yBinMax;
y++) {
237 float noisystrips = 0;
245 lv = (
int)
LV->getBinContent(
x,
y);
247 if (hv != 1 || lv != 1) {
251 dead =
DEAD->getBinContent(
x,
y);
254 }
else if (0.33 <= dead && dead < 0.80) {
259 if (firstbin >= 0.88) {
264 if (noisystrips > 0) {
287 RCQD->
Fill(chamberState);
void fillMonitorElements(DQMStore::IGetter &)
static MonitorElement * bookBarrel(IBooker &booker, const int wheel, const std::string &prefix, const std::string &title, const bool useRollInfo)
virtual void setCurrentFolder(std::string const &fullpath)
static const std::string regions_[3]
T getUntrackedParameter(std::string const &, T const &) const
RPCChamberQuality(const edm::ParameterSet &ps)
MonitorElement * RpcEvents
const uint32_t *__restrict__ Quality * quality
static MonitorElement * bookEndcap(IBooker &booker, const int disk, const std::string &prefix, const std::string &title, const bool useRollInfo)
void performeClientOperation(std::string, int, MonitorElement *, DQMStore::IGetter &)
virtual void Reset()
Remove all data from the ME, keept the empty histogram with all its settings.
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
static const std::string xLabels_[7]
virtual void setBinLabel(int bin, const std::string &label, int axis=1)
set bin label for x, y or z axis (axis=1, 2, 3 respectively)
virtual void setBinContent(int binx, double content)
set content of bin (1-D)
Log< level::Info, true > LogVerbatim
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY, FUNC onbooking=NOOP())
math::XYZTLorentzVectorD LV
virtual MonitorElement * get(std::string const &fullpath) const
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
virtual double getBinContent(int binx) const
get content of bin (1-D)
MonitorElement * book1D(TString const &name, TString const &title, int const nchX, double const lowX, double const highX, FUNC onbooking=NOOP())
~RPCChamberQuality() override
void myBooker(DQMStore::IBooker &)