50 _connectString = pset.
getParameter<
string>(
"connectString");
59 _configKeyName = pset.
getParameter<
string>(
"configKeyName");
70 return string(
"PixelPopConCalibSourceHandler");
76 cout <<
"I'm sorry, the PixelPopConCalibSourceHandler::getNewObjects_coral() is not currently working." << endl;
77 cout <<
"I am not able to build calibration configuration objects from the database" << endl;
276 if (_connectString.find(
"file://") != 0) {
277 cout <<
"Invalid connectString: " << _connectString << endl;
278 cout <<
"It should begin with \"file://\"" << endl;
282 string inputFilename = _connectString.erase(0, 7);
284 cout <<
"PopCon-ing the calibration configuration file located at " << inputFilename << endl;
288 auto calibConfig = std::make_shared<SiPixelCalibConfiguration>(fancyCalib);
290 m_iovs.insert(std::make_pair(_sinceIOV, calibConfig));
~PixelPopConCalibSourceHandler() override
void getNewObjects_file() override
std::string id() const override
This class implements the steps that are used in a scan over Threshold and CalDelay.
T getParameter(std::string const &) const
void getNewObjects_coral() override
PixelPopConCalibSourceHandler(edm::ParameterSet const &)
This class implements the steps that are used in a scan over Threshold and CalDelay.