Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 09:53:14

0001 #ifndef HLTMuonTrkL1TkMuFilter_h
0002 #define HLTMuonTrkL1TkMuFilter_h
0003 
0004 #include "HLTrigger/HLTcore/interface/HLTFilter.h"
0005 #include "DataFormats/RecoCandidate/interface/RecoChargedCandidateFwd.h"
0006 #include "DataFormats/MuonReco/interface/MuonFwd.h"
0007 #include "DataFormats/MuonReco/interface/MuonSelectors.h"
0008 #include "DataFormats/L1TMuonPhase2/interface/TrackerMuon.h"
0009 
0010 namespace edm {
0011   class ConfigurationDescriptions;
0012 }
0013 
0014 class HLTMuonTrkL1TkMuFilter : public HLTFilter {
0015 public:
0016   HLTMuonTrkL1TkMuFilter(const edm::ParameterSet&);
0017   ~HLTMuonTrkL1TkMuFilter() override {}
0018   static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
0019   bool hltFilter(edm::Event&,
0020                  const edm::EventSetup&,
0021                  trigger::TriggerFilterObjectWithRefs& filterproduct) const override;
0022 
0023 private:
0024   // WARNING: two input collection represent should be aligned and represent
0025   // the same list of muons, just stored in different containers
0026   edm::InputTag m_muonsTag;                             // input collection of muons
0027   edm::EDGetTokenT<reco::MuonCollection> m_muonsToken;  // input collection of muons
0028   edm::InputTag m_candsTag;                             // input collection of candidates to be referenced
0029   edm::EDGetTokenT<reco::RecoChargedCandidateCollection> m_candsToken;  // input collection of candidates to be referenced
0030   edm::InputTag m_previousCandTag;  // input tag identifying product contains muons passing the previous level
0031   edm::EDGetTokenT<trigger::TriggerFilterObjectWithRefs>
0032       m_previousCandToken;  // token identifying product contains muons passing the previous level
0033   int m_minTrkHits;
0034   int m_minMuonHits;
0035   int m_minMuonStations;
0036   double m_maxNormalizedChi2;
0037   double m_minPt;
0038   unsigned int m_minN;
0039   double m_maxAbsEta;
0040   bool m_saveTags;
0041 };
0042 
0043 #endif  //HLTMuonTrkL1TkMuFilter_h