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
22 
25 
29 
30 //includes for reco objects
49 
50 //includes for PF
52 
53 //includes for Trigger
56 
57 class LeptonRecoSkim : public edm::EDFilter {
58 public:
59  explicit LeptonRecoSkim(const edm::ParameterSet&);
60  ~LeptonRecoSkim() override;
61 
62 private:
63  void beginJob() override;
64  bool filter(edm::Event&, const edm::EventSetup&) override;
65  void endJob() override;
66 
67  void handleObjects(const edm::Event&, const edm::EventSetup& iSetup);
68 
78 
88 
89  bool firstEvent;
90 
96 
102 
103  double ptElecMin;
104  double ptPfElecMin;
110  double htMin;
111  double pfHtMin;
114 
117  int NHltMu9;
119 
122  // ----------member data ---------------------------
123 };
LeptonRecoSkim::ptTrackerMuonMin
double ptTrackerMuonMin
Definition: LeptonRecoSkim.h:108
CaloJetCollection.h
JetTag.h
Handle.h
CaloJet.h
Muon.h
LeptonRecoSkim::usePfElectronSelection
bool usePfElectronSelection
Definition: LeptonRecoSkim.h:92
LeptonRecoSkim::theCaloTopology
const CaloTopology * theCaloTopology
Definition: LeptonRecoSkim.h:86
LeptonRecoSkim::firstEvent
bool firstEvent
Definition: LeptonRecoSkim.h:89
ESHandle.h
TriggerResults.h
LeptonRecoSkim::PFHtCutPassed
bool PFHtCutPassed
Definition: LeptonRecoSkim.h:101
PFCandidate.h
LeptonRecoSkim::pfHtMin
double pfHtMin
Definition: LeptonRecoSkim.h:111
LeptonRecoSkim::endJob
void endJob() override
Definition: LeptonRecoSkim.cc:206
PFJet.h
PFJetCollection.h
LeptonRecoSkim::NHltMu9
int NHltMu9
Definition: LeptonRecoSkim.h:117
EcalBarrelTopology.h
LeptonRecoSkim::NtotalElectrons
int NtotalElectrons
Definition: LeptonRecoSkim.h:120
edm::SortedCollection< EcalRecHit >
EDFilter.h
Jet.h
reco::GsfElectronCollection
std::vector< GsfElectron > GsfElectronCollection
collection of GsfElectron objects
Definition: GsfElectronFwd.h:14
LeptonRecoSkim::m_eeRecHitsSrc
edm::InputTag m_eeRecHitsSrc
Definition: LeptonRecoSkim.h:77
CaloTopology
Definition: CaloTopology.h:19
LeptonRecoSkim::ElectronCutPassed
bool ElectronCutPassed
Definition: LeptonRecoSkim.h:97
LeptonRecoSkim::theCaloGeometry
const CaloGeometry * theCaloGeometry
Definition: LeptonRecoSkim.h:87
LeptonRecoSkim::pfHtJetThreshold
double pfHtJetThreshold
Definition: LeptonRecoSkim.h:113
LeptonRecoSkim::~LeptonRecoSkim
~LeptonRecoSkim() override
Definition: LeptonRecoSkim.cc:65
MakerMacros.h
CaloGeometry
Definition: CaloGeometry.h:21
LeptonRecoSkim::thePFJetCollection
const reco::PFJetCollection * thePFJetCollection
Definition: LeptonRecoSkim.h:83
Track.h
TrackFwd.h
LeptonRecoSkim::MuonCutPassed
bool MuonCutPassed
Definition: LeptonRecoSkim.h:99
MuonFwd.h
reco::MuonCollection
std::vector< Muon > MuonCollection
collection of Muon objects
Definition: MuonFwd.h:9
GsfElectron.h
LeptonRecoSkim::filterName
std::string filterName
Definition: LeptonRecoSkim.h:70
LeptonRecoSkim::nSelectedMuons
int nSelectedMuons
Definition: LeptonRecoSkim.h:109
LeptonRecoSkim::handleObjects
void handleObjects(const edm::Event &, const edm::EventSetup &iSetup)
Definition: LeptonRecoSkim.cc:220
LeptonRecoSkim::theElectronCollection
const reco::GsfElectronCollection * theElectronCollection
Definition: LeptonRecoSkim.h:79
LeptonRecoSkim::m_muonSrc
edm::InputTag m_muonSrc
Definition: LeptonRecoSkim.h:73
LeptonRecoSkim::beginJob
void beginJob() override
Definition: LeptonRecoSkim.cc:203
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
EcalSubdetector.h
LeptonRecoSkim::useMuonSelection
bool useMuonSelection
Definition: LeptonRecoSkim.h:93
GsfElectronFwd.h
edm::ParameterSet
Definition: ParameterSet.h:47
Event.h
LeptonRecoSkim::thePfCandidateCollection
const reco::PFCandidateCollection * thePfCandidateCollection
Definition: LeptonRecoSkim.h:80
EcalEndcapTopology.h
EcalClusterTools.h
LeptonRecoSkim::htJetThreshold
double htJetThreshold
Definition: LeptonRecoSkim.h:112
CaloTopologyRecord.h
LeptonRecoSkim::useHtSelection
bool useHtSelection
Definition: LeptonRecoSkim.h:94
TriggerNames.h
reco::CaloJetCollection
std::vector< CaloJet > CaloJetCollection
collection of CaloJet objects
Definition: CaloJetCollection.h:15
LeptonRecoSkim::nSelectedPfElectrons
int nSelectedPfElectrons
Definition: LeptonRecoSkim.h:106
edm::EDFilter
Definition: EDFilter.h:38
LeptonRecoSkim::theCaloJetCollection
const reco::CaloJetCollection * theCaloJetCollection
Definition: LeptonRecoSkim.h:82
LeptonRecoSkim::NeventsFiltered
int NeventsFiltered
Definition: LeptonRecoSkim.h:116
edm::EventSetup
Definition: EventSetup.h:57
LeptonRecoSkim::ptPfElecMin
double ptPfElecMin
Definition: LeptonRecoSkim.h:104
LeptonRecoSkim::PfElectronCutPassed
bool PfElectronCutPassed
Definition: LeptonRecoSkim.h:98
LeptonRecoSkim::m_pfjetsSrc
edm::InputTag m_pfjetsSrc
Definition: LeptonRecoSkim.h:75
LeptonRecoSkim::NeventsTotal
int NeventsTotal
Definition: LeptonRecoSkim.h:115
LeptonRecoSkim::NHltDiMu3
int NHltDiMu3
Definition: LeptonRecoSkim.h:118
CaloTopology.h
LeptonRecoSkim::theEcalEndcapCollection
const EcalRecHitCollection * theEcalEndcapCollection
Definition: LeptonRecoSkim.h:85
LeptonRecoSkim
Definition: LeptonRecoSkim.h:57
LeptonRecoSkim::LeptonRecoSkim
LeptonRecoSkim(const edm::ParameterSet &)
Definition: LeptonRecoSkim.cc:30
LeptonRecoSkim::m_pfelectronSrc
edm::InputTag m_pfelectronSrc
Definition: LeptonRecoSkim.h:72
reco::PFJetCollection
std::vector< PFJet > PFJetCollection
collection of PFJet objects
Definition: PFJetCollection.h:14
Frameworkfwd.h
LeptonRecoSkim::ptElecMin
double ptElecMin
Definition: LeptonRecoSkim.h:103
LeptonRecoSkim::m_jetsSrc
edm::InputTag m_jetsSrc
Definition: LeptonRecoSkim.h:74
LeptonRecoSkim::usePFHtSelection
bool usePFHtSelection
Definition: LeptonRecoSkim.h:95
LeptonRecoSkim::htMin
double htMin
Definition: LeptonRecoSkim.h:110
reco::PFCandidateCollection
std::vector< reco::PFCandidate > PFCandidateCollection
collection of PFCandidates
Definition: PFCandidateFwd.h:12
LeptonRecoSkim::filter
bool filter(edm::Event &, const edm::EventSetup &) override
Definition: LeptonRecoSkim.cc:75
LeptonRecoSkim::theEcalBarrelCollection
const EcalRecHitCollection * theEcalBarrelCollection
Definition: LeptonRecoSkim.h:84
LeptonRecoSkim::NmvaElectrons
int NmvaElectrons
Definition: LeptonRecoSkim.h:121
LeptonRecoSkim::nSelectedElectrons
int nSelectedElectrons
Definition: LeptonRecoSkim.h:105
LeptonRecoSkim::hltLabel
edm::InputTag hltLabel
Definition: LeptonRecoSkim.h:69
ParameterSet.h
LeptonRecoSkim::useElectronSelection
bool useElectronSelection
Definition: LeptonRecoSkim.h:91
LeptonRecoSkim::HtCutPassed
bool HtCutPassed
Definition: LeptonRecoSkim.h:100
edm::Event
Definition: Event.h:73
LeptonRecoSkim::ptGlobalMuonMin
double ptGlobalMuonMin
Definition: LeptonRecoSkim.h:107
edm::InputTag
Definition: InputTag.h:15
LeptonRecoSkim::m_ebRecHitsSrc
edm::InputTag m_ebRecHitsSrc
Definition: LeptonRecoSkim.h:76
LeptonRecoSkim::m_electronSrc
edm::InputTag m_electronSrc
Definition: LeptonRecoSkim.h:71
LeptonRecoSkim::theMuonCollection
const reco::MuonCollection * theMuonCollection
Definition: LeptonRecoSkim.h:81