Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:20:39

0001 #ifndef HLTCSCActivityFilter_h
0002 #define HLTCSCActivityFilter_h
0003 // -*- C++ -*-
0004 //
0005 // Package:    HLTCSCActivityFilter
0006 // Class:      HLTCSCActivityFilter
0007 //
0008 /**\class HLTCSCActivityFilter HLTCSCActivityFilter.cc filter/HLTCSCActivityFilter/src/HLTCSCActivityFilter.cc
0009 
0010 Description: Filter to select HCAL abort gap events
0011 
0012 Implementation:
0013 <Notes on implementation>
0014 */
0015 //
0016 // Original Author:  Carlo Battilana
0017 //         Created:  Tue Jan 22 13:55:00 CET 2008
0018 //
0019 //
0020 
0021 // include files
0022 #include "FWCore/Framework/interface/Frameworkfwd.h"
0023 #include "FWCore/Framework/interface/Event.h"
0024 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0025 #include "FWCore/ParameterSet/interface/ConfigurationDescriptions.h"
0026 #include "FWCore/ParameterSet/interface/ParameterSetDescription.h"
0027 #include "HLTrigger/HLTcore/interface/HLTFilter.h"
0028 
0029 #include "DataFormats/CSCDigi/interface/CSCStripDigi.h"
0030 #include "DataFormats/CSCDigi/interface/CSCStripDigiCollection.h"
0031 #include "DataFormats/CSCDigi/interface/CSCALCTDigi.h"
0032 #include "DataFormats/CSCDigi/interface/CSCALCTDigiCollection.h"
0033 #include "DataFormats/CSCDigi/interface/CSCCLCTDigi.h"
0034 #include "DataFormats/CSCDigi/interface/CSCCLCTDigiCollection.h"
0035 #include "DataFormats/CSCDigi/interface/CSCCorrelatedLCTDigi.h"
0036 #include "DataFormats/CSCDigi/interface/CSCCorrelatedLCTDigiCollection.h"
0037 #include "DataFormats/MuonDetId/interface/CSCDetId.h"
0038 
0039 //
0040 // class declaration
0041 //
0042 
0043 class HLTCSCActivityFilter : public HLTFilter {
0044 public:
0045   explicit HLTCSCActivityFilter(const edm::ParameterSet&);
0046   ~HLTCSCActivityFilter() override;
0047   static void fillDescriptions(edm::ConfigurationDescriptions& descriptions);
0048 
0049 private:
0050   bool hltFilter(edm::Event&,
0051                  const edm::EventSetup&,
0052                  trigger::TriggerFilterObjectWithRefs& filterproduct) const override;
0053 
0054   edm::EDGetTokenT<CSCStripDigiCollection> m_cscStripDigiToken;
0055   edm::InputTag m_cscStripDigiTag;
0056   bool m_MESR;
0057   int m_RingNumb;
0058   int m_StationNumb;
0059 };
0060 
0061 #endif