10 using namespace sistrip;
29 for (uint16_t iter = 0; iter < 2; iter++) {
34 }
else if (iter == 1) {
39 <<
" Unexpected number of HistoSets: " << iter;
51 histos_[iter].histo(
dqm()->bookProfile(title, title, nbins, -0.5, nbins * 1. - 0.5, 1025, 0., 1025.));
53 histos_[iter].vNumOfEntries_.resize(nbins, 0);
54 histos_[iter].vSumOfContents_.resize(nbins, 0);
55 histos_[iter].vSumOfSquares_.resize(nbins, 0);
62 const uint16_t& fed_id,
63 const std::map<uint16_t, float>& fed_ch) {
66 <<
" No FED channels with high signal!";
70 <<
" Found " << fed_ch.size() <<
" FED channels with high signal!";
73 std::map<uint16_t, float>::const_iterator ichan = fed_ch.begin();
74 for (; ichan != fed_ch.end(); ichan++) {
83 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_
DQMStore *const dqm() const
Class containning control, module, detector and connection information, at the level of a FED channel...
static const char fedChannel_[]
FedCablingTask(DQMStore *, const FedChannelConnection &)
void fill(const SiStripEventSummary &, const uint16_t &fed_id, const std::map< uint16_t, float > &fed_ch) override
const uint32_t & fedKey() const
const FedChannelConnection & connection() const
Log< level::Warning, false > LogWarning
~FedCablingTask() override