Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:12:24

0001 
0002 #ifndef DQM_TrackingMonitorSource_ZtoEEEventSelector_h
0003 #define DQM_TrackingMonitorSource_ZtoEEEventSelector_h
0004 
0005 #include "FWCore/Framework/interface/Frameworkfwd.h"
0006 #include "FWCore/Framework/interface/stream/EDFilter.h"
0007 #include "FWCore/Framework/interface/Event.h"
0008 #include "FWCore/ParameterSet/interface/ParameterSet.h"
0009 #include "FWCore/ServiceRegistry/interface/Service.h"
0010 #include "DataFormats/EgammaCandidates/interface/GsfElectronFwd.h"
0011 #include "DataFormats/BeamSpot/interface/BeamSpot.h"
0012 
0013 class ZtoEEEventSelector : public edm::stream::EDFilter<> {
0014 public:
0015   explicit ZtoEEEventSelector(const edm::ParameterSet&);
0016 
0017   bool filter(edm::Event&, edm::EventSetup const&) override;
0018 
0019 private:
0020   // module config parameters
0021   const edm::InputTag electronTag_;
0022   const edm::InputTag bsTag_;
0023   const edm::EDGetTokenT<reco::GsfElectronCollection> electronToken_;
0024   const edm::EDGetTokenT<reco::BeamSpot> bsToken_;
0025 
0026   const double maxEta_;
0027   const double minPt_;
0028   const double maxDeltaPhiInEB_;
0029   const double maxDeltaEtaInEB_;
0030   const double maxHOEEB_;
0031   const double maxSigmaiEiEEB_;
0032   const double maxDeltaPhiInEE_;
0033   const double maxDeltaEtaInEE_;
0034   const double maxHOEEE_;
0035   const double maxSigmaiEiEEE_;
0036   const double maxNormChi2_;
0037   const double maxD0_;
0038   const double maxDz_;
0039   const int minPixelHits_;
0040   const int minStripHits_;
0041   const double maxIso_;
0042   const double minPtHighest_;
0043   const double minInvMass_;
0044   const double maxInvMass_;
0045 };
0046 #endif