15 edm::LogInfo(
"SiStripPedestalsBuilder") <<
"... 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(); it != DetInfos.end(); it++){
28 for(
int strip=0; strip<128*it->second.nApvs;++strip){
33 float ped = CLHEP::RandGauss::shoot(MeanPed,RmsPed);
36 edm::LogInfo(
"SiStripPedestalsBuilder") <<
"detid " << it->first <<
" \t"
37 <<
" strip " << strip <<
" \t"
40 obj->
setData(ped,theSiStripVector);
44 if ( ! obj->
put(it->first,theSiStripVector) )
45 edm::LogError(
"SiStripPedestalsBuilder")<<
"[SiStripPedestalsBuilder::analyze] detid already exists"<<std::endl;
60 edm::LogError(
"SiStripPedestalsBuilder")<<
"Service is unavailable"<<std::endl;
void appendSinceTime(T *payloadObj, cond::Time_t sinceTime, const std::string &recordName, bool withlogging=false)
std::vector< uint16_t > InputVector
bool isNewTagRequest(const std::string &recordName)
cond::Time_t beginOfTime() const
void createNewIOV(T *firstPayloadObj, cond::Time_t firstSinceTime, cond::Time_t firstTillTime, const std::string &recordName, bool withlogging=false)
bool put(const uint32_t &detID, InputVector &input)
cond::Time_t endOfTime() const
void setData(float ped, InputVector &vped)
cond::Time_t currentTime() const
std::string fullPath() const