22 <<
" Constructing object...";
29 <<
" Destructing object...";
39 HistosMap::const_iterator iter;
40 Analyses::iterator ianal;
41 std::map<std::string, uint16_t>
errors;
44 for (ianal =
data().
begin(); ianal !=
data().end(); ianal++) {
60 if (iter->second.empty()) {
62 <<
" Zero histograms found!";
67 std::vector<TH1*> profs;
68 Histos::const_iterator ihis = iter->second.begin();
69 for (; ihis != iter->second.end(); ihis++) {
72 profs.push_back(prof);
83 if (!
anal->foundTickMark()) {
88 if (
anal->time() > time_max) {
89 time_max =
anal->time();
90 device_max = iter->first;
94 if (
anal->time() < time_min) {
95 time_min =
anal->time();
96 device_min = iter->first;
103 <<
" Unable to set maximum time! Found unexpected value: " << time_max;
108 <<
" Crate/FEC/Ring/CCU/module/channel: " <<
min.fecCrate() <<
"/" <<
min.fecSlot()
109 <<
"/" <<
min.fecRing() <<
"/" <<
min.ccuAddr() <<
"/" <<
min.ccuChan() <<
"/"
110 <<
min.lldChan() <<
" has minimum time for tick mark rising edge [ns]: " << time_min;
114 <<
" Crate/FEC/Ring/CCU/module/channel: " <<
max.fecCrate() <<
"/" <<
max.fecSlot()
115 <<
"/" <<
max.fecRing() <<
"/" <<
max.ccuAddr() <<
"/" <<
max.ccuChan() <<
"/"
116 <<
max.lldChan() <<
" has maximum time for tick mark rising edge [ns]: " << time_max;
119 <<
" Difference b/w minimum and maximum times"
120 <<
" for tick mark rising edges [ns] is: " << (time_max - time_min);
124 for (ianal =
data().begin(); ianal !=
data().end(); ianal++) {
129 anal->refTime(time_max, this->
pset().getParameter<int>(
"TargetDelay"));
130 if (
anal->isValid()) {
133 if (!
anal->getErrorCodes().empty()) {
140 <<
" Analyzed histograms for " <<
histos().size() <<
" FED channels, of which "
144 <<
" No histograms to analyze!";
149 <<
" Analyzed histograms for " <<
histos().size() <<
" FED channels, of which "
153 std::stringstream
ss;
155 std::map<std::string, uint16_t>::const_iterator
ii;
157 ss <<
" " <<
ii->first <<
": " <<
ii->second << std::endl;
162 <<
"%): " <<
ss.str();
166 <<
" No histograms to analyze!";