50 _connectString =
pset.getParameter<
string>(
"connectString");
54 _viewName =
pset.getParameter<
string>(
"viewName");
55 _schemaName =
pset.getParameter<
string>(
"schemaName");
58 _runNumber =
pset.getParameter<
int>(
"runNumber");
59 _configKeyName =
pset.getParameter<
string>(
"configKeyName");
62 _sinceIOV =
pset.getParameter<
unsigned int>(
"sinceIOV");
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;
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.
void getNewObjects_coral() override
PixelPopConCalibSourceHandler(edm::ParameterSet const &)
This class implements the steps that are used in a scan over Threshold and CalDelay.