59 totalDAQFraction = ibooker.
bookFloat(
"DAQSummary");
60 totalDAQFraction->
Fill(-1);
63 daqMap = ibooker.
book2D(
"DAQSummaryMap",
"DT Certification Summary Map",12,1,13,5,-2,3);
65 daqMap->setAxisTitle(
"wheel",2);
72 streams <<
"DT_Wheel" <<
wheel;
83 if(setup.
find(recordKey) !=
nullptr) {
85 totalDAQFraction->Fill(0.);
86 daqFractions[-2]->Fill(0.);
87 daqFractions[-1]->Fill(0.);
88 daqFractions[-0]->Fill(0.);
89 daqFractions[1]->Fill(0.);
90 daqFractions[2]->Fill(0.);
97 vector<int> fedInIDs = sumFED->
m_fed_in;
103 if (checkUros) {
LogTrace(
"DQM|DTMonitorClient|DTDAQInfo")
104 <<
"Checking uROS FEDs as Legacy FEDs"<< endl;}
107 for(vector<int>::const_iterator fed = fedInIDs.begin();
108 fed != fedInIDs.end();
111 if(!(*fed >= FEDIDmin && *fed <= FEDIDMax))
continue;
117 for(
int ros = 1; ros != 13; ++ros) {
118 if(!
mapping->readOutToGeometry(*fed,ros,2,2,2,wheel,dummy,sector,dummy,dummy,dummy)) {
119 LogTrace(
"DQM|DTMonitorClient|DTDAQInfo")
120 <<
"FED: " << *fed <<
" Ch: " << ros <<
" wheel: " << wheel <<
" Sect: " << sector << endl;
121 daqFractions[
wheel]->Fill(daqFractions[wheel]->getFloatValue() + 1./12.);
122 totalDAQFraction->Fill(totalDAQFraction->getFloatValue() + 1./60.);
123 daqMap->Fill(sector,wheel);
128 LogWarning(
"DQM|DTMonitorClient|DTDAQInfo") <<
"*** Warning: record key not found for RunInfoRcd" << endl;
129 totalDAQFraction->Fill(-1);
131 daqFractions[
wheel]->Fill(-1);
T getUntrackedParameter(std::string const &, T const &) const
std::pair< const char *, const std::type_info * > findType(const char *iClassName)
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
def setup(process, global_tag, zero_tesla=False)
const eventsetup::EventSetupRecord * find(const eventsetup::EventSetupRecordKey &) const
std::vector< int > m_fed_in
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
~DTDAQInfo() override
Destructor.
void setCurrentFolder(const std::string &fullpath)
MonitorElement * book2D(Args &&...args)
DTDAQInfo(const edm::ParameterSet &pset)
Constructor.
MonitorElement * bookFloat(Args &&...args)
void setAxisTitle(const std::string &title, int axis=1)
set x-, y- or z-axis title (axis=1, 2, 3 respectively)