68 m_bmtfBxOffset = iConfig.
getParameter<
int>(
"bmtfBxOffset");
69 m_barrelTfInputToken = consumes<l1t::RegionalMuonCandBxCollection>(m_barrelTfInputTag);
70 m_overlapTfInputToken = consumes<l1t::RegionalMuonCandBxCollection>(m_overlapTfInputTag);
71 m_endCapTfInputToken = consumes<l1t::RegionalMuonCandBxCollection>(m_endCapTfInputTag);
73 produces<RegionalMuonCandBxCollection>(
"BMTF");
74 produces<RegionalMuonCandBxCollection>(
"OMTF");
75 produces<RegionalMuonCandBxCollection>(
"EMTF");
94 iEvent.getByToken(m_barrelTfInputToken, bmtfMuons);
95 iEvent.getByToken(m_overlapTfInputToken, omtfMuons);
96 iEvent.getByToken(m_endCapTfInputToken, emtfMuons);
105 filteredBMTFMuons->push_back(
bx + m_bmtfBxOffset, newMu);
117 if (
mu->hwQual() == 11 ||
mu->hwQual() > 12)
121 filteredEMTFMuons->push_back(
bx, newMu);
133 if (
mu->hwQual() > 0)
137 filteredOMTFMuons->push_back(
bx, newMu);
T getParameter(std::string const &) const
edm::EDGetTokenT< l1t::RegionalMuonCandBxCollection > m_endCapTfInputToken
edm::InputTag m_endCapTfInputTag
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
const_iterator begin(int bx) const
void addDefault(ParameterSetDescription const &psetDescription)
L1TMuonQualityAdjuster(const edm::ParameterSet &)
edm::InputTag m_overlapTfInputTag
#define DEFINE_FWK_MODULE(type)
edm::EDGetTokenT< l1t::RegionalMuonCandBxCollection > m_barrelTfInputToken
void produce(edm::Event &, const edm::EventSetup &) override
void setHwQual(int bits)
Set compressed quality code as transmitted by hardware (4 bits)
edm::EDGetTokenT< l1t::RegionalMuonCandBxCollection > m_overlapTfInputToken
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
const_iterator end(int bx) const
edm::InputTag m_barrelTfInputTag