27 <<
"[FedCablingHistograms::" << __func__ <<
"]" 28 <<
" Constructing object...";
35 <<
"[FedCablingHistograms::" << __func__ <<
"]" 36 <<
" Destructing object...";
43 <<
"[FedCablingHistograms::" << __func__ <<
"]";
46 HistosMap::const_iterator iter;
47 Analyses::iterator ianal;
50 for ( ianal =
data_.begin(); ianal !=
data_.end(); ianal++ ) {
51 if ( ianal->second ) {
delete ianal->second; }
57 iter !=
histos().end(); iter++ ) {
60 if ( iter->second.empty() ) {
62 <<
"[FedCablingHistograms::" << __func__ <<
"]" 63 <<
" Zero histograms found!";
68 std::vector<TH1*> profs;
69 Histos::const_iterator ihis = iter->second.begin();
70 for ( ; ihis != iter->second.end(); ihis++ ) {
72 if ( prof ) { profs.push_back(prof); }
79 data_[iter->first] = anal;
80 if ( anal->
isValid() ) { valid++; }
86 <<
"[FedCablingHistograms::" << __func__ <<
"]" 87 <<
" Analyzed histograms for " <<
histos().size()
88 <<
" FED channels, of which " << valid
89 <<
" (" << 100 * valid /
histos().size()
93 <<
"[FedCablingHistograms::" << __func__ <<
"]" 94 <<
" No histograms to analyze!";
102 Analyses::iterator ianal =
data_.begin();
103 Analyses::iterator janal =
data_.end();
104 for ( ; ianal != janal; ++ianal ) {
105 if ( ianal->second ) {
106 std::stringstream ss;
107 ianal->second->print( ss );
121 <<
"[FedCablingHistograms::" << __func__ <<
"]";
void analysis(const std::vector< TH1 * > &)
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 &)
int extract(std::vector< int > *output, const std::string &dati)
~FedCablingHistograms() override
FedCablingHistograms(const edm::ParameterSet &pset, DQMStore *)
bool isValid() const override
Histogram-based analysis for connection loop.
const HistosMap & histos() const
void histoAnalysis(bool debug) override