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)
uint16_t *__restrict__ id
#define DEFINE_FWK_MODULE(type)
const uint16_t range(const Frame &aFrame)
bool getData(T &iHolder) const
void analyze(const edm::Event &, const edm::EventSetup &) override
const uint32_t printdebug_
Log< level::Info, false > LogInfo
const edm::ESGetToken< SiStripNoises, SiStripNoisesRcd > noisesToken_
SiStripNoisesReader(const edm::ParameterSet &)
~SiStripNoisesReader() override
std::pair< ContainerIterator, ContainerIterator > Range