CMS 3D CMS Logo

WPlusJetsEventSelector.cc
Go to the documentation of this file.
1 
4 
5 #include <iostream>
6 
7 using namespace std;
8 
10  : EventSelector(),
11  muonTag_(params.getParameter<edm::InputTag>("muonSrc")),
12  electronTag_(params.getParameter<edm::InputTag>("electronSrc")),
13  jetTag_(params.getParameter<edm::InputTag>("jetSrc")),
14  metTag_(params.getParameter<edm::InputTag>("metSrc")),
15  trigTag_(params.getParameter<edm::InputTag>("trigSrc")),
16  muTrig_(params.getParameter<std::string>("muTrig")),
17  eleTrig_(params.getParameter<std::string>("eleTrig")),
18  pvSelector_(params.getParameter<edm::ParameterSet>("pvSelector")),
19  muonIdTight_(params.getParameter<edm::ParameterSet>("muonIdTight")),
20  electronIdTight_(params.getParameter<edm::ParameterSet>("electronIdTight")),
21  muonIdLoose_(params.getParameter<edm::ParameterSet>("muonIdLoose")),
22  electronIdLoose_(params.getParameter<edm::ParameterSet>("electronIdLoose")),
23  jetIdLoose_(params.getParameter<edm::ParameterSet>("jetIdLoose")),
24  pfjetIdLoose_(params.getParameter<edm::ParameterSet>("pfjetIdLoose")),
25  minJets_(params.getParameter<int>("minJets")),
26  muJetDR_(params.getParameter<double>("muJetDR")),
27  eleJetDR_(params.getParameter<double>("eleJetDR")),
28  muPlusJets_(params.getParameter<bool>("muPlusJets")),
29  ePlusJets_(params.getParameter<bool>("ePlusJets")),
30  muPtMin_(params.getParameter<double>("muPtMin")),
31  muEtaMax_(params.getParameter<double>("muEtaMax")),
32  eleEtMin_(params.getParameter<double>("eleEtMin")),
33  eleEtaMax_(params.getParameter<double>("eleEtaMax")),
34  muPtMinLoose_(params.getParameter<double>("muPtMinLoose")),
35  muEtaMaxLoose_(params.getParameter<double>("muEtaMaxLoose")),
36  eleEtMinLoose_(params.getParameter<double>("eleEtMinLoose")),
37  eleEtaMaxLoose_(params.getParameter<double>("eleEtaMaxLoose")),
38  jetPtMin_(params.getParameter<double>("jetPtMin")),
39  jetEtaMax_(params.getParameter<double>("jetEtaMax")),
40  jetScale_(params.getParameter<double>("jetScale")),
41  metMin_(params.getParameter<double>("metMin")) {
42  // make the bitset
43  push_back("Inclusive");
44  push_back("Trigger");
45  push_back("PV");
46  push_back(">= 1 Lepton");
47  push_back("== 1 Tight Lepton");
48  push_back("== 1 Tight Lepton, Mu Veto");
49  push_back("== 1 Lepton");
50  push_back("MET Cut");
51  push_back("Z Veto");
52  push_back("Conversion Veto");
53  push_back("Cosmic Veto");
54  push_back(">=1 Jets");
55  push_back(">=2 Jets");
56  push_back(">=3 Jets");
57  push_back(">=4 Jets");
58  push_back(">=5 Jets");
59 
60  // turn (almost) everything on by default
61  set("Inclusive");
62  set("Trigger");
63  set("PV");
64  set(">= 1 Lepton");
65  set("== 1 Tight Lepton");
66  set("== 1 Tight Lepton, Mu Veto");
67  set("== 1 Lepton");
68  set("MET Cut");
69  set("Z Veto");
70  set("Conversion Veto");
71  set("Cosmic Veto");
72  set(">=1 Jets", minJets_ >= 1);
73  set(">=2 Jets", minJets_ >= 2);
74  set(">=3 Jets", minJets_ >= 3);
75  set(">=4 Jets", minJets_ >= 4);
76  set(">=5 Jets", minJets_ >= 5);
77 
78  inclusiveIndex_ = index_type(&bits_, std::string("Inclusive"));
79  triggerIndex_ = index_type(&bits_, std::string("Trigger"));
80  pvIndex_ = index_type(&bits_, std::string("PV"));
81  lep1Index_ = index_type(&bits_, std::string(">= 1 Lepton"));
82  lep2Index_ = index_type(&bits_, std::string("== 1 Tight Lepton"));
83  lep3Index_ = index_type(&bits_, std::string("== 1 Tight Lepton, Mu Veto"));
84  lep4Index_ = index_type(&bits_, std::string("== 1 Lepton"));
85  metIndex_ = index_type(&bits_, std::string("MET Cut"));
86  zvetoIndex_ = index_type(&bits_, std::string("Z Veto"));
87  conversionIndex_ = index_type(&bits_, std::string("Conversion Veto"));
88  cosmicIndex_ = index_type(&bits_, std::string("Cosmic Veto"));
89  jet1Index_ = index_type(&bits_, std::string(">=1 Jets"));
90  jet2Index_ = index_type(&bits_, std::string(">=2 Jets"));
91  jet3Index_ = index_type(&bits_, std::string(">=3 Jets"));
92  jet4Index_ = index_type(&bits_, std::string(">=4 Jets"));
93  jet5Index_ = index_type(&bits_, std::string(">=5 Jets"));
94 
95  if (params.exists("cutsToIgnore"))
96  setIgnoredCuts(params.getParameter<std::vector<std::string> >("cutsToIgnore"));
97 
98  retInternal_ = getBitTemplate();
99 }
100 
102  ret.set(false);
103 
104  selectedJets_.clear();
105  cleanedJets_.clear();
106  selectedMuons_.clear();
107  selectedElectrons_.clear();
108  looseMuons_.clear();
109  looseElectrons_.clear();
110  selectedMETs_.clear();
111 
112  passCut(ret, inclusiveIndex_);
113 
114  bool passTrig = false;
115  if (!ignoreCut(triggerIndex_)) {
117  event.getByLabel(trigTag_, triggerEvent);
118 
120 
121  if (trig->wasRun() && trig->wasAccept()) {
122  pat::TriggerPath const* muPath = trig->path(muTrig_);
123 
124  pat::TriggerPath const* elePath = trig->path(eleTrig_);
125 
126  if (muPlusJets_ && muPath != nullptr && muPath->wasAccept()) {
127  passTrig = true;
128  }
129 
130  if (ePlusJets_ && elePath != nullptr && elePath->wasAccept()) {
131  passTrig = true;
132  }
133  }
134  }
135 
136  if (ignoreCut(triggerIndex_) || passTrig) {
137  passCut(ret, triggerIndex_);
138 
139  bool passPV = false;
140 
141  passPV = pvSelector_(event);
142  if (ignoreCut(pvIndex_) || passPV) {
143  passCut(ret, pvIndex_);
144 
145  edm::Handle<vector<pat::Electron> > electronHandle;
146  event.getByLabel(electronTag_, electronHandle);
147 
148  edm::Handle<vector<pat::Muon> > muonHandle;
149  event.getByLabel(muonTag_, muonHandle);
150 
151  edm::Handle<vector<pat::Jet> > jetHandle;
152 
154 
155  edm::Handle<vector<pat::MET> > metHandle;
156  event.getByLabel(metTag_, metHandle);
157 
158  int nElectrons = 0;
159  for (std::vector<pat::Electron>::const_iterator electronBegin = electronHandle->begin(),
160  electronEnd = electronHandle->end(),
161  ielectron = electronBegin;
162  ielectron != electronEnd;
163  ++ielectron) {
164  ++nElectrons;
165  // Tight cuts
166  if (ielectron->et() > eleEtMin_ && fabs(ielectron->eta()) < eleEtaMax_ && electronIdTight_(*ielectron) &&
167  ielectron->electronID("eidRobustTight") > 0) {
168  selectedElectrons_.push_back(
169  reco::ShallowClonePtrCandidate(edm::Ptr<pat::Electron>(electronHandle, ielectron - electronBegin)));
170  } else {
171  // Loose cuts
172  if (ielectron->et() > eleEtMinLoose_ && fabs(ielectron->eta()) < eleEtaMaxLoose_ &&
173  electronIdLoose_(*ielectron)) {
174  looseElectrons_.push_back(
175  reco::ShallowClonePtrCandidate(edm::Ptr<pat::Electron>(electronHandle, ielectron - electronBegin)));
176  }
177  }
178  }
179 
180  for (std::vector<pat::Muon>::const_iterator muonBegin = muonHandle->begin(),
181  muonEnd = muonHandle->end(),
182  imuon = muonBegin;
183  imuon != muonEnd;
184  ++imuon) {
185  if (!imuon->isGlobalMuon())
186  continue;
187 
188  // Tight cuts
189  bool passTight = muonIdTight_(*imuon, event) && imuon->isTrackerMuon();
190  if (imuon->pt() > muPtMin_ && fabs(imuon->eta()) < muEtaMax_ && passTight) {
191  selectedMuons_.push_back(reco::ShallowClonePtrCandidate(edm::Ptr<pat::Muon>(muonHandle, imuon - muonBegin)));
192  } else {
193  // Loose cuts
194  if (imuon->pt() > muPtMinLoose_ && fabs(imuon->eta()) < muEtaMaxLoose_ && muonIdLoose_(*imuon, event)) {
195  looseMuons_.push_back(reco::ShallowClonePtrCandidate(edm::Ptr<pat::Muon>(muonHandle, imuon - muonBegin)));
196  }
197  }
198  }
199 
201  edm::Ptr<pat::MET>(metHandle, 0), metHandle->at(0).charge(), metHandle->at(0).p4());
202 
203  event.getByLabel(jetTag_, jetHandle);
206  for (std::vector<pat::Jet>::const_iterator jetBegin = jetHandle->begin(),
207  jetEnd = jetHandle->end(),
208  ijet = jetBegin;
209  ijet != jetEnd;
210  ++ijet) {
212  edm::Ptr<pat::Jet>(jetHandle, ijet - jetBegin), ijet->charge(), ijet->p4() * jetScale_));
213  bool passJetID = false;
214  if (ijet->isCaloJet() || ijet->isJPTJet())
215  passJetID = jetIdLoose_(*ijet, ret1);
216  else
217  passJetID = pfjetIdLoose_(*ijet, ret2);
218  if (scaledJet.pt() > jetPtMin_ && fabs(scaledJet.eta()) < jetEtaMax_ && passJetID) {
219  selectedJets_.push_back(scaledJet);
220 
221  if (muPlusJets_) {
222  //Remove some jets
223  bool indeltaR = false;
224  for (std::vector<reco::ShallowClonePtrCandidate>::const_iterator muonBegin = selectedMuons_.begin(),
225  muonEnd = selectedMuons_.end(),
226  imuon = muonBegin;
227  imuon != muonEnd;
228  ++imuon) {
229  if (reco::deltaR(imuon->eta(), imuon->phi(), scaledJet.eta(), scaledJet.phi()) < muJetDR_) {
230  indeltaR = true;
231  }
232  }
233  if (!indeltaR) {
234  cleanedJets_.push_back(scaledJet);
235  } // end if jet is not within dR of a muon
236  } // end if mu+jets
237  else {
238  //Remove some jets
239  bool indeltaR = false;
240  for (std::vector<reco::ShallowClonePtrCandidate>::const_iterator electronBegin = selectedElectrons_.begin(),
241  electronEnd = selectedElectrons_.end(),
242  ielectron = electronBegin;
243  ielectron != electronEnd;
244  ++ielectron) {
245  if (reco::deltaR(ielectron->eta(), ielectron->phi(), scaledJet.eta(), scaledJet.phi()) < eleJetDR_) {
246  indeltaR = true;
247  }
248  }
249  if (!indeltaR) {
250  cleanedJets_.push_back(scaledJet);
251  } // end if jet is not within dR of an electron
252  } // end if e+jets
253  } // end if pass id and kin cuts
254  } // end loop over jets
255 
256  int nleptons = 0;
257  if (muPlusJets_)
258  nleptons += selectedMuons_.size();
259 
260  if (ePlusJets_)
261  nleptons += selectedElectrons_.size();
262 
263  if (ignoreCut(lep1Index_) || (nleptons > 0)) {
264  passCut(ret, lep1Index_);
265 
266  if (ignoreCut(lep2Index_) || (nleptons == 1)) {
267  passCut(ret, lep2Index_);
268 
269  bool oneMuon = (selectedMuons_.size() == 1 &&
270  looseMuons_.size() + selectedElectrons_.size() + looseElectrons_.size() == 0);
271  bool oneElectron = (selectedElectrons_.size() == 1 && selectedMuons_.empty());
272 
273  bool oneMuonMuVeto = (selectedMuons_.size() == 1 && looseMuons_.empty());
274 
275  if (ignoreCut(lep3Index_) || ePlusJets_ || (muPlusJets_ && oneMuonMuVeto)) {
276  passCut(ret, lep3Index_);
277 
278  if (ignoreCut(lep4Index_) || ((muPlusJets_ && oneMuon) ^ (ePlusJets_ && oneElectron))) {
279  passCut(ret, lep4Index_);
280 
281  bool metCut = met_.pt() > metMin_;
282  if (ignoreCut(metIndex_) || metCut) {
283  passCut(ret, metIndex_);
284 
285  bool zVeto = true;
286  if (selectedMuons_.size() == 2) {
287  }
288  if (selectedElectrons_.size() == 2) {
289  }
290  if (ignoreCut(zvetoIndex_) || zVeto) {
291  passCut(ret, zvetoIndex_);
292 
293  bool conversionVeto = true;
294  if (ignoreCut(conversionIndex_) || conversionVeto) {
295  passCut(ret, conversionIndex_);
296 
297  bool cosmicVeto = true;
298  if (ignoreCut(cosmicIndex_) || cosmicVeto) {
299  passCut(ret, cosmicIndex_);
300 
301  if (ignoreCut(jet1Index_) || static_cast<int>(cleanedJets_.size()) >= 1) {
302  passCut(ret, jet1Index_);
303  } // end if >=1 tight jets
304 
305  if (ignoreCut(jet2Index_) || static_cast<int>(cleanedJets_.size()) >= 2) {
306  passCut(ret, jet2Index_);
307  } // end if >=2 tight jets
308 
309  if (ignoreCut(jet3Index_) || static_cast<int>(cleanedJets_.size()) >= 3) {
310  passCut(ret, jet3Index_);
311  } // end if >=3 tight jets
312 
313  if (ignoreCut(jet4Index_) || static_cast<int>(cleanedJets_.size()) >= 4) {
314  passCut(ret, jet4Index_);
315  } // end if >=4 tight jets
316 
317  if (ignoreCut(jet5Index_) || static_cast<int>(cleanedJets_.size()) >= 5) {
318  passCut(ret, jet5Index_);
319  } // end if >=5 tight jets
320 
321  } // end if cosmic veto
322 
323  } // end if conversion veto
324 
325  } // end if z veto
326 
327  } // end if met cut
328 
329  } // end if == 1 lepton
330 
331  } // end if == 1 tight lepton with a muon veto separately
332 
333  } // end if == 1 tight lepton
334 
335  } // end if >= 1 lepton
336 
337  } // end if PV
338 
339  } // end if trigger
340 
341  setIgnored(ret);
342 
343  return (bool)ret;
344 }
WPlusJetsEventSelector::jet4Index_
index_type jet4Index_
Definition: WPlusJetsEventSelector.h:155
WPlusJetsEventSelector::muEtaMaxLoose_
double muEtaMaxLoose_
Definition: WPlusJetsEventSelector.h:130
runTheMatrix.ret
ret
prodAgent to be discontinued
Definition: runTheMatrix.py:373
WPlusJetsEventSelector::selectedJets_
std::vector< reco::ShallowClonePtrCandidate > selectedJets_
Definition: WPlusJetsEventSelector.h:98
WPlusJetsEventSelector::cosmicIndex_
index_type cosmicIndex_
Definition: WPlusJetsEventSelector.h:151
WPlusJetsEventSelector::triggerIndex_
index_type triggerIndex_
Definition: WPlusJetsEventSelector.h:142
WPlusJetsEventSelector::muonIdTight_
MuonVPlusJetsIDSelectionFunctor muonIdTight_
Definition: WPlusJetsEventSelector.h:109
electrons_cff.bool
bool
Definition: electrons_cff.py:393
WPlusJetsEventSelector::metMin_
double metMin_
Definition: WPlusJetsEventSelector.h:139
WPlusJetsEventSelector::eleEtMinLoose_
double eleEtMinLoose_
Definition: WPlusJetsEventSelector.h:131
WPlusJetsEventSelector::jet2Index_
index_type jet2Index_
Definition: WPlusJetsEventSelector.h:153
WPlusJetsEventSelector::pvSelector_
PVSelector pvSelector_
Definition: WPlusJetsEventSelector.h:108
WPlusJetsEventSelector::muonIdLoose_
MuonVPlusJetsIDSelectionFunctor muonIdLoose_
Definition: WPlusJetsEventSelector.h:111
pat::TriggerEvent
Analysis-level trigger event class.
Definition: TriggerEvent.h:39
CalibrationSummaryClient_cfi.params
params
Definition: CalibrationSummaryClient_cfi.py:14
custom_jme_cff.nElectrons
nElectrons
Definition: custom_jme_cff.py:149
edm
HLT enums.
Definition: AlignableModifier.h:19
WPlusJetsEventSelector::WPlusJetsEventSelector
WPlusJetsEventSelector()
Definition: WPlusJetsEventSelector.h:24
WPlusJetsEventSelector::lep1Index_
index_type lep1Index_
Definition: WPlusJetsEventSelector.h:144
pat::TriggerPath::wasAccept
bool wasAccept() const
Get the success flag.
Definition: TriggerPath.h:123
WPlusJetsEventSelector::lep3Index_
index_type lep3Index_
Definition: WPlusJetsEventSelector.h:146
WPlusJetsEventSelector::metIndex_
index_type metIndex_
Definition: WPlusJetsEventSelector.h:148
HLT_FULL_cff.InputTag
InputTag
Definition: HLT_FULL_cff.py:89287
WPlusJetsEventSelector::muJetDR_
double muJetDR_
Definition: WPlusJetsEventSelector.h:118
WPlusJetsEventSelector::jetScale_
double jetScale_
Definition: WPlusJetsEventSelector.h:137
WPlusJetsEventSelector::trigTag_
edm::InputTag trigTag_
Definition: WPlusJetsEventSelector.h:90
WPlusJetsEventSelector::muPlusJets_
bool muPlusJets_
Definition: WPlusJetsEventSelector.h:121
reco::LeafCandidate::pt
double pt() const final
transverse momentum
Definition: LeafCandidate.h:146
WPlusJetsEventSelector::electronIdTight_
ElectronVPlusJetsIDSelectionFunctor electronIdTight_
Definition: WPlusJetsEventSelector.h:110
WPlusJetsEventSelector::selectedElectrons_
std::vector< reco::ShallowClonePtrCandidate > selectedElectrons_
Definition: WPlusJetsEventSelector.h:100
WPlusJetsEventSelector::jetEtaMax_
double jetEtaMax_
Definition: WPlusJetsEventSelector.h:135
edm::Handle
Definition: AssociativeIterator.h:50
WPlusJetsEventSelector::inclusiveIndex_
index_type inclusiveIndex_
Definition: WPlusJetsEventSelector.h:141
WPlusJetsEventSelector::eleEtaMaxLoose_
double eleEtaMaxLoose_
Definition: WPlusJetsEventSelector.h:132
EventSelector
Selector< edm::EventBase > EventSelector
Definition: EventSelector.h:18
WZinterestingEventFilter_cfi.metCut
metCut
Definition: WZinterestingEventFilter_cfi.py:20
WPlusJetsEventSelector::lep4Index_
index_type lep4Index_
Definition: WPlusJetsEventSelector.h:147
WPlusJetsEventSelector::electronTag_
edm::InputTag electronTag_
Definition: WPlusJetsEventSelector.h:78
WPlusJetsEventSelector::jet1Index_
index_type jet1Index_
Definition: WPlusJetsEventSelector.h:152
WPlusJetsEventSelector::selectedMuons_
std::vector< reco::ShallowClonePtrCandidate > selectedMuons_
Definition: WPlusJetsEventSelector.h:99
WPlusJetsEventSelector.h
WPlusJetsEventSelector::zvetoIndex_
index_type zvetoIndex_
Definition: WPlusJetsEventSelector.h:149
WPlusJetsEventSelector::looseMuons_
std::vector< reco::ShallowClonePtrCandidate > looseMuons_
Definition: WPlusJetsEventSelector.h:101
WPlusJetsEventSelector::selectedMETs_
std::vector< reco::ShallowClonePtrCandidate > selectedMETs_
Definition: WPlusJetsEventSelector.h:103
WPlusJetsEventSelector::eleEtaMax_
double eleEtaMax_
Definition: WPlusJetsEventSelector.h:127
WPlusJetsEventSelector::eleEtMin_
double eleEtMin_
Definition: WPlusJetsEventSelector.h:126
WPlusJetsEventSelector::muonTag_
edm::InputTag muonTag_
Definition: WPlusJetsEventSelector.h:74
AlCaHLTBitMon_QueryRunRegistry.string
string
Definition: AlCaHLTBitMon_QueryRunRegistry.py:256
WPlusJetsEventSelector::looseElectrons_
std::vector< reco::ShallowClonePtrCandidate > looseElectrons_
Definition: WPlusJetsEventSelector.h:102
WPlusJetsEventSelector::jetTag_
edm::InputTag jetTag_
Definition: WPlusJetsEventSelector.h:82
WPlusJetsEventSelector::jetIdLoose_
JetIDSelectionFunctor jetIdLoose_
Definition: WPlusJetsEventSelector.h:113
Selector::getBitTemplate
pat::strbitset getBitTemplate() const
Get an empty bitset with the proper names.
Definition: Selector.h:168
edm::ParameterSet
Definition: ParameterSet.h:47
WPlusJetsEventSelector::lep2Index_
index_type lep2Index_
Definition: WPlusJetsEventSelector.h:145
WPlusJetsEventSelector::eleTrig_
std::string eleTrig_
Definition: WPlusJetsEventSelector.h:96
reco::LeafCandidate::eta
double eta() const final
momentum pseudorapidity
Definition: LeafCandidate.h:152
ParameterSet
Definition: Functions.h:16
WPlusJetsEventSelector::metTag_
edm::InputTag metTag_
Definition: WPlusJetsEventSelector.h:86
WPlusJetsEventSelector::muTrig_
std::string muTrig_
Definition: WPlusJetsEventSelector.h:95
pat::TriggerPath
Analysis-level HLTrigger path class.
Definition: TriggerPath.h:36
WPlusJetsEventSelector::electronIdLoose_
ElectronVPlusJetsIDSelectionFunctor electronIdLoose_
Definition: WPlusJetsEventSelector.h:112
WPlusJetsEventSelector::muEtaMax_
double muEtaMax_
Definition: WPlusJetsEventSelector.h:125
createfilelist.int
int
Definition: createfilelist.py:10
WPlusJetsEventSelector::jetPtMin_
double jetPtMin_
Definition: WPlusJetsEventSelector.h:134
reco::LeafCandidate::charge
int charge() const final
electric charge
Definition: LeafCandidate.h:106
WPlusJetsEventSelector::cleanedJets_
std::vector< reco::ShallowClonePtrCandidate > cleanedJets_
Definition: WPlusJetsEventSelector.h:104
PDWG_DiPhoton_SD_cff.triggerEvent
triggerEvent
Definition: PDWG_DiPhoton_SD_cff.py:39
ClusterTask_cfi.trig
trig
Definition: ClusterTask_cfi.py:398
WPlusJetsEventSelector::muPtMin_
double muPtMin_
Definition: WPlusJetsEventSelector.h:124
edm::Ptr< pat::Electron >
ShallowCloneCandidate.h
pat::strbitset
Definition: strbitset.h:23
WPlusJetsEventSelector::ePlusJets_
bool ePlusJets_
Definition: WPlusJetsEventSelector.h:122
WPlusJetsEventSelector::operator()
bool operator()(edm::EventBase const &t, pat::strbitset &ret) override
Definition: WPlusJetsEventSelector.cc:101
hltdqm::passTrig
bool passTrig(const float objEta, float objPhi, const trigger::TriggerEvent &trigEvt, const std::string &filterName, const std::string &processName)
Definition: UtilFuncs.h:14
std
Definition: JetResolutionObject.h:76
reco::LeafCandidate::phi
double phi() const final
momentum azimuthal angle
Definition: LeafCandidate.h:148
WPlusJetsEventSelector::minJets_
int minJets_
Definition: WPlusJetsEventSelector.h:116
edm::EventBase
Definition: EventBase.h:46
WPlusJetsEventSelector::eleJetDR_
double eleJetDR_
Definition: WPlusJetsEventSelector.h:119
WPlusJetsEventSelector::jet5Index_
index_type jet5Index_
Definition: WPlusJetsEventSelector.h:156
reco::deltaR
constexpr auto deltaR(const T1 &t1, const T2 &t2) -> decltype(t1.eta())
Definition: deltaR.h:30
WPlusJetsEventSelector::jet3Index_
index_type jet3Index_
Definition: WPlusJetsEventSelector.h:154
WPlusJetsEventSelector::met_
reco::ShallowClonePtrCandidate met_
Definition: WPlusJetsEventSelector.h:106
WPlusJetsEventSelector::conversionIndex_
index_type conversionIndex_
Definition: WPlusJetsEventSelector.h:150
WPlusJetsEventSelector::muPtMinLoose_
double muPtMinLoose_
Definition: WPlusJetsEventSelector.h:129
reco::ShallowClonePtrCandidate
Definition: ShallowClonePtrCandidate.h:15
event
Definition: event.py:1
WPlusJetsEventSelector::pvIndex_
index_type pvIndex_
Definition: WPlusJetsEventSelector.h:143
WPlusJetsEventSelector::pfjetIdLoose_
PFJetIDSelectionFunctor pfjetIdLoose_
Definition: WPlusJetsEventSelector.h:114