33 : printdebug_(iConfig.getUntrackedParameter<uint32_t>(
"printDebug", 1)), summaryToken_(
esConsumes()) {}
37 edm::LogInfo(
"SiStripSummaryReader") <<
"[SiStripSummaryReader::analyze] End Reading SiStripSummary" << std::endl;
39 std::vector<uint32_t> detid =
summary.getDetIds();
41 std::vector<std::string> userDB =
summary.getUserDBContent();
43 for (
size_t i = 0;
i < userDB.size(); ++
i)
44 ss << userDB[
i] <<
" \n";
47 for (
size_t id = 0;
id < detid.size();
id++) {
48 ss <<
"\n\tdetid " << detid[
id];
53 ss <<
"\n\t\t " << userDB[
c++] <<
" " << *it;
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
std::pair< ContainerIterator, ContainerIterator > Range
const edm::ESGetToken< SiStripSummary, SiStripSummaryRcd > summaryToken_
void analyze(const edm::Event &, const edm::EventSetup &) override
#define DEFINE_FWK_MODULE(type)
SiStripSummaryReader(const edm::ParameterSet &)
Log< level::Info, false > LogInfo
~SiStripSummaryReader() override=default
std::vector< float >::const_iterator ContainerIterator