Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-07-03 04:17:59

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 #include "DataFormats/L1Trigger/interface/P2GTAlgoBlock.h"
0010 
0011 namespace edm {
0012   class ConfigurationDescriptions;
0013 }
0014 
0015 class HLTMuonTrkL1TkMuFilter : public HLTFilter {
0016 public:
0017   HLTMuonTrkL1TkMuFilter(const edm::ParameterSet&);
0018   ~HLTMuonTrkL1TkMuFilter() override {}
0019   static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
0020   bool hltFilter(edm::Event&,
0021                  const edm::EventSetup&,
0022                  trigger::TriggerFilterObjectWithRefs& filterproduct) const override;
0023 
0024 private:
0025   // WARNING: two input collection represent should be aligned and represent
0026   // the same list of muons, just stored in different containers
0027   edm::InputTag m_muonsTag;                             // input collection of muons
0028   edm::EDGetTokenT<reco::MuonCollection> m_muonsToken;  // input collection of muons
0029   edm::InputTag m_candsTag;                             // input collection of candidates to be referenced
0030   edm::EDGetTokenT<reco::RecoChargedCandidateCollection> m_candsToken;  // input collection of candidates to be referenced
0031   edm::InputTag m_l1GTAlgoBlockTag;
0032   edm::EDGetTokenT<l1t::P2GTAlgoBlockMap> m_algoBlockToken;
0033   std::vector<std::string> m_l1GTAlgoNames;
0034   int m_minTrkHits;
0035   int m_minMuonHits;
0036   int m_minMuonStations;
0037   double m_maxNormalizedChi2;
0038   double m_minPt;
0039   unsigned int m_minN;
0040   double m_maxAbsEta;
0041   bool m_saveTags;
0042 };
0043 
0044 #endif  //HLTMuonTrkL1TkMuFilter_h