Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:18:36

0001 #ifndef HLTMuonL1TFilter_h
0002 #define HLTMuonL1TFilter_h
0003 
0004 /* \class HLTMuonL1TFilter
0005  *
0006  * This is an HLTFilter implementing filtering on L1T Stage2 GMT objects
0007  * 
0008  * \author:  V. Rekovic
0009 */
0010 
0011 // user include files
0012 
0013 #include "HLTrigger/HLTcore/interface/HLTFilter.h"
0014 #include "DataFormats/L1Trigger/interface/Muon.h"
0015 
0016 class HLTMuonL1TFilter : public HLTFilter {
0017 public:
0018   explicit HLTMuonL1TFilter(const edm::ParameterSet&);
0019   ~HLTMuonL1TFilter() override;
0020 
0021   static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
0022   bool hltFilter(edm::Event&,
0023                  const edm::EventSetup&,
0024                  trigger::TriggerFilterObjectWithRefs& filterproduct) const override;
0025 
0026 private:
0027   //input tag identifying the product containing muons
0028   edm::InputTag candTag_;
0029   edm::EDGetTokenT<l1t::MuonBxCollection> candToken_;
0030 
0031   /// input tag identifying the product containing refs to muons passing the previous level
0032   edm::InputTag previousCandTag_;
0033   edm::EDGetTokenT<trigger::TriggerFilterObjectWithRefs> previousCandToken_;
0034 
0035   /// max Eta cut
0036   const double maxEta_;
0037 
0038   /// pT threshold
0039   const double minPt_;
0040 
0041   /// max dRs for L1 candidate matching
0042   const double maxDR_;
0043   const double maxDR2_;
0044 
0045   /// Quality codes:
0046   /// to be updated with new L1 quality definitions
0047   int qualityBitMask_;
0048 
0049   /// min N objects
0050   const double minN_;
0051 
0052   /// use central bx only muons
0053   const bool centralBxOnly_;
0054 };
0055 
0056 #endif  //HLTMuonL1TFilter_h