Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 09:41:32

0001 // system include files
0002 #include <memory>
0003 
0004 // user include files
0005 #include "FWCore/Framework/interface/Frameworkfwd.h"
0006 #include "FWCore/Framework/interface/stream/EDFilter.h"
0007 
0008 #include "FWCore/Framework/interface/Event.h"
0009 #include "FWCore/Framework/interface/MakerMacros.h"
0010 
0011 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0012 
0013 #include "DataFormats/TrackReco/interface/Track.h"
0014 #include "DataFormats/TrackReco/interface/TrackBase.h"
0015 #include "DataFormats/MuonReco/interface/Muon.h"
0016 #include "DataFormats/MuonReco/interface/MuonFwd.h"
0017 
0018 //
0019 // class declaration
0020 //
0021 
0022 class EcalTangentFilter : public edm::stream::EDFilter<> {
0023 public:
0024   explicit EcalTangentFilter(const edm::ParameterSet&);
0025   ~EcalTangentFilter() override;
0026 
0027 private:
0028   bool filter(edm::Event&, const edm::EventSetup&) override;
0029 
0030   // ----------member data ---------------------------
0031   int fNgood, fNtot, fEvt;
0032   std::string fMuLabel;
0033   double fMuonD0Min;
0034   double fMuonD0Max;
0035   bool fVerbose;
0036 };