80 m_barrelTfInputToken = consumes<RegionalMuonCandBxCollection>(m_barrelTfInputTag);
82 produces<RegionalMuonCandBxCollection>(
"ConvBMTFMuons");
139 iEvent.
getByToken(m_barrelTfInputToken, bmtfMuons);
140 for (
auto mu = bmtfMuons->
begin(0);
mu != bmtfMuons->
end(0); ++
mu) {
145 int convEta = (
mu->hwEta() - 32)*3.54;
150 convMuons->push_back(0, convMu);
const_iterator end(int bx) const
T getParameter(std::string const &) const
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
L1TBMTFConverter(const edm::ParameterSet &)
edm::EDGetTokenT< RegionalMuonCandBxCollection > m_barrelTfInputToken
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
#define DEFINE_FWK_MODULE(type)
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)
void produce(edm::Event &, const edm::EventSetup &) override
edm::InputTag m_barrelTfInputTag
const_iterator begin(int bx) const
void endLuminosityBlock(const edm::LuminosityBlock &, edm::EventSetup const &) override