Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-03-17 11:04:32

0001 #ifndef HTXS_FILTER_h
0002 #define HTXS_FILTER_h
0003 // -*- C++ -*-
0004 //
0005 // Package:    HTXSFilter
0006 // Class:      HTXSFilter
0007 //
0008 /**\class HTXSFilter HTXSFilter.cc user/HTXSFilter/plugins/HTXSFilter.cc
0009 
0010  Description: [one line class summary]
0011 
0012  Implementation:
0013      [Notes on implementation]
0014 */
0015 //
0016 // Original Author:  Janek Bechtel
0017 //         Created:  Fri, 10 May 2019 14:30:15 GMT
0018 //
0019 //
0020 
0021 // system include files
0022 #include <memory>
0023 
0024 // user include files
0025 #include "SimDataFormats/HTXS/interface/HiggsTemplateCrossSections.h"
0026 
0027 #include "FWCore/Framework/interface/Frameworkfwd.h"
0028 #include "FWCore/Framework/interface/global/EDFilter.h"
0029 
0030 #include "FWCore/Framework/interface/Event.h"
0031 #include "FWCore/Framework/interface/MakerMacros.h"
0032 
0033 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0034 
0035 //
0036 // class decleration
0037 //
0038 namespace edm {
0039   class HiggsClassification;
0040 }
0041 
0042 class HTXSFilter : public edm::global::EDFilter<> {
0043 public:
0044   explicit HTXSFilter(const edm::ParameterSet&);
0045   ~HTXSFilter() override;
0046 
0047   bool filter(edm::StreamID, edm::Event&, const edm::EventSetup&) const override;
0048 
0049 private:
0050   // ----------member data ---------------------------
0051 
0052   const edm::EDGetTokenT<HTXS::HiggsClassification> token_;
0053   const std::vector<int> htxs_flags;
0054 };
0055 #endif