◆ Phase2L1TGMTSAMuonGhostCleaner()
Phase2L1TGMTSAMuonGhostCleaner::Phase2L1TGMTSAMuonGhostCleaner |
( |
const edm::ParameterSet & |
iConfig | ) |
|
|
explicit |
Definition at line 54 of file Phase2L1TGMTSAMuonGhostCleaner.cc.
59 produces<std::vector<l1t::SAMuon> >(
"prompt");
60 produces<std::vector<l1t::SAMuon> >(
"displaced");
T getParameter(std::string const &) const
edm::EDGetTokenT< std::vector< l1t::SAMuon > > barrelTokenPrompt_
edm::EDGetTokenT< std::vector< l1t::SAMuon > > fwdTokenPrompt_
edm::EDGetTokenT< std::vector< l1t::SAMuon > > barrelTokenDisp_
edm::EDGetTokenT< std::vector< l1t::SAMuon > > fwdTokenDisp_
◆ ~Phase2L1TGMTSAMuonGhostCleaner()
Phase2L1TGMTSAMuonGhostCleaner::~Phase2L1TGMTSAMuonGhostCleaner |
( |
| ) |
|
|
overridedefault |
◆ prodMuons()
Definition at line 67 of file Phase2L1TGMTSAMuonGhostCleaner.cc.
References Phase2L1GMT::BITSGTETA, Phase2L1GMT::BITSGTPHI, Phase2L1GMT::BITSGTPT, Phase2L1GMT::BITSSAD0, Phase2L1GMT::BITSSAQUAL, Phase2L1GMT::BITSSAZ0, l1t::bmtf, SAMuonCleaner::cleanTFMuons(), muons_cff::finalMuons, ghostCleaner, visualization-live-secondInstance_cfg::m, amptDefaultParameters_cff::mu, and DiMuonV_cfg::muons.
Referenced by produce().
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);
muons
the two sets of parameters below are mutually exclusive, depending if RECO or ALCARECO is used the us...
std::vector< l1t::SAMuon > cleanTFMuons(const std::vector< l1t::SAMuon > &muons)
SAMuonCleaner ghostCleaner
◆ produce()
Definition at line 92 of file Phase2L1TGMTSAMuonGhostCleaner.cc.
References SimL1Emulator_cff::barrelDisp, SimL1Emulator_cff::barrelPrompt, barrelTokenDisp_, barrelTokenPrompt_, SimL1Emulator_cff::forwardDisp, SimL1Emulator_cff::forwardPrompt, fwdTokenDisp_, fwdTokenPrompt_, iEvent, eostools::move(), DiMuonV_cfg::muons, and prodMuons().
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_
std::vector< l1t::SAMuon > prodMuons(std::vector< l1t::SAMuon > &muons)
edm::EDGetTokenT< std::vector< l1t::SAMuon > > fwdTokenDisp_
◆ barrelTokenDisp_
◆ barrelTokenPrompt_
◆ fwdTokenDisp_
◆ fwdTokenPrompt_
◆ ghostCleaner