Go to the documentation of this file.
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);
void produce(edm::Event &, const edm::EventSetup &) override
void endLuminosityBlock(const edm::LuminosityBlock &, edm::EventSetup const &) override
edm::InputTag m_barrelTfInputTag
#define DEFINE_FWK_MODULE(type)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
const_iterator begin(int bx) const
void endRun(const edm::Run &, edm::EventSetup const &) override
const_iterator end(int bx) const
L1TBMTFConverter(const edm::ParameterSet &)
edm::EDGetTokenT< RegionalMuonCandBxCollection > m_barrelTfInputToken
void beginLuminosityBlock(const edm::LuminosityBlock &, edm::EventSetup const &) override
void setHwEta(int bits)
Set compressed eta as transmitted by hardware LSB = 0.010875 (9 bits)
BXVector< RegionalMuonCand > RegionalMuonCandBxCollection
~L1TBMTFConverter() override
T getParameter(std::string const &) const
std::map< int, int > ptMap_
void beginRun(const edm::Run &, edm::EventSetup const &) override
void addDefault(ParameterSetDescription const &psetDescription)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)