Definition at line 93 of file DTBlockedROChannelsTest.h.
DTBlockedROChannelsTest::DTRobBinsMap::DTRobBinsMap |
( |
const int |
fed, |
|
|
const int |
ros, |
|
|
const DQMStore * |
dbe |
|
) |
| |
Definition at line 301 of file DTBlockedROChannelsTest.cc.
References DTBlockedROChannelsTest::dbe, dduHName, DQMStore::get(), meDDU, meROS, rosHName, and theDbe.
307 stringstream mename; mename <<
"DT/00-DataIntegrity/FED" << fed <<
"/ROS" << ros
308 <<
"/FED" << fed <<
"_ROS" << ros <<
"_ROSError";
311 stringstream whname; whname <<
"DT/00-DataIntegrity/FED" << fed
312 <<
"/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 382 of file DTBlockedROChannelsTest.cc.
385 int nChangedROBs = 0;
394 for(map<int, int>::const_iterator robAndValue =
robsAndValues.begin();
396 if(
robChanged((*robAndValue).first)) nChangedROBs++;
398 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::init |
( |
bool |
v | ) |
|
|
inline |
void DTBlockedROChannelsTest::DTRobBinsMap::readNewValues |
( |
| ) |
|
Definition at line 402 of file DTBlockedROChannelsTest.cc.
407 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 363 of file DTBlockedROChannelsTest.cc.
366 LogWarning(
"DTDQM|DTRawToDigi|DTMonitorClient|DTBlockedROChannelsTest")
367 <<
"[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 |
const DQMStore* DTBlockedROChannelsTest::DTRobBinsMap::theDbe |
|
private |