17 edm::LogInfo(
"DBReader") <<
"[DBReader::analyze] End Reading MuScleFitDBobjectRcd" << std::endl;
19 std::cout <<
"identifiers size from dbObject = " << dbObject->identifiers.size() << std::endl;
20 std::cout <<
"parameters size from dbObject = " << dbObject->parameters.size() << std::endl;
27 else if (
type_ ==
"resolution")
29 else if (
type_ ==
"background")
32 std::cout <<
"Error: unrecognized type. Use one of those: 'scale', 'resolution', 'background'" << std::endl;
47 else if (
type_ ==
"resolution")
49 else if (
type_ ==
"background")
std::shared_ptr< MomentumScaleCorrector > corrector_
std::shared_ptr< BackgroundFunction > background_
void analyze(const edm::Event &, const edm::EventSetup &) override
#define DEFINE_FWK_MODULE(type)
void initialize(const edm::EventSetup &iSetup)
DBReader(const edm::ParameterSet &)
void printParameters(const T &functionPtr)
std::shared_ptr< ResolutionFunction > resolution_
Log< level::Info, false > LogInfo
T const * product() const