Definition at line 95 of file DTBlockedROChannelsTest.h.
DTBlockedROChannelsTest::DTRobBinsMap::DTRobBinsMap |
( |
const int |
fed, |
|
|
const int |
ros, |
|
|
const DQMStore * |
dbe |
|
) |
| |
Definition at line 297 of file DTBlockedROChannelsTest.cc.
References DTBlockedROChannelsTest::dbe, dduHName, DQMStore::get(), meDDU, meROS, rosHName, and theDbe.
300 stringstream mename; mename <<
"DT/00-DataIntegrity/FED" << fed <<
"/ROS" << ros
301 <<
"/FED" << fed <<
"_ROS" << ros <<
"_ROSError";
304 stringstream whname; whname <<
"DT/00-DataIntegrity/FED" << fed
305 <<
"/FED" << fed <<
"_ROSStatus";
const MonitorElement * meROS
const MonitorElement * meDDU
MonitorElement * get(const std::string &path) const
get ME from full pathname (e.g. "my/long/dir/my_histo")
DTBlockedROChannelsTest::DTRobBinsMap::DTRobBinsMap |
( |
| ) |
|
DTBlockedROChannelsTest::DTRobBinsMap::~DTRobBinsMap |
( |
| ) |
|
void DTBlockedROChannelsTest::DTRobBinsMap::addRobBin |
( |
int |
robBin | ) |
|
double DTBlockedROChannelsTest::DTRobBinsMap::getChamberPercentage |
( |
| ) |
|
Definition at line 377 of file DTBlockedROChannelsTest.cc.
380 int nChangedROBs = 0;
389 for(map<int, int>::const_iterator robAndValue =
robsAndValues.begin();
391 if(
robChanged((*robAndValue).first)) nChangedROBs++;
393 return 1.-((double)nChangedROBs/(
double)
robsAndValues.size());
const MonitorElement * meROS
const MonitorElement * meDDU
MonitorElement * get(const std::string &path) const
get ME from full pathname (e.g. "my/long/dir/my_histo")
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::readNewValues |
( |
| ) |
|
Definition at line 397 of file DTBlockedROChannelsTest.cc.
402 for(map<int, int>::const_iterator robAndValue =
robsAndValues.begin();
const MonitorElement * meROS
const MonitorElement * meDDU
MonitorElement * get(const std::string &path) const
get ME from full pathname (e.g. "my/long/dir/my_histo")
std::map< int, int > robsAndValues
bool robChanged(int robBin)
bool DTBlockedROChannelsTest::DTRobBinsMap::robChanged |
( |
int |
robBin | ) |
|
Definition at line 358 of file DTBlockedROChannelsTest.cc.
361 LogWarning(
"DTDQM|DTRawToDigi|DTMonitorClient|DTBlockedROChannelsTest")
362 <<
"[DTRobBinsMap]***Error: ROB: " << robBin <<
" is not valid" << endl;
int getValueRobBin(int robBin) const
std::map< int, int > robsAndValues
std::string DTBlockedROChannelsTest::DTRobBinsMap::dduHName |
|
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 |
const DQMStore* DTBlockedROChannelsTest::DTRobBinsMap::theDbe |
|
private |