2 #ifndef PHASE2GMT_SAMUONGHOSTCLEANER 3 #define PHASE2GMT_SAMUONGHOSTCLEANER 33 std::vector<l1t::SAMuon> prodMuons(std::vector<l1t::SAMuon>&
muons);
59 produces<std::vector<l1t::SAMuon> >(
"prompt");
60 produces<std::vector<l1t::SAMuon> >(
"displaced");
71 for (
const auto&
mu : cleanedMuons) {
74 m.setHwQual(
m.hwQual() >> 4);
77 bstart = wordconcat<wordtype>(
word, bstart,
m.hwPt() > 0, 1);
78 bstart = wordconcat<wordtype>(
word, bstart,
m.hwPt(),
BITSGTPT);
81 bstart = wordconcat<wordtype>(
word, bstart,
m.hwZ0(),
BITSSAZ0);
82 bstart = wordconcat<wordtype>(
word, bstart,
m.hwD0(),
BITSSAD0);
83 bstart = wordconcat<wordtype>(
word, bstart,
m.hwCharge(), 1);
118 std::unique_ptr<std::vector<l1t::SAMuon> > prompt_ptr = std::make_unique<std::vector<l1t::SAMuon> >(finalPrompt);
119 std::unique_ptr<std::vector<l1t::SAMuon> > disp_ptr = std::make_unique<std::vector<l1t::SAMuon> >(finalDisp);
edm::EDGetTokenT< std::vector< l1t::SAMuon > > barrelTokenPrompt_
edm::EDGetTokenT< std::vector< l1t::SAMuon > > fwdTokenPrompt_
muons
the two sets of parameters below are mutually exclusive, depending if RECO or ALCARECO is used the us...
edm::EDGetTokenT< std::vector< l1t::SAMuon > > barrelTokenDisp_
Phase2L1TGMTSAMuonGhostCleaner(const edm::ParameterSet &)
std::vector< l1t::SAMuon > prodMuons(std::vector< l1t::SAMuon > &muons)
void produce(edm::Event &, const edm::EventSetup &) override
#define DEFINE_FWK_MODULE(type)
std::vector< l1t::SAMuon > cleanTFMuons(const std::vector< l1t::SAMuon > &muons)
edm::EDGetTokenT< std::vector< l1t::SAMuon > > fwdTokenDisp_
SAMuonCleaner ghostCleaner