22 factory_ = std::make_unique<OptoScanSummaryFactory>();
24 <<
" Constructing object...";
31 <<
" Denstructing object...";
41 HistosMap::const_iterator iter;
42 Analyses::iterator ianal;
43 std::map<std::string, uint16_t>
errors;
46 for (ianal =
data().begin(); ianal !=
data().end(); ianal++) {
54 for (iter =
histos().begin(); iter !=
histos().end(); iter++) {
56 if (iter->second.empty()) {
58 <<
" Zero histograms found!";
63 std::vector<TH1*> profs;
64 Histos::const_iterator ihis = iter->second.begin();
65 for (; ihis != iter->second.end(); ihis++) {
68 profs.push_back(prof);
77 if (
anal->isValid()) {
80 if (!
anal->getErrorCodes().empty()) {
87 <<
" Analyzed histograms for " <<
histos().size() <<
" FED channels, of which "
91 <<
" No histograms to analyze!";
96 <<
" Analyzed histograms for " <<
histos().size() <<
" FED channels, of which "
100 std::stringstream
ss;
102 std::map<std::string, uint16_t>::const_iterator
ii;
104 ss <<
" " <<
ii->first <<
": " <<
ii->second << std::endl;
109 <<
"%): " <<
ss.str();
113 <<
" No histograms to analyze!";
120 Analyses::iterator ianal =
data().begin();
121 Analyses::iterator janal =
data().end();
122 for (; ianal != janal; ++ianal) {
124 std::stringstream
ss;
125 if (ianal->second->isValid()) {
126 ianal->second->print(
ss);
129 ianal->second->print(
ss, 0);
130 ianal->second->print(
ss, 1);
131 ianal->second->print(
ss, 2);
132 ianal->second->print(
ss, 3);