Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #ifndef HLTCSCRing2or3Filter_h
0002 #define HLTCSCRing2or3Filter_h
0003 
0004 #include <vector>
0005 #include <map>
0006 
0007 #include "HLTrigger/HLTcore/interface/HLTFilter.h"
0008 #include "FWCore/Utilities/interface/InputTag.h"
0009 #include "DataFormats/CSCRecHit/interface/CSCRecHit2DCollection.h"
0010 #include "Geometry/CSCGeometry/interface/CSCGeometry.h"
0011 #include "Geometry/Records/interface/MuonGeometryRecord.h"
0012 
0013 namespace edm {
0014   class ConfigurationDescriptions;
0015 }
0016 
0017 class HLTCSCRing2or3Filter : public HLTFilter {
0018 public:
0019   explicit HLTCSCRing2or3Filter(const edm::ParameterSet&);
0020   ~HLTCSCRing2or3Filter() override;
0021   bool hltFilter(edm::Event&,
0022                  const edm::EventSetup&,
0023                  trigger::TriggerFilterObjectWithRefs& filterproduct) const override;
0024   static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
0025 
0026 private:
0027   edm::ESGetToken<CSCGeometry, MuonGeometryRecord> const muonGeometryRecordToken_;
0028   edm::EDGetTokenT<CSCRecHit2DCollection> cscrechitsToken;
0029   edm::InputTag m_input;
0030   unsigned int m_minHits;
0031   double m_xWindow, m_yWindow;
0032 };
0033 
0034 #endif