CMS 3D CMS Logo

HLT2L1TkMuonL1TkMuonMuRefDR.h
Go to the documentation of this file.
1 #ifndef HLT2L1TkMuonL1TkMuonMuRefDR_h
2 #define HLT2L1TkMuonL1TkMuonMuRefDR_h
3 
9 
11 
12 #include <string>
13 #include <vector>
14 namespace trigger {
15  class TriggerFilterObjectWithRefs;
16 }
17 
18 //
19 // class declaration
20 //
21 
23 public:
26  static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
27  bool hltFilter(edm::Event&,
28  const edm::EventSetup&,
29  trigger::TriggerFilterObjectWithRefs& filterproduct) const override;
31  std::vector<l1t::TrackerMuonRef>& coll1,
32  std::vector<l1t::TrackerMuonRef>& coll2,
33  trigger::TriggerFilterObjectWithRefs& filterproduct) const;
35 
36 private:
37  // configuration
38  const std::vector<edm::InputTag> originTag1_; // input tag identifying originals 1st product
39  const std::vector<edm::InputTag> originTag2_; // input tag identifying originals 2nd product
40  const edm::InputTag inputTag1_; // input tag identifying filtered 1st product
41  const edm::InputTag inputTag2_; // input tag identifying filtered 2nd product
44  const double minDR_; // minimum dR between two muon regional candidates linked to L1TkMuon
45  const int min_N_; // number of pairs passing cuts required
46  const bool same_; // 1st and 2nd product are one and the same
47 
48  // eta and phi scaling for RegionalMuonCand
49  static constexpr unsigned int emtfRegion_{3};
50  static constexpr float etaScale_{0.010875};
51  static constexpr float phiScale_{2. * M_PI / 576.};
52 };
53 
54 #endif //HLT2L1TkMuonL1TkMuonMuRefDR_h
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
const edm::EDGetTokenT< trigger::TriggerFilterObjectWithRefs > inputToken1_
const std::vector< edm::InputTag > originTag1_
const std::vector< edm::InputTag > originTag2_
int iEvent
Definition: GenABIO.cc:224
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
#define M_PI
static constexpr unsigned int emtfRegion_
bool computeDR(edm::Event &iEvent, l1t::TrackerMuonRef &c1, l1t::TrackerMuonRef &c2) const
const edm::EDGetTokenT< trigger::TriggerFilterObjectWithRefs > inputToken2_