58 edm::LogInfo(
"SiStripDetVOffFakeBuilder") <<
"... creating dummy SiStripDetVOff Data for Run " << run <<
"\n " << std::endl;
66 for(std::vector<uint32_t>::const_iterator it =
detids.begin(); it !=
detids.end(); it++){
72 edm::LogInfo(
"SiStripDetVOffFakeBuilder") <<
"detid: " << *it <<
" HV\t OFF" << std::endl;
73 SiStripDetVOff_->
put( *it, 1, -1 );
77 edm::LogInfo(
"SiStripDetVOffFakeBuilder") <<
"detid: " << *it <<
" LV\t OFF" << std::endl;
78 SiStripDetVOff_->
put( *it, -1, 1 );
81 if( lv<=2 || hv<=2 )
edm::LogInfo(
"SiStripDetVOffFakeBuilder") <<
"detid: " << *it <<
" V\t OFF" << std::endl;
101 edm::LogError(
"SiStripDetVOffFakeBuilder")<<
"caught std::exception "<<er.what()<<std::endl;
104 edm::LogError(
"SiStripDetVOffFakeBuilder")<<
"Service is unavailable"<<std::endl;
virtual char const * what() const
Base exception class for the object to relational access.
bool put(const uint32_t DetId, const int HVoff, const int LVoff)
Insert information for a single detId.
void appendSinceTime(T *payloadObj, cond::Time_t sinceTime, const std::string &recordName, bool withlogging=false)
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)
cond::Time_t endOfTime() const
std::vector< uint32_t > detids
cond::Time_t currentTime() const
virtual void initialize(const edm::EventSetup &)