7 : fp_(iConfig.getUntrackedParameter<
edm::FileInPath>(
8 "file",
edm::FileInPath(
"CalibTracker/SiStripCommon/data/SiStripDetInfo.dat"))),
9 printdebug_(iConfig.getUntrackedParameter<uint32_t>(
"printDebug", 1)) {}
15 <<
"... creating dummy SiStripPedestals Data for Run " <<
run <<
"\n " << std::endl;
21 const std::map<uint32_t, SiStripDetInfoFileReader::DetInfo>& DetInfos =
reader.getAllData();
24 for (std::map<uint32_t, SiStripDetInfoFileReader::DetInfo>::const_iterator it = DetInfos.begin();
34 float ped = CLHEP::RandGauss::shoot(MeanPed, RmsPed);
37 edm::LogInfo(
"SiStripPedestalsBuilder") <<
"detid " << it->first <<
" \t"
38 <<
" strip " <<
strip <<
" \t" << ped <<
" \t" << std::endl;
39 obj->setData(ped, theSiStripVector);
43 if (!
obj->put(it->first, theSiStripVector))
45 <<
"[SiStripPedestalsBuilder::analyze] detid already exists" << std::endl;
60 edm::LogError(
"SiStripPedestalsBuilder") <<
"Service is unavailable" << std::endl;