34 for ( uint16_t iter = 0; iter < 2; iter++ ) {
41 <<
"[FedCablingTask::" << __func__ <<
"]" 42 <<
" Unexpected number of HistoSets: " << iter;
53 histos_[iter].histo(
dqm()->bookProfile( title, title,
54 nbins, -0.5, nbins*1.-0.5,
57 histos_[iter].vNumOfEntries_.resize(nbins,0);
58 histos_[iter].vSumOfContents_.resize(nbins,0);
59 histos_[iter].vSumOfSquares_.resize(nbins,0);
68 const uint16_t& fed_id,
69 const std::map<uint16_t,float>& fed_ch ) {
71 if ( fed_ch.empty() ) {
73 <<
"[FedCablingTask::" << __func__ <<
"]" 74 <<
" No FED channels with high signal!";
78 <<
"[FedCablingTask::" << __func__ <<
"]" 79 <<
" Found " << fed_ch.size()
80 <<
" FED channels with high signal!";
83 std::map<uint16_t,float>::const_iterator ichan = fed_ch.begin();
84 for ( ; ichan != fed_ch.end(); ichan++ ) {
94 for ( uint32_t iter = 0; iter <
histos_.size(); iter++ ) {
static const char feDriver_[]
Utility class that holds histogram title.
const std::string & title() const
static const char mlDqmSource_[]
void updateHistoSet(HistoSet &, const uint32_t &bin, const float &value)
std::vector< HistoSet > histos_
Class containning control, module, detector and connection information, at the level of a FED channel...
static const char fedChannel_[]
FedCablingTask(DQMStore *, const FedChannelConnection &)
DQMStore *const dqm() const
virtual void fill(const SiStripEventSummary &, const uint16_t &fed_id, const std::map< uint16_t, float > &fed_ch)
const uint32_t & fedKey() const
virtual ~FedCablingTask()
const FedChannelConnection & connection() const