48 double defaultValue = 1.;
54 runInfoRec->get(sumFED);
55 std::vector<int> FedsInIds = sumFED->
m_fed_in;
58 while (!flag && f < FedsInIds.size()) {
59 int fedID = FedsInIds[
f];
80 CertMap_ = ibooker.
book2D(
"CertificationSummaryMap",
"RPC Certification Summary Map", 15, -7.5, 7.5, 12, 0.5, 12.5);
84 for (
int i = 1;
i < 13;
i++) {
86 BinLabel <<
"Sec" <<
i;
90 for (
int i = -2;
i <= 2;
i++) {
92 BinLabel <<
"Wheel" <<
i;
98 BinLabel <<
"Disk" <<
i;
101 BinLabel <<
"Disk" << -
i;
105 for (
int i = 1;
i <= 15;
i++) {
106 for (
int j = 1;
j <= 12;
j++) {
107 if (
i == 5 ||
i == 11 || (
j > 6 && (i < 6 || i > 10)))
115 for (
int j = 1;
j <= 12;
j++) {
127 for (
int i = -1 * limit;
i <=
limit;
i++) {
128 if (
i > -3 &&
i < 3) {
130 streams <<
"RPC_Wheel" <<
i;
142 streams <<
"RPC_Disk" <<
i;
T getUntrackedParameter(std::string const &, T const &) const
std::optional< T > tryToGet() const
void myBooker(DQMStore::IBooker &)
MonitorElement * bookFloat(TString const &name)
MonitorElement * certWheelFractions[5]
void setCurrentFolder(std::string const &fullpath)
~RPCDataCertification() override
Destructor.
MonitorElement * CertMap_
MonitorElement * totalCertFraction
std::pair< int, int > FEDRange_
RPCDataCertification(const edm::ParameterSet &pset)
Constructor.
std::vector< int > m_fed_in
MonitorElement * certDiskFractions[10]
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)
void checkFED(edm::EventSetup const &)
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
MonitorElement * book2D(TString const &name, TString const &title, int nchX, double lowX, double highX, int nchY, double lowY, double highY)
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override