Definition at line 95 of file DTBlockedROChannelsTest.h.
DTBlockedROChannelsTest::DTRobBinsMap::DTRobBinsMap |
( |
const int |
fed, |
|
|
const int |
ros, |
|
|
const DQMStore * |
dbe |
|
) |
| |
Definition at line 303 of file DTBlockedROChannelsTest.cc.
References DTBlockedROChannelsTest::dbe, dduHName, DQMStore::get(), meDDU, meROS, rosHName, and theDbe.
309 stringstream mename; mename <<
"DT/00-DataIntegrity/FED" << fed <<
"/ROS" << ros
310 <<
"/FED" << fed <<
"_ROS" << ros <<
"_ROSError";
313 stringstream whname; whname <<
"DT/00-DataIntegrity/FED" << fed
314 <<
"/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 384 of file DTBlockedROChannelsTest.cc.
387 int nChangedROBs = 0;
396 for(map<int, int>::const_iterator robAndValue =
robsAndValues.begin();
398 if(
robChanged((*robAndValue).first)) nChangedROBs++;
400 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 404 of file DTBlockedROChannelsTest.cc.
409 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 365 of file DTBlockedROChannelsTest.cc.
368 LogWarning(
"DTDQM|DTRawToDigi|DTMonitorClient|DTBlockedROChannelsTest")
369 <<
"[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 |