14 printdebug_(iConfig.getUntrackedParameter<uint32_t>(
"printDebug",1)){}
22 edm::LogInfo(
"SiStripApvGainReader") <<
"[SiStripApvGainReader::analyze] End Reading SiStripApvGain" << std::endl;
24 std::vector<uint32_t>
detid;
25 SiStripApvGain_->getDetIds(detid);
26 edm::LogInfo(
"Number of detids ") << detid.size() << std::endl;
29 for (
size_t id=0;
id<detid.size() &&
id<
printdebug_;
id++)
34 for(
int it=0;it<range.second-range.first;it++){
35 edm::LogInfo(
"SiStripApvGainReader") <<
"detid " << detid[id] <<
" \t"
36 <<
" apv " << apv++ <<
" \t"
37 << SiStripApvGain_->getApvGain(it,range) <<
" \t"
std::pair< ContainerIterator, ContainerIterator > Range
void analyze(const edm::Event &, const edm::EventSetup &)
SiStripApvGainReader(const edm::ParameterSet &)