54 produces<nanoaod::MergeableCounterTable, edm::Transition::BeginLuminosityBlock>();
63 auto out = std::make_unique<nanoaod::MergeableCounterTable>();
64 out->addFloat(
"crossingAngle",
"LHC crossing angle",
info.crossingAngle());
65 out->addFloat(
"betaStar",
"LHC beta star",
info.betaStar());
66 out->addFloat(
"energy",
"LHC beam energy",
info.energy());
#define DEFINE_FWK_MODULE(type)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void addDefault(ParameterSetDescription const &psetDescription)
void produce(edm::StreamID id, edm::Event &iEvent, const edm::EventSetup &iSetup) const override
void put(std::unique_ptr< PROD > product)
Put a new product.
LHCInfoProducer(edm::ParameterSet const &)
bool getData(T &iHolder) const
edm::ESGetToken< LHCInfo, LHCInfoRcd > lhcinfoToken_
~LHCInfoProducer() override
void globalBeginLuminosityBlockProduce(edm::LuminosityBlock &iLumi, edm::EventSetup const &iSetup) const override