22 inputTag1_(iConfig.getParameter<
edm::
InputTag>(
"inputTag1")),
23 inputTag2_(iConfig.getParameter<
edm::
InputTag>(
"inputTag2")),
24 inputToken1_(consumes<
trigger::TriggerFilterObjectWithRefs>(inputTag1_)),
25 inputToken2_(consumes<
trigger::TriggerFilterObjectWithRefs>(inputTag2_)),
26 minDR_(iConfig.getParameter<double>(
"MinDR")),
27 min_N_(iConfig.getParameter<
int>(
"MinN")),
41 desc.add<
double>(
"MinDR", -1.0);
42 desc.add<
int>(
"MinN", 1);
44 descriptions.
add(
"hlt2L1TkMuonL1TkMuonMuRefDR",
desc);
48 std::vector<l1t::TrackerMuonRef>& coll1,
49 std::vector<l1t::TrackerMuonRef>& coll2,
71 if (tagOld.
encode() != tagNew.encode()) {
86 if (tagOld.
encode() != tagNew.encode()) {
116 std::vector<l1t::TrackerMuonRef> coll1;
117 std::vector<l1t::TrackerMuonRef> coll2;
124 for (
unsigned int i1 = 0;
i1 != coll1.size();
i1++) {
130 for (
unsigned int i2 =
I;
i2 != coll2.size();
i2++) {
void getObjects(Vids &ids, VRphoton &refs) const
various physics-level getters:
~HLT2L1TkMuonL1TkMuonMuRefDR() override
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
static PFTauRenderPlugin instance
const edm::EDGetTokenT< trigger::TriggerFilterObjectWithRefs > inputToken1_
const std::vector< edm::InputTag > originTag1_
bool accept(const edm::Event &event, const edm::TriggerResults &triggerTable, const std::string &triggerPath)
void addObject(int id, const reco::RecoEcalCandidateRef &ref)
setters for L3 collections: (id=physics type, and Ref<C>)
const std::vector< edm::InputTag > originTag2_
bool hltFilter(edm::Event &, const edm::EventSetup &, trigger::TriggerFilterObjectWithRefs &filterproduct) const override
HLT2L1TkMuonL1TkMuonMuRefDR(const edm::ParameterSet &)
bool getCollections(edm::Event &iEvent, std::vector< l1t::TrackerMuonRef > &coll1, std::vector< l1t::TrackerMuonRef > &coll2, trigger::TriggerFilterObjectWithRefs &filterproduct) const
const std::complex< double > I
#define DEFINE_FWK_MODULE(type)
constexpr auto deltaR2(const T1 &t1, const T2 &t2) -> decltype(t1.eta())
static void makeHLTFilterDescription(edm::ParameterSetDescription &desc)
void addCollectionTag(const edm::InputTag &collectionTag)
collectionTags
void add(std::string const &label, ParameterSetDescription const &psetDescription)
bool computeDR(edm::Event &iEvent, l1t::TrackerMuonRef &c1, l1t::TrackerMuonRef &c2) const
const edm::EDGetTokenT< trigger::TriggerFilterObjectWithRefs > inputToken2_