23 factory_ = std::make_unique<PedsFullNoiseSummaryFactory>();
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 long int ichannel = 0;
56 long int nchannel =
histos().size();
57 for (iter =
histos().begin(); iter !=
histos().end(); iter++) {
59 if (iter->second.empty()) {
61 <<
" Zero histograms found!";
66 std::vector<TH1*>
hists;
67 Histos::const_iterator ihis = iter->second.begin();
69 for (; ihis != iter->second.end(); ihis++) {
73 hists.push_back(prof);
78 hists.push_back(his2D);
82 if (ichannel % 100 == 0)
84 <<
" Analyzing channel " << ichannel <<
" out of " << nchannel;
93 if (
anal->isValid()) {
96 if (!
anal->getErrorCodes().empty()) {
103 <<
" Analyzed histograms for " <<
histos().size() <<
" FED channels, of which "
107 std::stringstream
ss;
109 std::map<std::string, uint16_t>::const_iterator
ii;
111 ss <<
" " <<
ii->first <<
": " <<
ii->second << std::endl;
116 <<
"%): " <<
ss.str();
120 <<
" No histograms to analyze!";
127 Analyses::iterator ianal =
data().begin();
128 Analyses::iterator janal =
data().end();
129 for (; ianal != janal; ++ianal) {
131 std::stringstream
ss;
132 ianal->second->print(
ss, 1);
133 ianal->second->print(
ss, 2);
134 if (ianal->second->isValid()) {