22 originTag1_(iConfig.getParameter<
std::vector<
edm::
InputTag>>(
"originTag1")),
23 originTag2_(iConfig.getParameter<
std::vector<
edm::
InputTag>>(
"originTag2")),
24 inputTag1_(iConfig.getParameter<
edm::
InputTag>(
"inputTag1")),
25 inputTag2_(iConfig.getParameter<
edm::
InputTag>(
"inputTag2")),
26 inputToken1_(consumes<
trigger::TriggerFilterObjectWithRefs>(inputTag1_)),
27 inputToken2_(consumes<
trigger::TriggerFilterObjectWithRefs>(inputTag2_)),
28 minDR_(iConfig.getParameter<double>(
"MinDR")),
29 min_N_(iConfig.getParameter<
int>(
"MinN")),
39 desc.
add<std::vector<edm::InputTag>>(
"originTag1",
originTag1);
40 desc.
add<std::vector<edm::InputTag>>(
"originTag2",
originTag2);
43 desc.
add<
double>(
"MinDR", -1.0);
44 desc.
add<
int>(
"MinN", 1);
46 descriptions.
add(
"hlt2L1TkMuonL1TkMuonMuRefDR", desc);
50 std::vector<l1t::TkMuonRef>& coll1,
51 std::vector<l1t::TkMuonRef>& coll2,
73 if (tagOld.
encode() != tagNew.encode()) {
88 if (tagOld.
encode() != tagNew.encode()) {
105 if (tkmu->muRef().
isNull())
106 return std::make_pair(muRefEta, muRefPhi);
108 muRefEta = tkmu->muRef()->hwEta() *
etaScale_;
110 tkmu->muRef()->hwPhi(), tkmu->muRef()->trackFinderType(), tkmu->muRef()->processor()));
113 if (tkmu->emtfTrk().
isNull())
114 return std::make_pair(muRefEta, muRefPhi);
116 muRefEta = tkmu->emtfTrk()->Eta();
121 return std::make_pair(muRefEta, muRefPhi);
142 std::vector<l1t::TkMuonRef> coll1;
143 std::vector<l1t::TkMuonRef> coll2;
150 for (
unsigned int i1 = 0;
i1 != coll1.size();
i1++) {
156 for (
unsigned int i2 =
I;
i2 != coll2.size();
i2++) {