23 factory_ = std::make_unique<DaqScopeModeSummaryFactory>();
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);
73 profs.push_back(prof);
83 if (
anal->isValid()) {
86 if (!
anal->getErrorCodes().empty()) {
93 <<
" Analyzed histograms for " <<
histos().size() <<
" FED channels, of which " 99 std::map<std::string, uint16_t>::const_iterator
ii;
101 ss <<
" " <<
ii->first <<
": " <<
ii->second << std::endl;
106 <<
"%): " <<
ss.str();
110 <<
" No histograms to analyze!";
116 Analyses::iterator ianal =
data().begin();
117 Analyses::iterator janal =
data().end();
118 for (; ianal != janal; ++ianal) {
120 std::stringstream
ss;
121 ianal->second->print(
ss, 1);
122 ianal->second->print(
ss, 2);
123 if (ianal->second->isValid()) {
Log< level::Info, true > LogVerbatim
const HistosMap & histos() const
void printAnalyses() override
Analyses & data(bool getMaskedData=false)
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_
const edm::ParameterSet & pset() const
~DaqScopeModeHistograms() override
Log< level::Warning, false > LogWarning
Analysis for scope mode data.