55 virtual void endJob()
override ;
82 m_barrelTfInputToken = consumes<RegionalMuonCandBxCollection>(m_barrelTfInputTag);
84 produces<RegionalMuonCandBxCollection>(
"ConvBMTFMuons");
141 iEvent.
getByToken(m_barrelTfInputToken, bmtfMuons);
142 for (
auto mu = bmtfMuons->
begin(0);
mu != bmtfMuons->
end(0); ++
mu) {
147 int convEta = (
mu->hwEta() - 32)*3.54;
152 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_
virtual void endRun(const edm::Run &, edm::EventSetup const &) override
virtual void beginLuminosityBlock(const edm::LuminosityBlock &, edm::EventSetup const &) override
BXVector< RegionalMuonCand > RegionalMuonCandBxCollection
bool getByToken(EDGetToken token, Handle< PROD > &result) const
#define DEFINE_FWK_MODULE(type)
L1TBMTFConverter(const edm::ParameterSet &)
edm::EDGetTokenT< RegionalMuonCandBxCollection > m_barrelTfInputToken
virtual void beginJob() override
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void addDefault(ParameterSetDescription const &psetDescription)
virtual 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)
virtual void produce(edm::Event &, const edm::EventSetup &) override
edm::InputTag m_barrelTfInputTag
virtual void endJob() override
const_iterator begin(int bx) const
virtual void endLuminosityBlock(const edm::LuminosityBlock &, edm::EventSetup const &) override