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++) {
54 if (iter->second.empty()) {
56 <<
" Zero histograms found!";
61 std::vector<TH1*> profs;
62 Histos::const_iterator ihis = iter->second.begin();
63 for (; ihis != iter->second.end(); ihis++) {
66 profs.push_back(prof);
88 <<
" Analyzed histograms for " <<
histos().size() <<
" FED channels, of which " 89 << valid <<
" (" << 100 * valid /
histos().size() <<
"%) are valid.";
90 if (!errors.empty()) {
94 std::map<std::string, uint16_t>::const_iterator
ii;
95 for (ii = errors.begin(); ii != errors.end(); ++
ii) {
96 ss <<
" " << ii->first <<
": " << ii->second << std::endl;
100 <<
" Found " << count <<
" errors (" << 100 * count /
histos().size()
101 <<
"%): " << ss.str();
105 <<
" No histograms to analyze!";
112 Analyses::iterator ianal =
data().begin();
113 Analyses::iterator janal =
data().end();
114 for (; ianal != janal; ++ianal) {
116 std::stringstream
ss;
117 ianal->second->print(ss, 1);
118 ianal->second->print(ss, 2);
119 if (ianal->second->isValid()) {
void analysis(const std::vector< TH1 * > &)
void printAnalyses() override
PedestalsHistograms(const edm::ParameterSet &pset, DQMStore *)
Analyses & data(bool getMaskedData=false)
bool isValid() const override
const edm::ParameterSet & pset() const
void histoAnalysis(bool debug) override
static const char mlDqmClient_[]
Histogram-based analysis for pedestal run.
~PedestalsHistograms() override
int extract(std::vector< int > *output, const std::string &dati)
std::unique_ptr< Factory > factory_
Histogram-based analysis for pedestal run.
const VString & getErrorCodes() const
const HistosMap & histos() const