23 <<
" Constructing object...";
30 <<
" Destructing object...";
40 HistosMap::const_iterator iter;
41 Analyses::iterator ianal;
42 std::map<std::string, uint16_t>
errors;
45 for (ianal =
data().
begin(); ianal !=
data().end(); ianal++) {
55 if (iter->second.empty()) {
57 <<
" Zero histograms found!";
62 std::vector<TH1*> profs;
63 Histos::const_iterator ihis = iter->second.begin();
64 for (; ihis != iter->second.end(); ihis++) {
67 profs.push_back(prof);
71 profs.push_back(prof);
91 <<
" Analyzed histograms for " <<
histos().size() <<
" FED channels, of which " 92 << valid <<
" (" << 100 * valid /
histos().size() <<
"%) are valid.";
93 if (!errors.empty()) {
97 std::map<std::string, uint16_t>::const_iterator
ii;
98 for (ii = errors.begin(); ii != errors.end(); ++
ii) {
99 ss <<
" " << ii->first <<
": " << ii->second << std::endl;
103 <<
" Found " << count <<
" errors (" << 100 * count /
histos().size()
104 <<
"%): " << ss.str();
108 <<
" No histograms to analyze!";
114 Analyses::iterator ianal =
data().begin();
115 Analyses::iterator janal =
data().end();
116 for (; ianal != janal; ++ianal) {
118 std::stringstream
ss;
119 ianal->second->print(ss, 1);
120 ianal->second->print(ss, 2);
121 if (ianal->second->isValid()) {
void analysis(const std::vector< TH1 * > &)
void printAnalyses() override
Analyses & data(bool getMaskedData=false)
const edm::ParameterSet & pset() const
bool isValid() const override
static const char mlDqmClient_[]
void histoAnalysis(bool debug) override
DaqScopeModeHistograms(const edm::ParameterSet &pset, DQMStore *)
int extract(std::vector< int > *output, const std::string &dati)
Algorithm for scope mode data.
std::unique_ptr< Factory > factory_
~DaqScopeModeHistograms() override
const VString & getErrorCodes() const
const HistosMap & histos() const
Analysis for scope mode data.