CMS 3D CMS Logo

LeptonRecoSkim.h
Go to the documentation of this file.
1 // Class: LeptonRecoSkim
2 //
10 //
11 // Original Author: Massimiliano Chiorboli,40 4-A01,+41227671535,
12 // Created: Wed Mar 31 21:49:08 CEST 2010
13 // $Id: LeptonRecoSkim.h,v 1.1 2010/11/05 18:37:50 torimoto Exp $
14 //
15 //
16 #include <memory>
17 #include <fstream>
18 
19 // user include files
27 
28 //includes for reco objects
47 
48 //includes for PF
50 
51 //includes for Trigger
54 
56 public:
57  explicit LeptonRecoSkim(const edm::ParameterSet&);
58  ~LeptonRecoSkim() override;
59 
60 private:
61  void beginJob() override;
62  bool filter(edm::Event&, const edm::EventSetup&) override;
63  void endJob() override;
64 
65  void handleObjects(const edm::Event&, const edm::EventSetup& iSetup);
66 
67  // ----------member data ---------------------------
70 
73 
81 
91 
92  bool firstEvent;
93 
99 
105 
106  double ptElecMin;
107  double ptPfElecMin;
113  double htMin;
114  double pfHtMin;
117 
120  int NHltMu9;
122 
125 };
const reco::CaloJetCollection * theCaloJetCollection
std::string filterName
edm::EDGetTokenT< reco::GsfElectronCollection > gsfElectronCollectionToken_
edm::EDGetTokenT< reco::CaloJetCollection > caloJetCollectionToken_
const edm::ESGetToken< CaloGeometry, CaloGeometryRecord > m_CaloGeoToken
edm::EDGetTokenT< reco::PFCandidateCollection > pfCandidateCollectionToken_
void handleObjects(const edm::Event &, const edm::EventSetup &iSetup)
void endJob() override
bool filter(edm::Event &, const edm::EventSetup &) override
bool usePfElectronSelection
const reco::PFCandidateCollection * thePfCandidateCollection
edm::InputTag hltLabel
edm::EDGetTokenT< EcalRecHitCollection > eeRecHitCollectionToken_
std::vector< GsfElectron > GsfElectronCollection
collection of GsfElectron objects
std::vector< Muon > MuonCollection
collection of Muon objects
Definition: MuonFwd.h:9
double ptTrackerMuonMin
const reco::GsfElectronCollection * theElectronCollection
void beginJob() override
bool useElectronSelection
edm::EDGetTokenT< reco::MuonCollection > muonCollectionToken_
edm::EDGetTokenT< EcalRecHitCollection > ebRecHitCollectionToken_
std::vector< reco::PFCandidate > PFCandidateCollection
collection of PFCandidates
const reco::MuonCollection * theMuonCollection
std::vector< PFJet > PFJetCollection
collection of PFJet objects
const EcalRecHitCollection * theEcalBarrelCollection
const edm::ESGetToken< CaloTopology, CaloTopologyRecord > m_CaloTopoToken
~LeptonRecoSkim() override
LeptonRecoSkim(const edm::ParameterSet &)
const reco::PFJetCollection * thePFJetCollection
double ptGlobalMuonMin
edm::EDGetTokenT< reco::PFJetCollection > pfJetCollectionToken_
const CaloGeometry * theCaloGeometry
double pfHtJetThreshold
const CaloTopology * theCaloTopology
std::vector< CaloJet > CaloJetCollection
collection of CaloJet objects
const EcalRecHitCollection * theEcalEndcapCollection