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)
#define DEFINE_FWK_MODULE(type)
void analyze(const edm::Event &, const edm::EventSetup &) override
const uint32_t printdebug_
bool getData(T &iHolder) const
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