14 for (std::vector<std::string>::iterator it =
values.begin(); it !=
values.end(); it++)
15 (*it).insert(0, prefix_str);
23 dir_path =
name.substr(0, (
name.find(
':')));
32 if (
name.find(
name) == std::string::npos)
37 std::vector<std::string>
values;
39 for (std::vector<std::string>::iterator it =
values.begin(); it !=
values.end(); it++) {
40 if ((*it).find(me_name) != std::string::npos) {
41 full_path = prefix_str + (*it);
58 while (std::string::npos !=
pos || std::string::npos != lastPos) {
60 tokens.push_back(
str.substr(lastPos,
pos - lastPos));
63 lastPos =
str.find_first_not_of(delimiters,
pos);
66 pos =
str.find_first_of(delimiters, lastPos);
122 if (
me->getQReports().empty()) {
124 }
else if (
me->hasError()) {
126 }
else if (
me->hasWarning()) {
128 }
else if (
me->hasOtherReport()) {
140 std::vector<std::string>& mfolders) {
142 if (currDir.find(
"module_") != std::string::npos) {
144 mfolders.push_back(currDir);
146 std::vector<std::string> subdirs = igetter.
getSubdirs();
147 for (std::vector<std::string>::const_iterator it = subdirs.begin(); it != subdirs.end(); it++) {
159 if (
me->getQReports().empty()) {
163 std::vector<QReport*> qreports =
me->getQReports();
164 bad_channels = qreports[0]->getBadChannels().size();
165 if (
me->hasError()) {
167 }
else if (
me->hasWarning()) {
169 }
else if (
me->hasOtherReport()) {
184 val = std::to_string(
me->getFloatValue());
186 val = std::to_string(
me->getIntValue());
199 std::vector<std::string> subDirVec = igetter.
getSubdirs();
200 for (std::vector<std::string>::const_iterator ic = subDirVec.begin(); ic != subDirVec.end(); ic++) {
202 if ((
fname.find(
"Reference") != std::string::npos) || (
fname.find(
"AlCaReco") != std::string::npos) ||
203 (
fname.find(
"HLT") != std::string::npos))
217 if (hname.find(
"FractionOfBadChannels") != std::string::npos)
219 else if (hname.find(
"NumberOfDigi") != std::string::npos)
221 else if (hname.find(
"NumberOfCluster") != std::string::npos)
223 else if (hname.find(
"ExcludedFedChannel") != std::string::npos)
225 else if (hname.find(
"DCSError") != std::string::npos)
233 message +=
" No Error";
236 if (((
flag >> 0) & 0
x1) > 0)
237 message +=
" Fed BadChannel : ";
238 if (((
flag >> 1) & 0
x1) > 0)
239 message +=
" # of Digi : ";
240 if (((
flag >> 2) & 0
x1) > 0)
241 message +=
" # of Clusters :";
242 if (((
flag >> 3) & 0
x1) > 0)
243 message +=
" Excluded FED Channel ";
244 if (((
flag >> 4) & 0
x1) > 0)
245 message +=
" DCSError ";