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;
const edm::EventSetup & c
uint16_t *__restrict__ id
#define DEFINE_FWK_MODULE(type)
std::pair< ContainerIterator, ContainerIterator > Range
const uint16_t range(const Frame &aFrame)
bool getData(T &iHolder) const
const edm::ESGetToken< SiStripSummary, SiStripSummaryRcd > summaryToken_
void analyze(const edm::Event &, const edm::EventSetup &) override
SiStripSummaryReader(const edm::ParameterSet &)
Log< level::Info, false > LogInfo
~SiStripSummaryReader() override=default
std::vector< float >::const_iterator ContainerIterator