Go to the documentation of this file.
32 : fromDD4Hep_(ps.getParameter<
bool>(
"fromDD4Hep")) {
34 edm::LogVerbatim(
"HCalGeom") <<
"HcalParametersDBBuilder::HcalParametersDBBuilder called with dd4hep: "
41 desc.
add<
bool>(
"fromDD4Hep",
false);
42 descriptions.
add(
"HcalParametersWriter", desc);
49 edm::LogError(
"HcalParametersDBBuilder") <<
"PoolDBOutputService unavailable";
57 edm::LogVerbatim(
"HCalGeom") <<
"HcalParametersDBBuilder::Try to access cms::DDCompactView";
61 builder.
build((*cpv), *php);
64 edm::LogVerbatim(
"HCalGeom") <<
"HcalParametersDBBuilder::Try to access DDCompactView";
68 builder.
build(&(*cpv), *php);
75 edm::LogError(
"HcalParametersDBBuilder") <<
"HcalParameters and HcalParametersRcd Tag already present";
void beginRun(edm::Run const &iEvent, edm::EventSetup const &) override
ParameterDescriptionBase * add(U const &iLabel, T const &value)
cond::Time_t beginOfTime() const
HcalParametersDBBuilder(const edm::ParameterSet &)
#define DEFINE_FWK_MODULE(type)
bool build(const DDCompactView *, HcalParameters &)
void analyze(edm::Event const &iEvent, edm::EventSetup const &) override
void add(std::string const &label, ParameterSetDescription const &psetDescription)
void createNewIOV(const T *firstPayloadObj, cond::Time_t firstSinceTime, cond::Time_t, const std::string &recordName)
cond::Time_t endOfTime() const
void endRun(edm::Run const &iEvent, edm::EventSetup const &) override
bool isNewTagRequest(const std::string &recordName)
static void fillDescriptions(edm::ConfigurationDescriptions &)