18 folderName_ ( iConfig.getParameter<
std::
string>(
"FolderName") )
21 , eleToken_ ( mayConsume<
edm::
View<
reco::GsfElectron> >(iConfig.getParameter<
edm::InputTag>(
"electrons") ) )
23 , elecIDToken_ ( consumes<
edm::ValueMap<
bool> > (iConfig.getParameter<
edm::InputTag>(
"elecID") ) )
44 , met_variable_binning_ ( iConfig.getParameter<
edm::
ParameterSet>(
"histoPSet").getParameter<
std::vector<double> >(
"metBinning") )
45 , HT_variable_binning_ ( iConfig.getParameter<
edm::
ParameterSet>(
"histoPSet").getParameter<
std::vector<double> >(
"HTBinning") )
46 , jetPt_variable_binning_ ( iConfig.getParameter<
edm::
ParameterSet>(
"histoPSet").getParameter<
std::vector<double> >(
"jetPtBinning") )
47 , muPt_variable_binning_ ( iConfig.getParameter<
edm::
ParameterSet>(
"histoPSet").getParameter<
std::vector<double> >(
"muPtBinning") )
48 , elePt_variable_binning_ ( iConfig.getParameter<
edm::
ParameterSet>(
"histoPSet").getParameter<
std::vector<double> >(
"elePtBinning") )
49 , jetEta_variable_binning_ ( iConfig.getParameter<
edm::
ParameterSet>(
"histoPSet").getParameter<
std::vector<double> >(
"jetEtaBinning") )
50 , muEta_variable_binning_ ( iConfig.getParameter<
edm::
ParameterSet>(
"histoPSet").getParameter<
std::vector<double> >(
"muEtaBinning") )
51 , eleEta_variable_binning_ ( iConfig.getParameter<
edm::
ParameterSet>(
"histoPSet").getParameter<
std::vector<double> >(
"eleEtaBinning") )
54 , invMass_mumu_variable_binning_ ( iConfig.getParameter<
edm::
ParameterSet>(
"histoPSet").getParameter<
std::vector<double> >(
"invMassVariableBinning") )
55 , MHT_variable_binning_ ( iConfig.getParameter<
edm::
ParameterSet>(
"histoPSet").getParameter<
std::vector<double> >(
"MHTVariableBinning") )
56 , HT_variable_binning_2D_ ( iConfig.getParameter<
edm::
ParameterSet>(
"histoPSet").getParameter<
std::vector<double> >(
"HTBinning2D") )
57 , jetPt_variable_binning_2D_ ( iConfig.getParameter<
edm::
ParameterSet>(
"histoPSet").getParameter<
std::vector<double> >(
"jetPtBinning2D") )
58 , muPt_variable_binning_2D_ ( iConfig.getParameter<
edm::
ParameterSet>(
"histoPSet").getParameter<
std::vector<double> >(
"muPtBinning2D") )
59 , elePt_variable_binning_2D_ ( iConfig.getParameter<
edm::
ParameterSet>(
"histoPSet").getParameter<
std::vector<double> >(
"elePtBinning2D") )
60 , phoPt_variable_binning_2D_ ( iConfig.getParameter<
edm::
ParameterSet>(
"histoPSet").getParameter<
std::vector<double> >(
"phoPtBinning2D") )
61 , jetEta_variable_binning_2D_ ( iConfig.getParameter<
edm::
ParameterSet>(
"histoPSet").getParameter<
std::vector<double> >(
"jetEtaBinning2D") )
62 , muEta_variable_binning_2D_ ( iConfig.getParameter<
edm::
ParameterSet>(
"histoPSet").getParameter<
std::vector<double> >(
"muEtaBinning2D") )
63 , eleEta_variable_binning_2D_ ( iConfig.getParameter<
edm::
ParameterSet>(
"histoPSet").getParameter<
std::vector<double> >(
"eleEtaBinning2D") )
64 , phoEta_variable_binning_2D_ ( iConfig.getParameter<
edm::
ParameterSet>(
"histoPSet").getParameter<
std::vector<double> >(
"phoEtaBinning2D") )
65 , phi_variable_binning_2D_ ( iConfig.getParameter<
edm::
ParameterSet>(
"histoPSet").getParameter<
std::vector<double> >(
"phiBinning2D") )
68 , metSelection_ ( iConfig.getParameter<
std::
string>(
"metSelection") )
69 , jetSelection_ ( iConfig.getParameter<
std::
string>(
"jetSelection") )
70 , eleSelection_ ( iConfig.getParameter<
std::
string>(
"eleSelection") )
71 , muoSelection_ ( iConfig.getParameter<
std::
string>(
"muoSelection") )
72 , phoSelection_ ( iConfig.getParameter<
std::
string>(
"phoSelection") )
73 , HTdefinition_ ( iConfig.getParameter<
std::
string>(
"HTdefinition") )
74 , vtxSelection_ ( iConfig.getParameter<
std::
string>(
"vertexSelection") )
75 , bjetSelection_( iConfig.getParameter<
std::
string>(
"bjetSelection"))
76 , njets_ ( iConfig.getParameter<unsigned
int>(
"njets" ) )
77 , nelectrons_ ( iConfig.getParameter<unsigned
int>(
"nelectrons" ) )
78 , nmuons_ ( iConfig.getParameter<unsigned
int>(
"nmuons" ) )
79 , nphotons_ ( iConfig.getParameter<unsigned
int>(
"nphotons" ) )
80 , leptJetDeltaRmin_ ( iConfig.getParameter<double>(
"leptJetDeltaRmin" ) )
81 , bJetMuDeltaRmax_ ( iConfig.getParameter<double>(
"bJetMuDeltaRmax" ) )
82 , bJetDeltaEtaMax_ ( iConfig.getParameter<double>(
"bJetDeltaEtaMax" ) )
83 , HTcut_ ( iConfig.getParameter<double>(
"HTcut" ) )
85 , nbjets_ ( iConfig.getParameter<unsigned
int>(
"nbjets"))
86 , workingpoint_(iConfig.getParameter<double>(
"workingpoint"))
88 , usePVcuts_ ( iConfig.getParameter<
bool>(
"applyleptonPVcuts") )
90 , invMassUppercut_ (iConfig.getParameter<double>(
"invMassUppercut"))
91 , invMassLowercut_ (iConfig.getParameter<double>(
"invMassLowercut"))
92 , opsign_ (iConfig.getParameter<
bool>(
"oppositeSignMuons"))
93 , MHTdefinition_ ( iConfig.getParameter<
std::
string>(
"MHTdefinition") )
94 , MHTcut_ ( iConfig.getParameter<double>(
"MHTcut" ) )
95 , invMassCutInAllMuPairs_ (iConfig.getParameter<
bool>(
"invMassCutInAllMuPairs"))
97 , enablePhotonPlot_ ( iConfig.getParameter<
bool>(
"enablePhotonPlot") )
101 metcut_str.erase(
std::remove(metcut_str.begin(), metcut_str.end(),
' '), metcut_str.end());
170 histname =
"met"; histtitle =
"PFMET";
174 histname =
"metPhi"; histtitle =
"PFMET phi";
178 histname =
"met_variable"; histtitle =
"PFMET";
182 histname =
"metVsLS"; histtitle =
"PFMET vs LS";
188 histname =
"jetVsLS"; histtitle =
"jet pt vs LS";
192 histname =
"jetEtaPhi_HEP17"; histtitle =
"jet #eta-#phi for HEP17";
196 histname =
"jetMulti"; histtitle =
"jet multiplicity";
202 histname =
"muVsLS"; histtitle =
"muon pt vs LS";
206 histname =
"muMulti"; histtitle =
"muon multiplicity";
211 histname =
"DeltaR_jet_Mu"; histtitle =
"#DeltaR(jet,mu)";
219 histname =
"eleVsLS"; histtitle =
"electron pt vs LS";
223 histname =
"eleMulti"; histtitle =
"electron multiplicity";
228 histname =
"elePt_jetPt"; histtitle =
"electron pt vs jet pt";
234 histname =
"elePt_muPt"; histtitle =
"electron pt vs muon pt";
238 histname =
"eleEta_muEta"; histtitle =
"electron #eta vs muon #eta";
248 histname =
"photonVsLS"; histtitle =
"photon pt vs LS";
256 histname =
"bjetVsLS"; histtitle =
"b-jet pt vs LS";
260 histname =
"bjetMulti"; histtitle =
"b-jet multiplicity";
267 histname =
"ele1Pt_ele2Pt"; histtitle =
"electron-1 pt vs electron-2 pt";
271 histname =
"ele1Eta_ele2Eta"; histtitle =
"electron-1 #eta vs electron-2 #eta";
277 histname =
"mu1Pt_mu2Pt"; histtitle =
"muon-1 pt vs muon-2 pt";
281 histname =
"mu1Eta_mu2Eta"; histtitle =
"muon-1 #eta vs muon-2 #eta";
285 histname =
"invMass"; histtitle =
"M mu1 mu2";
288 histname =
"invMass_variable"; histtitle =
"M mu1 mu2 variable";
294 histname =
"htVsLS"; histtitle =
"event HT vs LS";
298 histname =
"eventHT"; histtitle =
"event HT";
301 histname.append(
"_variableBinning");
306 histname =
"elePt_eventHT"; histtitle =
"electron pt vs event HT";
315 histname =
"eventMHT"; histtitle =
"event MHT";
319 histname =
"eventMHT_variable"; histtitle =
"event MHT variable";
327 histname =
"muPt_phoPt", histtitle =
"muon pt vs photon pt";
331 histname =
"muEta_phoEta", histtitle =
"muon #eta vs photon #eta";
338 for (
unsigned int iMu=0; iMu<
nmuons_; ++iMu){
341 histname =
"muPt_"; histtitle =
"muon p_{T} - ";
342 histname.append(index); histtitle.append(index);
345 histname.append(
"_variableBinning");
349 histname =
"muEta_"; histtitle =
"muon #eta - ";
350 histname.append(index); histtitle.append(index);
353 histname.append(
"_variableBinning");
357 histname =
"muPhi_"; histtitle =
"muon #phi - ";
358 histname.append(index); histtitle.append(index);
362 histname =
"muPtEta_"; histtitle =
"muon p_{T} - #eta - ";
363 histname.append(index); histtitle.append(index);
367 histname =
"muEtaPhi_"; histtitle =
"muon #eta - #phi - ";
368 histname.append(index); histtitle.append(index);
374 for (
unsigned int iEle=0; iEle<
nelectrons_; ++iEle){
377 histname =
"elePt_"; histtitle =
"electron p_{T} - ";
378 histname.append(index); histtitle.append(index);
381 histname.append(
"_variableBinning");
385 histname =
"eleEta_"; histtitle =
"electron #eta - ";
386 histname.append(index); histtitle.append(index);
389 histname.append(
"_variableBinning");
393 histname =
"elePhi_"; histtitle =
"electron #phi - ";
394 histname.append(index); histtitle.append(index);
398 histname =
"elePtEta_"; histtitle =
"electron p_{T} - #eta - ";
399 histname.append(index); histtitle.append(index);
403 histname =
"eleEtaPhi_"; histtitle =
"electron #eta - #phi - ";
404 histname.append(index); histtitle.append(index);
413 for (
unsigned int iPho(0); iPho <
nphotons_; iPho++){
416 histname =
"phoPt_"; histtitle =
"photon p_{T} - ";
417 histname.append(index); histtitle.append(index);
421 histname =
"phoEta_"; histtitle =
"photon #eta - ";
422 histname.append(index); histtitle.append(index);
426 histname =
"phoPhi_"; histtitle =
"photon #phi - ";
427 histname.append(index); histtitle.append(index);
431 histname =
"phoPtEta_"; histtitle =
"photon p_{T} - #eta - ";
432 histname.append(index); histtitle.append(index);
436 histname =
"phoEtaPhi_"; histtitle =
"photon #eta - #phi - ";
437 histname.append(index); histtitle.append(index);
445 for (
unsigned int iJet=0; iJet<
njets_; ++iJet){
448 histname =
"jetPt_"; histtitle =
"jet p_{T} - ";
449 histname.append(index); histtitle.append(index);
452 histname.append(
"_variableBinning");
456 histname =
"jetEta_"; histtitle =
"jet #eta - ";
457 histname.append(index); histtitle.append(index);
460 histname.append(
"_variableBinning");
464 histname =
"jetPhi_"; histtitle =
"jet #phi - ";
465 histname.append(index); histtitle.append(index);
469 histname =
"jetPtEta_"; histtitle =
"jet p_{T} - #eta - ";
470 histname.append(index); histtitle.append(index);
474 histname =
"jetEtaPhi_"; histtitle =
"jet #eta - #phi - ";
475 histname.append(index); histtitle.append(index);
484 for (
unsigned int iBJet=0; iBJet<
nbjets_; ++iBJet){
487 histname =
"bjetPt_"; histtitle =
"b-jet p_{T} - ";
488 histname.append(index); histtitle.append(index);
491 histname.append(
"_variableBinning");
495 histname =
"bjetEta_"; histtitle =
"b-jet #eta - ";
496 histname.append(index); histtitle.append(index);
499 histname.append(
"_variableBinning");
503 histname =
"bjetPhi_"; histtitle =
"b-jet #phi - ";
504 histname.append(index); histtitle.append(index);
508 histname =
"bjetCSV_"; histtitle =
"b-jet CSV - ";
509 histname.append(index); histtitle.append(index);
513 histname =
"bjetPtEta_"; histtitle =
"b-jet p_{T} - #eta - ";
514 histname.append(index); histtitle.append(index);
518 histname =
"bjetEtaPhi_"; histtitle =
"b-jet #eta - #phi - ";
519 histname.append(index); histtitle.append(index);
523 histname =
"bjetCSVHT_"; histtitle =
"HT - b-jet CSV - ";
524 histname.append(index); histtitle.append(index);
549 for(
auto const&
v: *primaryVertices) {
590 std::vector<reco::GsfElectron>
electrons;
594 const auto e = eleHandle->at(
index);
595 const auto el = eleHandle->ptrAt(
index);
596 bool pass_id = (*eleIDHandle)[el];
613 if ( muoHandle->size() <
nmuons_ )
return;
614 std::vector<reco::Muon>
muons;
616 for (
auto const &
m : *muoHandle ) {
622 if ( muons.size() <
nmuons_ )
return;
627 mll = (muons[0].p4() + muons[1].p4()).M();
628 sign = muons[0].charge() * muons[1].charge();
643 if ( phoHandle->size() <
nphotons_ )
return;
644 std::vector<reco::Photon>
photons;
645 for (
auto const &
p : *phoHandle ) {
648 if ( photons.size() <
nphotons_ )
return;
659 std::vector<reco::PFJet>
jets;
661 if (jetHandle->size() <
njets_)
return;
662 for (
auto const & j : *jetHandle) {
670 bool isJetOverlappedWithLepton =
false;
672 for (
auto const&
m : muons) {
674 isJetOverlappedWithLepton=
true;
679 if (isJetOverlappedWithLepton)
continue;
681 for (
auto const &
e: electrons) {
683 isJetOverlappedWithLepton=
true;
688 if (isJetOverlappedWithLepton)
continue;
693 if (jets.size() <
njets_)
return;
696 if (eventHT <
HTcut_)
return;
702 for (
unsigned int idx=0;
idx<muons.size();
idx++){
703 for (
unsigned int idx2=
idx+1; idx2<muons.size(); idx2++){
705 mumu_mass=(muons[idx2].p4() + muons[idx2].p4()).M();
706 if (mumu_mass<invMassLowercut_ || mumu_mass>
invMassUppercut_) allpairs=
true;
727 for (
unsigned int i=0;
i!=bTags.
size(); ++
i){
735 if (bjets.size() <
nbjets_ )
return;
744 bool foundMuonInsideJet =
false;
745 for (
auto const & bjet : bjets){
746 for (
auto const &
mu : muons){
749 foundMuonInsideJet =
true;
753 if(foundMuonInsideJet)
break;
756 if (!foundMuonInsideJet)
return;
836 for (
unsigned int iMu=0; iMu<muons.size(); ++iMu){
838 muPhi_.at(iMu).denominator ->
Fill(muons.at(iMu).phi());
839 muEta_.at(iMu).denominator ->
Fill(muons.at(iMu).eta());
840 muPt_.at(iMu).denominator ->
Fill(muons.at(iMu).pt() );
843 muPtEta_.at(iMu).denominator ->
Fill(muons.at(iMu).pt(), muons.at(iMu).eta() );
844 muEtaPhi_.at(iMu).denominator ->
Fill(muons.at(iMu).eta(), muons.at(iMu).phi() );
846 for (
unsigned int iEle=0; iEle<electrons.size(); ++iEle){
848 elePhi_.at(iEle).denominator ->
Fill(electrons.at(iEle).phi());
849 eleEta_.at(iEle).denominator ->
Fill(electrons.at(iEle).eta());
850 elePt_.at(iEle).denominator ->
Fill(electrons.at(iEle).pt() );
853 elePtEta_.at(iEle).denominator ->
Fill(electrons.at(iEle).pt(), electrons.at(iEle).eta() );
854 eleEtaPhi_.at(iEle).denominator ->
Fill(electrons.at(iEle).eta(), electrons.at(iEle).phi() );
858 for (
unsigned int iPho=0; iPho<photons.size(); ++iPho){
868 for (
unsigned int iJet=0; iJet<jets.size(); ++iJet){
870 jetPhi_.at(iJet).denominator ->
Fill(jets.at(iJet).phi());
871 jetEta_.at(iJet).denominator ->
Fill(jets.at(iJet).eta());
872 jetPt_.at(iJet).denominator ->
Fill(jets.at(iJet).pt() );
875 jetPtEta_.at(iJet).denominator ->
Fill(jets.at(iJet).pt(), jets.at(iJet).eta() );
876 jetEtaPhi_.at(iJet).denominator ->
Fill(jets.at(iJet).eta(), jets.at(iJet).phi() );
880 unsigned int iBJet = 0;
881 for (
auto & bjet: bjets){
884 bjetPhi_.at(iBJet).denominator ->
Fill(bjet.first->phi());
885 bjetEta_.at(iBJet).denominator ->
Fill(bjet.first->eta());
886 bjetPt_.at(iBJet).denominator ->
Fill(bjet.first->pt());
887 bjetCSV_.at(iBJet).denominator ->
Fill(std::fmax(0.0, bjet.second));
890 bjetPtEta_.at(iBJet).denominator ->
Fill(bjet.first->pt(), bjet.first->eta());
891 bjetEtaPhi_.at(iBJet).denominator ->
Fill(bjet.first->eta(), bjet.first->phi());
892 bjetCSVHT_.at(iBJet).denominator ->
Fill(std::fmax(0.0, bjet.second), eventHT);
980 for (
unsigned int iMu=0; iMu<muons.size(); ++iMu){
983 muPhi_.at(iMu).numerator ->
Fill(muons.at(iMu).phi());
984 muEta_.at(iMu).numerator ->
Fill(muons.at(iMu).eta());
985 muPt_.at(iMu).numerator ->
Fill(muons.at(iMu).pt() );
988 muPtEta_.at(iMu).numerator ->
Fill(muons.at(iMu).pt(), muons.at(iMu).eta() );
989 muEtaPhi_.at(iMu).numerator ->
Fill(muons.at(iMu).eta(), muons.at(iMu).phi() );
991 for (
unsigned int iEle=0; iEle<electrons.size(); ++iEle){
993 elePhi_.at(iEle).numerator ->
Fill(electrons.at(iEle).phi());
994 eleEta_.at(iEle).numerator ->
Fill(electrons.at(iEle).eta());
995 elePt_.at(iEle).numerator ->
Fill(electrons.at(iEle).pt() );
998 elePtEta_.at(iEle).numerator ->
Fill(electrons.at(iEle).pt(), electrons.at(iEle).eta() );
999 eleEtaPhi_.at(iEle).numerator ->
Fill(electrons.at(iEle).eta(), electrons.at(iEle).phi() );
1003 for (
unsigned int iPho=0; iPho<photons.size(); ++iPho){
1013 for (
unsigned int iJet=0; iJet<jets.size(); ++iJet){
1015 jetPhi_.at(iJet).numerator ->
Fill(jets.at(iJet).phi());
1016 jetEta_.at(iJet).numerator ->
Fill(jets.at(iJet).eta());
1017 jetPt_.at(iJet).numerator ->
Fill(jets.at(iJet).pt() );
1020 jetPtEta_.at(iJet).numerator ->
Fill(jets.at(iJet).pt(), jets.at(iJet).eta() );
1021 jetEtaPhi_.at(iJet).numerator ->
Fill(jets.at(iJet).eta(), jets.at(iJet).phi() );
1026 for (
auto & bjet: bjets){
1030 bjetPt_.at(j).numerator ->
Fill(bjet.first->pt());
1031 bjetCSV_.at(j).numerator ->
Fill(std::fmax(0.0,bjet.second));
1034 bjetPtEta_.at(j).numerator ->
Fill(bjet.first->pt(), bjet.first->eta());
1035 bjetEtaPhi_.at(j).numerator ->
Fill(bjet.first->eta(), bjet.first->phi());
1036 bjetCSVHT_.at(j).numerator ->
Fill(std::fmax(0.0,bjet.second), eventHT);
1070 desc.
add<
unsigned int>(
"njets", 0);
1071 desc.
add<
unsigned int>(
"nelectrons", 0);
1072 desc.
add<
unsigned int>(
"nmuons", 0);
1073 desc.
add<
unsigned int>(
"nphotons", 0);
1074 desc.
add<
double>(
"leptJetDeltaRmin", 0);
1075 desc.
add<
double>(
"bJetMuDeltaRmax" , 9999.);
1076 desc.
add<
double>(
"bJetDeltaEtaMax" , 9999.);
1077 desc.
add<
double>(
"HTcut", 0);
1079 desc.
add<
unsigned int>(
"nbjets", 0);
1080 desc.
add<
double>(
"workingpoint", 0.8484);
1082 desc.
add<
bool>(
"applyleptonPVcuts",
false);
1084 desc.
add<
double>(
"invMassUppercut",-1.0);
1085 desc.
add<
double>(
"invMassLowercut",-1.0);
1086 desc.
add<
bool>(
"oppositeSignMuons",
false);
1088 desc.
add<
double>(
"MHTcut", -1);
1089 desc.
add<
bool>(
"invMassCutInAllMuPairs",
false);
1091 desc.
add<
bool>(
"enablePhotonPlot",
false);
1094 genericTriggerEventPSet.
add<
bool>(
"andOr");
1096 genericTriggerEventPSet.add<std::vector<int> >(
"dcsPartitions",{});
1097 genericTriggerEventPSet.add<
bool>(
"andOrDcs",
false);
1098 genericTriggerEventPSet.add<
bool>(
"errorReplyDcs",
true);
1099 genericTriggerEventPSet.add<
std::string>(
"dbLabel",
"");
1100 genericTriggerEventPSet.add<
bool>(
"andOrHlt",
true);
1102 genericTriggerEventPSet.add<std::vector<std::string> >(
"hltPaths",{});
1103 genericTriggerEventPSet.add<
std::string>(
"hltDBKey",
"");
1104 genericTriggerEventPSet.add<
bool>(
"errorReplyHlt",
false);
1105 genericTriggerEventPSet.add<
unsigned int>(
"verbosityLevel",1);
1145 std::vector<double>
bins = {0.,20.,40.,60.,80.,90.,100.,110.,120.,130.,140.,150.,160.,170.,180.,190.,200.,220.,240.,260.,280.,300.,350.,400.,450.,1000.};
1146 std::vector<double> eta_bins = {-3.,-2.5,-2.,-1.5,-1.,-.5,0.,.5,1.,1.5,2.,2.5,3.};
1147 histoPSet.add<std::vector<double> >(
"metBinning",
bins);
1148 histoPSet.add<std::vector<double> >(
"HTBinning",
bins);
1149 histoPSet.add<std::vector<double> >(
"jetPtBinning",
bins);
1150 histoPSet.add<std::vector<double> >(
"elePtBinning",
bins);
1151 histoPSet.add<std::vector<double> >(
"muPtBinning",
bins);
1152 histoPSet.add<std::vector<double> >(
"jetEtaBinning", eta_bins);
1153 histoPSet.add<std::vector<double> >(
"eleEtaBinning", eta_bins);
1154 histoPSet.add<std::vector<double> >(
"muEtaBinning", eta_bins);
1156 histoPSet.add<std::vector<double> >(
"invMassVariableBinning",
bins);
1157 histoPSet.add<std::vector<double> >(
"MHTVariableBinning",
bins);
1159 std::vector<double> bins_2D = {0.,40.,80.,100.,120.,140.,160.,180.,200.,240.,280.,350.,450.,1000.};
1160 std::vector<double> eta_bins_2D = {-3.,-2.,-1.,0.,1.,2.,3.};
1161 std::vector<double> phi_bins_2D = {-3.1415,-2.5132,-1.8849,-1.2566,-0.6283,0,0.6283,1.2566,1.8849,2.5132,3.1415};
1162 histoPSet.add<std::vector<double> >(
"HTBinning2D", bins_2D);
1163 histoPSet.add<std::vector<double> >(
"jetPtBinning2D", bins_2D);
1164 histoPSet.add<std::vector<double> >(
"elePtBinning2D", bins_2D);
1165 histoPSet.add<std::vector<double> >(
"muPtBinning2D", bins_2D);
1166 histoPSet.add<std::vector<double> >(
"phoPtBinning2D", bins_2D);
1167 histoPSet.add<std::vector<double> >(
"jetEtaBinning2D", eta_bins_2D);
1168 histoPSet.add<std::vector<double> >(
"eleEtaBinning2D", eta_bins_2D);
1169 histoPSet.add<std::vector<double> >(
"muEtaBinning2D", eta_bins_2D);
1170 histoPSet.add<std::vector<double> >(
"phoEtaBinning2D", eta_bins_2D);
1171 histoPSet.add<std::vector<double> >(
"phiBinning2D", phi_bins_2D);
1180 lPVcutPSet.
add<
double>(
"dxy", 9999. );
1181 lPVcutPSet.add<
double>(
"dz", 9999. );
1184 descriptions.
add(
"topMonitoring", desc);
StringCutObjectSelector< reco::Jet, true > bjetSelection_
std::vector< double > elePt_variable_binning_2D_
std::vector< ObjME > jetEta_variableBinning_
T getParameter(std::string const &) const
MonitorElement * numerator
std::vector< double > jetEta_variable_binning_
StringCutObjectSelector< reco::PFJet, true > jetSelection_
std::vector< ObjME > jetEtaPhi_
std::vector< ObjME > bjetPtEta_
std::vector< double > muEta_variable_binning_
static void fillHistoLSPSetDescription(edm::ParameterSetDescription &pset)
std::vector< ObjME > muPt_
std::vector< ObjME > jetPtEta_
MEbinning invMass_mumu_binning_
std::vector< ObjME > bjetCSVHT_
std::vector< ObjME > bjetPt_variableBinning_
bool getByToken(EDGetToken token, Handle< PROD > &result) const
std::vector< ObjME > muEta_
#define DEFINE_FWK_MODULE(type)
ObjME eventMHT_variableBinning_
std::vector< ObjME > elePt_variableBinning_
std::vector< double > jetPt_variable_binning_
double pt() const final
transverse momentum
std::vector< Vertex > VertexCollection
collection of Vertex objects
Provides a code based selection for trigger and DCS information in order to have no failing filters i...
static void fillHistoPSetDescription(edm::ParameterSetDescription &pset)
edm::EDGetTokenT< reco::VertexCollection > vtxToken_
JetFloatAssociation::Container JetTagCollection
std::vector< ObjME > bjetCSV_
std::vector< ObjME > phoEta_
LuminosityBlockNumber_t luminosityBlock() const
std::vector< ObjME > eleEtaPhi_
const Point & position() const
position
void setMETitle(ObjME &me, const std::string &titleX, const std::string &titleY)
std::vector< double > muPt_variable_binning_
ObjME metME_variableBinning_
StringCutObjectSelector< reco::Vertex, true > vtxSelection_
static const double deltaEta
std::vector< Muon > MuonCollection
collection of Muon objects
edm::EDGetTokenT< reco::PFMETCollection > metToken_
bool invMassCutInAllMuPairs_
TopMonitor(const edm::ParameterSet &)
edm::EDGetTokenT< reco::MuonCollection > muoToken_
U second(std::pair< T, U > const &p)
std::vector< ObjME > jetPt_variableBinning_
XYZTLorentzVectorD XYZTLorentzVector
Lorentz vector with cylindrical internal representation using pseudorapidity.
std::vector< ObjME > muPhi_
std::vector< double > HT_variable_binning_
edm::EDGetTokenT< reco::JetTagCollection > jetTagToken_
std::vector< ObjME > muPt_variableBinning_
Container::value_type value_type
MonitorElement * denominator
std::vector< ObjME > bjetPt_
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
StringCutObjectSelector< reco::PFJet, true > HTdefinition_
std::vector< double > invMass_mumu_variable_binning_
std::vector< double > MHT_variable_binning_
ObjME invMass_mumu_variableBinning_
std::vector< ObjME > muEtaPhi_
edm::EDGetTokenT< edm::View< reco::GsfElectron > > eleToken_
std::vector< ObjME > jetEta_
Abs< T >::type abs(const T &t)
std::vector< ObjME > phoEtaPhi_
edm::EDGetTokenT< reco::PhotonCollection > phoToken_
std::vector< double > met_variable_binning_
std::vector< ObjME > jetPhi_
std::vector< ObjME > eleEta_
std::vector< ObjME > muPtEta_
ParameterDescriptionBase * add(U const &iLabel, T const &value)
StringCutObjectSelector< reco::Muon, true > muoSelection_
std::vector< double > jetPt_variable_binning_2D_
std::vector< double > HT_variable_binning_2D_
std::vector< double > phi_variable_binning_2D_
std::vector< ObjME > jetPt_
std::vector< ObjME > eleEta_variableBinning_
double deltaR(double eta1, double eta2, double phi1, double phi2)
std::vector< ObjME > elePhi_
std::vector< double > jetEta_variable_binning_2D_
std::vector< ObjME > bjetEta_variableBinning_
std::vector< double > muPt_variable_binning_2D_
StringCutObjectSelector< reco::MET, true > metSelection_
StringCutObjectSelector< reco::PFJet, true > MHTdefinition_
void setCurrentFolder(const std::string &fullpath)
StringCutObjectSelector< reco::Photon, true > phoSelection_
std::map< edm::RefToBase< reco::Jet >, float, JetRefCompare > JetTagMap
T const * product() const
std::vector< ObjME > elePt_
void bookHistograms(DQMStore::IBooker &, edm::Run const &, edm::EventSetup const &) override
StringCutObjectSelector< reco::GsfElectron, true > eleSelection_
std::vector< ObjME > bjetEtaPhi_
std::vector< Photon > PhotonCollection
collectin of Photon objects
std::vector< ObjME > phoPt_
std::vector< double > elePt_variable_binning_
void add(std::string const &label, ParameterSetDescription const &psetDescription)
def remove(d, key, TELL=False)
static void fillDescriptions(edm::ConfigurationDescriptions &descriptions)
std::unique_ptr< GenericTriggerEventFlag > den_genTriggerEventFlag_
std::vector< ObjME > bjetEta_
std::vector< PFJet > PFJetCollection
collection of PFJet objects
void analyze(edm::Event const &iEvent, edm::EventSetup const &iSetup) override
std::vector< ObjME > phoPtEta_
std::vector< ObjME > elePtEta_
edm::EDGetTokenT< reco::PFJetCollection > jetToken_
edm::EDGetTokenT< edm::ValueMap< bool > > elecIDToken_
std::vector< double > phoEta_variable_binning_2D_
std::vector< double > muEta_variable_binning_2D_
double phi() const final
momentum azimuthal angle
std::vector< double > eleEta_variable_binning_2D_
std::unique_ptr< GenericTriggerEventFlag > num_genTriggerEventFlag_
std::vector< ObjME > phoPhi_
void bookME(DQMStore::IBooker &, ObjME &me, const std::string &histname, const std::string &histtitle, unsigned nbins, double xmin, double xmax)
std::vector< double > phoPt_variable_binning_2D_
ObjME eventHT_variableBinning_
std::vector< ObjME > muEta_variableBinning_
std::vector< ObjME > bjetPhi_
std::vector< double > eleEta_variable_binning_