Definition at line 80 of file DTBlockedROChannelsTest.h.
DTBlockedROChannelsTest::DTRobBinsMap::DTRobBinsMap |
( |
DQMStore::IGetter & |
igetter, |
|
|
const int |
fed, |
|
|
const int |
ros |
|
) |
| |
Definition at line 226 of file DTBlockedROChannelsTest.cc.
References dduHName, DQMStore::IGetter::get(), meDDU, meROS, and rosHName.
233 stringstream mename; mename <<
"DT/00-DataIntegrity/FED" << fed <<
"/ROS" << ros
234 <<
"/FED" << fed <<
"_ROS" << ros <<
"_ROSError";
237 stringstream whname; whname <<
"DT/00-DataIntegrity/FED" << fed
238 <<
"/FED" << fed <<
"_ROSStatus";
MonitorElement * get(const std::string &path)
const MonitorElement * meROS
const MonitorElement * meDDU
DTBlockedROChannelsTest::DTRobBinsMap::DTRobBinsMap |
( |
| ) |
|
DTBlockedROChannelsTest::DTRobBinsMap::~DTRobBinsMap |
( |
| ) |
|
void DTBlockedROChannelsTest::DTRobBinsMap::addRobBin |
( |
int |
robBin | ) |
|
double DTBlockedROChannelsTest::DTRobBinsMap::getChamberPercentage |
( |
DQMStore::IGetter & |
igetter | ) |
|
Definition at line 306 of file DTBlockedROChannelsTest.cc.
References DQMStore::IGetter::get().
309 int nChangedROBs = 0;
318 for(map<int, int>::const_iterator robAndValue =
robsAndValues.begin();
320 if(
robChanged((*robAndValue).first)) nChangedROBs++;
322 return 1.-((double)nChangedROBs/(
double)
robsAndValues.size());
MonitorElement * get(const std::string &path)
const MonitorElement * meROS
const MonitorElement * meDDU
std::map< int, int > robsAndValues
bool robChanged(int robBin)
int DTBlockedROChannelsTest::DTRobBinsMap::getValueRobBin |
( |
int |
robBin | ) |
const |
|
private |
int DTBlockedROChannelsTest::DTRobBinsMap::getValueRos |
( |
| ) |
const |
|
private |
void DTBlockedROChannelsTest::DTRobBinsMap::init |
( |
bool |
v | ) |
|
|
inline |
void DTBlockedROChannelsTest::DTRobBinsMap::readNewValues |
( |
DQMStore::IGetter & |
igetter | ) |
|
Definition at line 326 of file DTBlockedROChannelsTest.cc.
References DQMStore::IGetter::get().
331 for(map<int, int>::const_iterator robAndValue =
robsAndValues.begin();
MonitorElement * get(const std::string &path)
const MonitorElement * meROS
const MonitorElement * meDDU
std::map< int, int > robsAndValues
bool robChanged(int robBin)
bool DTBlockedROChannelsTest::DTRobBinsMap::robChanged |
( |
int |
robBin | ) |
|
Definition at line 287 of file DTBlockedROChannelsTest.cc.
290 LogWarning(
"DTDQM|DTRawToDigi|DTMonitorClient|DTBlockedROChannelsTest")
291 <<
"[DTRobBinsMap]***Error: ROB: " << robBin <<
" is not valid" << endl;
int getValueRobBin(int robBin) const
std::map< int, int > robsAndValues
std::string DTBlockedROChannelsTest::DTRobBinsMap::dduHName |
|
private |
bool DTBlockedROChannelsTest::DTRobBinsMap::init_ |
|
private |
std::map<int, int> DTBlockedROChannelsTest::DTRobBinsMap::robsAndValues |
|
private |
int DTBlockedROChannelsTest::DTRobBinsMap::rosBin |
|
private |
std::string DTBlockedROChannelsTest::DTRobBinsMap::rosHName |
|
private |
int DTBlockedROChannelsTest::DTRobBinsMap::rosValue |
|
private |