58 totalDAQFraction = ibooker.
bookFloat(
"DAQSummary");
59 totalDAQFraction->
Fill(-1);
62 daqMap = ibooker.
book2D(
"DAQSummaryMap",
"DT Certification Summary Map",12,1,13,5,-2,3);
64 daqMap->setAxisTitle(
"wheel",2);
71 streams <<
"DT_Wheel" <<
wheel;
81 totalDAQFraction->Fill(0.);
82 daqFractions[-2]->Fill(0.);
83 daqFractions[-1]->Fill(0.);
84 daqFractions[-0]->Fill(0.);
85 daqFractions[1]->Fill(0.);
86 daqFractions[2]->Fill(0.);
92 runInfoRec->get(sumFED);
93 vector<int> fedInIDs = sumFED->
m_fed_in;
100 if (checkUros) {
LogTrace(
"DQM|DTMonitorClient|DTDAQInfo")
101 <<
"Checking uROS FEDs as Legacy FEDs"<< endl;}
104 for(vector<int>::const_iterator fed = fedInIDs.begin();
105 fed != fedInIDs.end();
108 if(!(*fed >= FEDIDmin && *fed <= FEDIDMax))
continue;
114 for(
int ros = 1; ros != 13; ++ros) {
115 if(!
mapping->readOutToGeometry(*fed,ros,2,2,2,wheel,dummy,sector,dummy,dummy,dummy)) {
116 LogTrace(
"DQM|DTMonitorClient|DTDAQInfo")
117 <<
"FED: " << *fed <<
" Ch: " << ros <<
" wheel: " << wheel <<
" Sect: " << sector << endl;
118 daqFractions[
wheel]->Fill(daqFractions[wheel]->getFloatValue() + 1./12.);
119 totalDAQFraction->Fill(totalDAQFraction->getFloatValue() + 1./60.);
120 daqMap->Fill(sector,wheel);
125 LogWarning(
"DQM|DTMonitorClient|DTDAQInfo") <<
"*** Warning: record key not found for RunInfoRcd" << endl;
126 totalDAQFraction->Fill(-1);
128 daqFractions[
wheel]->Fill(-1);
T getUntrackedParameter(std::string const &, T const &) const
std::optional< T > tryToGet() const
void dqmEndLuminosityBlock(DQMStore::IBooker &, DQMStore::IGetter &, edm::LuminosityBlock const &, edm::EventSetup const &) override
def setup(process, global_tag, zero_tesla=False)
void setCurrentFolder(std::string const &fullpath)
std::vector< int > m_fed_in
void dqmEndJob(DQMStore::IBooker &, DQMStore::IGetter &) override
~DTDAQInfo() override
Destructor.
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)