63 daqMap = ibooker.
book2D(
"DAQSummaryMap",
"DT Certification Summary Map",12,1,13,5,-2,3);
72 streams <<
"DT_Wheel" <<
wheel;
83 if(
setup.find(recordKey) !=
nullptr) {
98 vector<int> fedInIDs = sumFED->
m_fed_in;
102 const int FEDIDMax = 774;
105 for(vector<int>::const_iterator fed = fedInIDs.begin();
106 fed != fedInIDs.end();
109 if(!(*fed >= FEDIDmin && *fed <= FEDIDMax))
continue;
116 for(
int ros = 1; ros != 13; ++ros) {
117 if(!
mapping->
readOutToGeometry(*fed,ros,2,2,2,wheel,dummy,sector,dummy,dummy,dummy)) {
118 LogTrace(
"DQM|DTMonitorClient|DTDAQInfo")
119 <<
"FED: " << *fed <<
" Ch: " << ros <<
" wheel: " << wheel <<
" Sect: " << sector << endl;
128 LogWarning(
"DQM|DTMonitorClient|DTDAQInfo") <<
"*** Warning: record key not found for RunInfoRcd" << endl;
130 for(
int wheel = -2; wheel != 3; ++
wheel) {
143 if(
setup.find(recordKey) !=
nullptr) {
157 vector<int> fedInIDs = sumFED->
m_fed_in;
164 for(vector<int>::const_iterator fed = fedInIDs.begin();
165 fed != fedInIDs.end();
168 if(!(*fed >= FEDIDmin && *fed <= FEDIDMax))
continue;
174 for(
int ros = 1; ros != 13; ++ros) {
175 if(!
mapping->
readOutToGeometry(*fed,ros,2,2,2,wheel,dummy,sector,dummy,dummy,dummy)) {
176 LogTrace(
"DQM|DTMonitorClient|DTDAQInfo")
177 <<
"FED: " << *fed <<
" Ch: " << ros <<
" wheel: " << wheel <<
" Sect: " << sector << endl;
185 LogWarning(
"DQM|DTMonitorClient|DTDAQInfo") <<
"*** Warning: record key not found for RunInfoRcd" << endl;
187 for(
int wheel = -2; wheel != 3; ++
wheel) {
std::pair< const char *, const std::type_info * > findType(const char *iClassName)
std::map< int, MonitorElement * > daqFractions
int readOutToGeometry(int dduId, int rosId, int robId, int tdcId, int channelId, DTWireId &wireId) const
transform identifiers
def setup(process, global_tag, zero_tesla=False)
edm::ESHandle< DTReadOutMapping > mapping
std::vector< int > m_fed_in
double getFloatValue(void) const
MonitorElement * totalDAQFraction
void setCurrentFolder(const std::string &fullpath)
MonitorElement * book2D(Args &&...args)
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)
void Reset(void)
reset ME (ie. contents, errors, etc)