Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-09-07 22:41:49

0001 #ifndef Muon_MuonPtFilter_h
0002 #define Muon_MuonPtFilter_h
0003 
0004 /** \class MuonPtFilter
0005  *
0006  * EDFilter to select muons above certain Pt
0007  *
0008  * $Date: 2012/01/21 17:11:58 $
0009  * $Revision: 1.3 $
0010  * \author Silvia Goy Lopez - CERN <silvia.goy.lopez@cern.ch>
0011  *
0012  */
0013 
0014 /* Base Class Headers */
0015 #include "FWCore/Framework/interface/Frameworkfwd.h"
0016 #include "FWCore/Framework/interface/stream/EDFilter.h"
0017 #include "FWCore/Framework/interface/Event.h"
0018 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0019 
0020 /* Collaborating Class Declarations */
0021 class Propagator;
0022 
0023 /* C++ Headers */
0024 #include <string>
0025 
0026 /* ====================================================================== */
0027 
0028 /* Class MuonPtFilter Interface */
0029 
0030 class MuonPtFilter : public edm::stream::EDFilter<> {
0031 public:
0032   /// Constructor
0033   MuonPtFilter(const edm::ParameterSet &);
0034 
0035   /// Destructorquer
0036   ~MuonPtFilter() override;
0037 
0038   /* Operations */
0039   bool filter(edm::Event &, const edm::EventSetup &) override;
0040 
0041 private:
0042   std::string theSTAMuonLabel;  // label of muons
0043   double theMinPt;              // minimum pt required
0044 };
0045 #endif  // Muon_MuonPtFilter_h