33 : printdebug_(iConfig.getUntrackedParameter<uint32_t>(
"printDebug", 1)), noisesToken_(
esConsumes()) {}
39 edm::LogInfo(
"SiStripNoisesReader") <<
"[SiStripNoisesReader::analyze] End Reading SiStripNoises" << std::endl;
41 std::vector<uint32_t> detid;
42 stripNoises.getDetIds(detid);
43 edm::LogInfo(
"Number of detids ") << detid.size() << std::endl;
46 for (
size_t id = 0;
id < detid.size() &&
id <
printdebug_;
id++) {
50 for (
int it = 0; it < (
range.second -
range.first) * 8 / 9; it++) {
51 edm::LogInfo(
"SiStripNoisesReader") <<
"detid " << detid[
id] <<
" \t" 52 <<
" strip " <<
strip++ <<
" \t" << stripNoises.getNoise(it,
range)
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
void analyze(const edm::Event &, const edm::EventSetup &) override
#define DEFINE_FWK_MODULE(type)
const uint32_t printdebug_
Namespace of DDCMS conversion namespace.
Log< level::Info, false > LogInfo
const edm::ESGetToken< SiStripNoises, SiStripNoisesRcd > noisesToken_
SiStripNoisesReader(const edm::ParameterSet &)
~SiStripNoisesReader() override
std::pair< ContainerIterator, ContainerIterator > Range