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")) {
65 set(
"== 1 Tight Lepton");
66 set(
"== 1 Tight Lepton, Mu Veto");
70 set(
"Conversion Veto");
95 if (
params.exists(
"cutsToIgnore"))
96 setIgnoredCuts(
params.getParameter<std::vector<std::string> >(
"cutsToIgnore"));
98 retInternal_ = getBitTemplate();
121 if (
trig->wasRun() &&
trig->wasAccept()) {
142 if (ignoreCut(
pvIndex_) || passPV) {
149 event.getByLabel(
muonTag_, muonHandle);
156 event.getByLabel(
metTag_, metHandle);
158 for (std::vector<pat::Electron>::const_iterator electronBegin = electronHandle->begin(),
159 electronEnd = electronHandle->end(),
160 ielectron = electronBegin;
161 ielectron != electronEnd;
165 ielectron->electronID(
"eidRobustTight") > 0) {
178 for (std::vector<pat::Muon>::const_iterator muonBegin = muonHandle->begin(),
179 muonEnd = muonHandle->end(),
183 if (!imuon->isGlobalMuon())
201 event.getByLabel(
jetTag_, jetHandle);
204 for (std::vector<pat::Jet>::const_iterator jetBegin = jetHandle->begin(),
205 jetEnd = jetHandle->end(),
211 bool passJetID =
false;
212 if (ijet->isCaloJet() || ijet->isJPTJet())
221 bool indeltaR =
false;
222 for (std::vector<reco::ShallowClonePtrCandidate>::const_iterator muonBegin =
selectedMuons_.begin(),
237 bool indeltaR =
false;
238 for (std::vector<reco::ShallowClonePtrCandidate>::const_iterator electronBegin =
selectedElectrons_.begin(),
240 ielectron = electronBegin;
241 ielectron != electronEnd;
261 if (ignoreCut(
lep1Index_) || (nleptons > 0)) {
264 if (ignoreCut(
lep2Index_) || (nleptons == 1)) {
291 bool conversionVeto =
true;
295 bool cosmicVeto =
true;
std::vector< reco::ShallowClonePtrCandidate > selectedElectrons_
ElectronVPlusJetsIDSelectionFunctor electronIdLoose_
ElectronVPlusJetsIDSelectionFunctor electronIdTight_
double pt() const final
transverse momentum
index_type conversionIndex_
PFJetIDSelectionFunctor pfjetIdLoose_
ret
prodAgent to be discontinued
reco::ShallowClonePtrCandidate met_
JetIDSelectionFunctor jetIdLoose_
std::vector< reco::ShallowClonePtrCandidate > selectedJets_
std::vector< reco::ShallowClonePtrCandidate > selectedMuons_
bool operator()(edm::EventBase const &t, pat::strbitset &ret) override
constexpr auto deltaR(const T1 &t1, const T2 &t2) -> decltype(t1.eta())
Analysis-level trigger event class.
index_type inclusiveIndex_
pat::strbitset getBitTemplate() const
Get an empty bitset with the proper names.
bool wasAccept() const
Get the success flag.
edm::InputTag electronTag_
deadvectors [0] push_back({0.0175431, 0.538005, 6.80997, 13.29})
std::vector< reco::ShallowClonePtrCandidate > looseElectrons_
std::vector< reco::ShallowClonePtrCandidate > selectedMETs_
std::vector< reco::ShallowClonePtrCandidate > cleanedJets_
MuonVPlusJetsIDSelectionFunctor muonIdLoose_
MuonVPlusJetsIDSelectionFunctor muonIdTight_
double phi() const final
momentum azimuthal angle
int charge() const final
electric charge
bool passTrig(const float objEta, float objPhi, const trigger::TriggerEvent &trigEvt, const std::string &filterName, const std::string &processName)
std::vector< reco::ShallowClonePtrCandidate > looseMuons_
double eta() const final
momentum pseudorapidity