CMS 3D CMS Logo

HLTMuonTrkFilter.h
Go to the documentation of this file.
1 #ifndef HLTMuonTrkFilter_h
2 #define HLTMuonTrkFilter_h
3 // author D. Olivito
4 // based on HLTDiMuonGlbTrkFilter.h
9 
10 namespace edm {
12 }
13 
14 class HLTMuonTrkFilter : public HLTFilter {
15  public:
17  ~HLTMuonTrkFilter() override{}
18  static void fillDescriptions(edm::ConfigurationDescriptions & descriptions);
19  bool hltFilter(edm::Event&, const edm::EventSetup&, trigger::TriggerFilterObjectWithRefs & filterproduct) const override;
20 
21  private:
22  // WARNING: two input collection represent should be aligned and represent
23  // the same list of muons, just stored in different containers
24  edm::InputTag m_muonsTag; // input collection of muons
26  edm::InputTag m_candsTag; // input collection of candidates to be referenced
27  edm::EDGetTokenT<reco::RecoChargedCandidateCollection> m_candsToken; // input collection of candidates to be referenced
28  edm::InputTag m_previousCandTag; // input tag identifying product contains muons passing the previous level
29  edm::EDGetTokenT<trigger::TriggerFilterObjectWithRefs> m_previousCandToken; // token identifying product contains muons passing the previous level
33  unsigned int m_allowedTypeMask;
34  unsigned int m_requiredTypeMask;
36  double m_minPt;
37  unsigned int m_minN;
38  double m_maxAbsEta;
40  bool m_saveTags;
41 
42 };
43 
44 #endif //HLTMuonTrkFilter_h
edm::EDGetTokenT< reco::MuonCollection > m_muonsToken
edm::EDGetTokenT< trigger::TriggerFilterObjectWithRefs > m_previousCandToken
edm::InputTag m_candsTag
SelectionType
Selector type.
Definition: MuonSelectors.h:17
edm::EDGetTokenT< reco::RecoChargedCandidateCollection > m_candsToken
unsigned int m_allowedTypeMask
unsigned int m_minN
edm::InputTag m_previousCandTag
~HLTMuonTrkFilter() override
muon::SelectionType m_trkMuonId
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
HLT enums.
unsigned int m_requiredTypeMask
edm::InputTag m_muonsTag