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);
OrphanHandle< PROD > put(std::unique_ptr< PROD > product)
Put a new product.
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
bool getByToken(EDGetToken token, Handle< PROD > &result) const
~L1TBMTFConverter() override
#define DEFINE_FWK_MODULE(type)
L1TBMTFConverter(const edm::ParameterSet &)
edm::EDGetTokenT< RegionalMuonCandBxCollection > m_barrelTfInputToken
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void addDefault(ParameterSetDescription const &psetDescription)
void beginRun(const edm::Run &, edm::EventSetup const &) override
void setHwEta(int bits)
Set compressed eta as transmitted by hardware LSB = 0.010875 (9 bits)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
T getParameter(std::string const &) const
void produce(edm::Event &, const edm::EventSetup &) override
edm::InputTag m_barrelTfInputTag
void endLuminosityBlock(const edm::LuminosityBlock &, edm::EventSetup const &) override