77 m_barrelTfInputToken = consumes<RegionalMuonCandBxCollection>(m_barrelTfInputTag);
79 produces<RegionalMuonCandBxCollection>(
"ConvBMTFMuons");
130 iEvent.getByToken(m_barrelTfInputToken, bmtfMuons);
131 for (
auto mu = bmtfMuons->
begin(0);
mu != bmtfMuons->
end(0); ++
mu) {
136 int convEta = (
mu->hwEta() - 32) * 3.54;
141 convMuons->push_back(0, convMu);
T getParameter(std::string const &) const
std::map< int, int > ptMap_
void endRun(const edm::Run &, edm::EventSetup const &) override
void beginLuminosityBlock(const edm::LuminosityBlock &, edm::EventSetup const &) override
BXVector< RegionalMuonCand > RegionalMuonCandBxCollection
~L1TBMTFConverter() override
L1TBMTFConverter(const edm::ParameterSet &)
edm::EDGetTokenT< RegionalMuonCandBxCollection > m_barrelTfInputToken
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
const_iterator begin(int bx) const
void addDefault(ParameterSetDescription const &psetDescription)
void beginRun(const edm::Run &, edm::EventSetup const &) override
#define DEFINE_FWK_MODULE(type)
void setHwEta(int bits)
Set compressed eta as transmitted by hardware LSB = 0.010875 (9 bits)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void produce(edm::Event &, const edm::EventSetup &) override
const_iterator end(int bx) const
edm::InputTag m_barrelTfInputTag
void endLuminosityBlock(const edm::LuminosityBlock &, edm::EventSetup const &) override