39 std::vector<double> parVecVec(functionPtr->parameters());
40 std::vector<double>::const_iterator parVec = parVecVec.begin();
41 std::vector<int> functionId(functionPtr->identifiers());
42 std::vector<int>::const_iterator
id = functionId.begin();
43 std::cout <<
"total number of parameters read from database = parVecVec.size() = " << parVecVec.size() << std::endl;
45 for (;
id != functionId.end(); ++
id, ++iFunc) {
46 int parNum = functionPtr->function(iFunc)->parNum();
47 std::cout <<
"For function id = " << *
id <<
", with " << parNum <<
" parameters: " << std::endl;
48 for (
int par = 0; par < parNum; ++par) {
49 std::cout <<
"par[" << par <<
"] = " << *parVec << std::endl;
std::shared_ptr< MomentumScaleCorrector > corrector_
std::shared_ptr< BackgroundFunction > background_
void analyze(const edm::Event &, const edm::EventSetup &) override
uint16_t *__restrict__ id
void initialize(const edm::EventSetup &iSetup)
DBReader(const edm::ParameterSet &)
void printParameters(const T &functionPtr)
std::shared_ptr< ResolutionFunction > resolution_