35 : printdebug_(iConfig.getUntrackedParameter<uint32_t>(
"printDebug", 1)), pedestalsToken_(
esConsumes()) {}
39 edm::LogInfo(
"SiStripPedestalsReader") <<
"[SiStripPedestalsReader::analyze] End Reading SiStripPedestals" 42 std::vector<uint32_t> detid;
43 pedestals.getDetIds(detid);
44 edm::LogInfo(
"Number of detids ") << detid.size() << std::endl;
47 for (
size_t id = 0;
id < detid.size() &&
id <
printdebug_;
id++) {
51 for (
int it = 0; it < (
range.second -
range.first) * 8 / 10; it++) {
53 <<
"detid " << detid[
id] <<
" \t" 54 <<
" strip " <<
strip++ <<
" \t" << pedestals.getPed(it,
range) <<
" \t" << std::endl;
const edm::ESGetToken< SiStripPedestals, SiStripPedestalsRcd > pedestalsToken_
~SiStripPedestalsReader() override=default
#define DEFINE_FWK_MODULE(type)
void analyze(const edm::Event &, const edm::EventSetup &) override
std::pair< ContainerIterator, ContainerIterator > Range
bool getData(T &iHolder) const
Namespace of DDCMS conversion namespace.
Log< level::Info, false > LogInfo
SiStripPedestalsReader(const edm::ParameterSet &)