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++) {
53 long int ichannel = 0;
54 long int nchannel =
histos().size();
57 if (iter->second.empty()) {
59 <<
" Zero histograms found!";
64 std::vector<TH1*>
hists;
65 Histos::const_iterator ihis = iter->second.begin();
67 for (; ihis != iter->second.end(); ihis++) {
71 hists.push_back(prof);
76 hists.push_back(his2D);
80 if (ichannel % 100 == 0)
82 <<
" Analyzing channel " << ichannel <<
" out of " << nchannel;
101 <<
" Analyzed histograms for " <<
histos().size() <<
" FED channels, of which " 102 << valid <<
" (" << 100 * valid /
histos().size() <<
"%) are valid.";
103 if (!errors.empty()) {
105 std::stringstream
ss;
107 std::map<std::string, uint16_t>::const_iterator
ii;
108 for (ii = errors.begin(); ii != errors.end(); ++
ii) {
109 ss <<
" " << ii->first <<
": " << ii->second << std::endl;
113 <<
" Found " << count <<
" errors (" << 100 * count /
histos().size()
114 <<
"%): " << ss.str();
118 <<
" No histograms to analyze!";
125 Analyses::iterator ianal =
data().begin();
126 Analyses::iterator janal =
data().end();
127 for (; ianal != janal; ++ianal) {
129 std::stringstream
ss;
130 ianal->second->print(ss, 1);
131 ianal->second->print(ss, 2);
132 if (ianal->second->isValid()) {
void analysis(const std::vector< TH1 * > &)
Analyses & data(bool getMaskedData=false)
const edm::ParameterSet & pset() const
void printAnalyses() override
static const char mlDqmClient_[]
Histogram-based analysis for pedestal run.
Histogram-based analysis for pedestal run.
PedsFullNoiseHistograms(const edm::ParameterSet &pset, DQMStore *)
~PedsFullNoiseHistograms() override
int extract(std::vector< int > *output, const std::string &dati)
std::unique_ptr< Factory > factory_
const VString & getErrorCodes() const
bool isValid() const override
const HistosMap & histos() const
void histoAnalysis(bool debug) override