23 factory_ = std::make_unique<FastFedCablingSummaryFactory>();
25 <<
" Constructing object...";
32 <<
" Destructing object...";
42 HistosMap::const_iterator iter;
43 Analyses::iterator ianal;
44 std::map<std::string, uint16_t>
errors;
47 for (ianal =
data().begin(); ianal !=
data().end(); ianal++) {
55 for (iter =
histos().begin(); iter !=
histos().end(); iter++) {
57 if (iter->second.empty()) {
59 <<
" Zero histograms found!";
64 std::vector<TH1*> profs;
65 Histos::const_iterator ihis = iter->second.begin();
66 for (; ihis != iter->second.end(); ihis++) {
69 profs.push_back(prof);
76 FedToFecMap::const_iterator ifed =
mapping().find(iter->first);
78 anal->fecKey(ifed->second);
82 if (
anal->isValid()) {
85 if (!
anal->getErrorCodes().empty()) {
92 <<
" Analyzed histograms for " <<
histos().size() <<
" FED channels, of which "
98 std::map<std::string, uint16_t>::const_iterator
ii;
100 ss <<
" " <<
ii->first <<
": " <<
ii->second << std::endl;
104 <<
" Found " <<
count <<
" error strings: " <<
ss.str();
108 <<
" No histograms to analyze!";
115 Analyses::iterator ianal =
data().begin();
116 Analyses::iterator janal =
data().end();
117 for (; ianal != janal; ++ianal) {
121 <<
" NULL pointer to analysis object!";
125 std::stringstream
ss;
127 if (
anal->isValid() && !(
anal->isDirty()) && !(
anal->badTrimDac())) {
138 std::stringstream good;
139 std::stringstream bad;
141 Analyses::iterator ianal =
data().begin();
142 Analyses::iterator janal =
data().end();
143 for (; ianal != janal; ++ianal) {
147 <<
" NULL pointer to analysis object!";
151 if (
anal->isValid() && !(
anal->isDirty()) && !(
anal->badTrimDac())) {
158 if (good.str().empty()) {
159 good <<
"None found!";
162 <<
" Printing summary of good analyses:"
166 if (bad.str().empty()) {
170 <<
" Printing summary of bad analyses:"