15 using namespace sistrip;
23 <<
" Constructing object...";
30 <<
" Destructing object...";
39 HistosMap::const_iterator iter;
40 Analyses::iterator ianal;
43 for (ianal =
data_.begin(); ianal !=
data_.end(); ianal++) {
53 if (iter->second.empty()) {
55 <<
" Zero histograms found!";
60 std::vector<TH1*> profs;
61 Histos::const_iterator ihis = iter->second.begin();
62 for (; ihis != iter->second.end(); ihis++) {
65 profs.push_back(prof);
73 data_[iter->first] = anal;
81 <<
" Analyzed histograms for " <<
histos().size() <<
" FED channels, of which "
82 << valid <<
" (" << 100 * valid /
histos().size() <<
"%) are valid.";
85 <<
" No histograms to analyze!";
92 Analyses::iterator ianal =
data_.begin();
93 Analyses::iterator janal =
data_.end();
94 for (; ianal != janal; ++ianal) {
97 ianal->second->print(ss);
98 if (ianal->second->isValid()) {
void analysis(const std::vector< TH1 * > &)
Log< level::Info, true > LogVerbatim
TH1 * histogram(const sistrip::Monitorable &, const sistrip::Presentation &, const sistrip::View &, const std::string &directory, const uint32_t &xbins, const float &xlow=1.*sistrip::invalid_, const float &xhigh=1.*sistrip::invalid_)
const edm::ParameterSet & pset() const
Histogram-based analysis for connection loop.
static const char mlDqmClient_[]
std::unique_ptr< Factory > factory_
void createSummaryHisto(const sistrip::Monitorable &, const sistrip::Presentation &, const std::string &top_level_dir, const sistrip::Granularity &) override
void printAnalyses() override
static std::string view(const sistrip::View &)
bool isValid() const override
int extract(std::vector< int > *output, const std::string &dati)
~FedCablingHistograms() override
FedCablingHistograms(const edm::ParameterSet &pset, DQMStore *)
Log< level::Warning, false > LogWarning
Histogram-based analysis for connection loop.
const HistosMap & histos() const
void histoAnalysis(bool debug) override