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());
void addWithDefaultLabel(ParameterSetDescription const &psetDescription)
T const & getData(const ESGetToken< T, R > &iToken) const noexcept(false)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
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 &)
#define DEFINE_FWK_MODULE(type)
edm::ESGetToken< LHCInfo, LHCInfoRcd > lhcinfoToken_
~LHCInfoProducer() override
void globalBeginLuminosityBlockProduce(edm::LuminosityBlock &iLumi, edm::EventSetup const &iSetup) const override