54 virtual void endJob() ;
82 produces<RegionalMuonCandBxCollection>(
"ConvBMTFMuons");
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);
153 iEvent.
put(convMuons,
"ConvBMTFMuons");
std::map< int, int > ptMap_
virtual void beginLuminosityBlock(edm::LuminosityBlock &, edm::EventSetup const &)
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
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
void addDefault(ParameterSetDescription const &psetDescription)
virtual void endRun(edm::Run &, edm::EventSetup const &)
OrphanHandle< PROD > put(std::auto_ptr< PROD > product)
Put a new product.
void setHwEta(int bits)
Set compressed eta as transmitted by hardware LSB = 0.010875 (9 bits)
virtual void beginRun(edm::Run &, edm::EventSetup const &)
virtual void endLuminosityBlock(edm::LuminosityBlock &, edm::EventSetup const &)
edm::InputTag m_barrelTfInputTag
virtual void produce(edm::Event &, const edm::EventSetup &)