18 folderName_ ( iConfig.getParameter<
std::
string>(
"FolderName") )
21 , eleToken_ ( mayConsume<
edm::
View<
reco::GsfElectron> >(iConfig.getParameter<
edm::InputTag>(
"electrons") ) )
42 , met_variable_binning_ ( iConfig.getParameter<
edm::
ParameterSet>(
"histoPSet").getParameter<
std::vector<double> >(
"metBinning") )
43 , HT_variable_binning_ ( iConfig.getParameter<
edm::
ParameterSet>(
"histoPSet").getParameter<
std::vector<double> >(
"HTBinning") )
44 , jetPt_variable_binning_ ( iConfig.getParameter<
edm::
ParameterSet>(
"histoPSet").getParameter<
std::vector<double> >(
"jetPtBinning") )
45 , muPt_variable_binning_ ( iConfig.getParameter<
edm::
ParameterSet>(
"histoPSet").getParameter<
std::vector<double> >(
"muPtBinning") )
46 , elePt_variable_binning_ ( iConfig.getParameter<
edm::
ParameterSet>(
"histoPSet").getParameter<
std::vector<double> >(
"elePtBinning") )
47 , jetEta_variable_binning_ ( iConfig.getParameter<
edm::
ParameterSet>(
"histoPSet").getParameter<
std::vector<double> >(
"jetEtaBinning") )
48 , muEta_variable_binning_ ( iConfig.getParameter<
edm::
ParameterSet>(
"histoPSet").getParameter<
std::vector<double> >(
"muEtaBinning") )
49 , eleEta_variable_binning_ ( iConfig.getParameter<
edm::
ParameterSet>(
"histoPSet").getParameter<
std::vector<double> >(
"eleEtaBinning") )
52 , invMass_mumu_variable_binning_ ( iConfig.getParameter<
edm::
ParameterSet>(
"histoPSet").getParameter<
std::vector<double> >(
"invMassVariableBinning") )
53 , MHT_variable_binning_ ( iConfig.getParameter<
edm::
ParameterSet>(
"histoPSet").getParameter<
std::vector<double> >(
"MHTVariableBinning") )
54 , HT_variable_binning_2D_ ( iConfig.getParameter<
edm::
ParameterSet>(
"histoPSet").getParameter<
std::vector<double> >(
"HTBinning2D") )
55 , jetPt_variable_binning_2D_ ( iConfig.getParameter<
edm::
ParameterSet>(
"histoPSet").getParameter<
std::vector<double> >(
"jetPtBinning2D") )
56 , muPt_variable_binning_2D_ ( iConfig.getParameter<
edm::
ParameterSet>(
"histoPSet").getParameter<
std::vector<double> >(
"muPtBinning2D") )
57 , elePt_variable_binning_2D_ ( iConfig.getParameter<
edm::
ParameterSet>(
"histoPSet").getParameter<
std::vector<double> >(
"elePtBinning2D") )
58 , phoPt_variable_binning_2D_ ( iConfig.getParameter<
edm::
ParameterSet>(
"histoPSet").getParameter<
std::vector<double> >(
"phoPtBinning2D") )
59 , jetEta_variable_binning_2D_ ( iConfig.getParameter<
edm::
ParameterSet>(
"histoPSet").getParameter<
std::vector<double> >(
"jetEtaBinning2D") )
60 , muEta_variable_binning_2D_ ( iConfig.getParameter<
edm::
ParameterSet>(
"histoPSet").getParameter<
std::vector<double> >(
"muEtaBinning2D") )
61 , eleEta_variable_binning_2D_ ( iConfig.getParameter<
edm::
ParameterSet>(
"histoPSet").getParameter<
std::vector<double> >(
"eleEtaBinning2D") )
62 , phoEta_variable_binning_2D_ ( iConfig.getParameter<
edm::
ParameterSet>(
"histoPSet").getParameter<
std::vector<double> >(
"phoEtaBinning2D") )
63 , phi_variable_binning_2D_ ( iConfig.getParameter<
edm::
ParameterSet>(
"histoPSet").getParameter<
std::vector<double> >(
"phiBinning2D") )
66 , metSelection_ ( iConfig.getParameter<
std::
string>(
"metSelection") )
67 , jetSelection_ ( iConfig.getParameter<
std::
string>(
"jetSelection") )
68 , eleSelection_ ( iConfig.getParameter<
std::
string>(
"eleSelection") )
69 , muoSelection_ ( iConfig.getParameter<
std::
string>(
"muoSelection") )
70 , phoSelection_ ( iConfig.getParameter<
std::
string>(
"phoSelection") )
71 , HTdefinition_ ( iConfig.getParameter<
std::
string>(
"HTdefinition") )
72 , vtxSelection_ ( iConfig.getParameter<
std::
string>(
"vertexSelection") )
73 , bjetSelection_( iConfig.getParameter<
std::
string>(
"bjetSelection"))
74 , njets_ ( iConfig.getParameter<unsigned
int>(
"njets" ) )
75 , nelectrons_ ( iConfig.getParameter<unsigned
int>(
"nelectrons" ) )
76 , nmuons_ ( iConfig.getParameter<unsigned
int>(
"nmuons" ) )
77 , nphotons_ ( iConfig.getParameter<unsigned
int>(
"nphotons" ) )
78 , leptJetDeltaRmin_ ( iConfig.getParameter<double>(
"leptJetDeltaRmin" ) )
79 , bJetMuDeltaRmax_ ( iConfig.getParameter<double>(
"bJetMuDeltaRmax" ) )
80 , bJetDeltaEtaMax_ ( iConfig.getParameter<double>(
"bJetDeltaEtaMax" ) )
81 , HTcut_ ( iConfig.getParameter<double>(
"HTcut" ) )
83 , nbjets_ ( iConfig.getParameter<unsigned
int>(
"nbjets"))
84 , workingpoint_(iConfig.getParameter<double>(
"workingpoint"))
86 , usePVcuts_ ( iConfig.getParameter<
bool>(
"applyleptonPVcuts") )
88 , invMassUppercut_ (iConfig.getParameter<double>(
"invMassUppercut"))
89 , invMassLowercut_ (iConfig.getParameter<double>(
"invMassLowercut"))
90 , opsign_ (iConfig.getParameter<
bool>(
"oppositeSignMuons"))
91 , MHTdefinition_ ( iConfig.getParameter<
std::
string>(
"MHTdefinition") )
92 , MHTcut_ ( iConfig.getParameter<double>(
"MHTcut" ) )
93 , invMassCutInAllMuPairs_ (iConfig.getParameter<
bool>(
"invMassCutInAllMuPairs"))
95 , enablePhotonPlot_ ( iConfig.getParameter<
bool>(
"enablePhotonPlot") )
99 metcut_str.erase(
std::remove(metcut_str.begin(), metcut_str.end(),
' '), metcut_str.end());
168 histname =
"met"; histtitle =
"PFMET";
172 histname =
"metPhi"; histtitle =
"PFMET phi";
176 histname =
"met_variable"; histtitle =
"PFMET";
180 histname =
"metVsLS"; histtitle =
"PFMET vs LS";
186 histname =
"jetVsLS"; histtitle =
"jet pt vs LS";
190 histname =
"jetEtaPhi_HEP17"; histtitle =
"jet #eta-#phi for HEP17";
194 histname =
"jetMulti"; histtitle =
"jet multiplicity";
200 histname =
"muVsLS"; histtitle =
"muon pt vs LS";
204 histname =
"muMulti"; histtitle =
"muon multiplicity";
209 histname =
"DeltaR_jet_Mu"; histtitle =
"#DeltaR(jet,mu)";
217 histname =
"eleVsLS"; histtitle =
"electron pt vs LS";
221 histname =
"eleMulti"; histtitle =
"electron multiplicity";
226 histname =
"elePt_jetPt"; histtitle =
"electron pt vs jet pt";
232 histname =
"elePt_muPt"; histtitle =
"electron pt vs muon pt";
236 histname =
"eleEta_muEta"; histtitle =
"electron #eta vs muon #eta";
246 histname =
"photonVsLS"; histtitle =
"photon pt vs LS";
254 histname =
"bjetVsLS"; histtitle =
"b-jet pt vs LS";
258 histname =
"bjetMulti"; histtitle =
"b-jet multiplicity";
265 histname =
"ele1Pt_ele2Pt"; histtitle =
"electron-1 pt vs electron-2 pt";
269 histname =
"ele1Eta_ele2Eta"; histtitle =
"electron-1 #eta vs electron-2 #eta";
275 histname =
"mu1Pt_mu2Pt"; histtitle =
"muon-1 pt vs muon-2 pt";
279 histname =
"mu1Eta_mu2Eta"; histtitle =
"muon-1 #eta vs muon-2 #eta";
283 histname =
"invMass"; histtitle =
"M mu1 mu2";
286 histname =
"invMass_variable"; histtitle =
"M mu1 mu2 variable";
292 histname =
"htVsLS"; histtitle =
"event HT vs LS";
296 histname =
"eventHT"; histtitle =
"event HT";
299 histname.append(
"_variableBinning");
304 histname =
"elePt_eventHT"; histtitle =
"electron pt vs event HT";
313 histname =
"eventMHT"; histtitle =
"event MHT";
317 histname =
"eventMHT_variable"; histtitle =
"event MHT variable";
325 histname =
"muPt_phoPt", histtitle =
"muon pt vs photon pt";
329 histname =
"muEta_phoEta", histtitle =
"muon #eta vs photon #eta";
336 for (
unsigned int iMu=0; iMu<
nmuons_; ++iMu){
339 histname =
"muPt_"; histtitle =
"muon p_{T} - ";
340 histname.append(index); histtitle.append(index);
343 histname.append(
"_variableBinning");
347 histname =
"muEta_"; histtitle =
"muon #eta - ";
348 histname.append(index); histtitle.append(index);
351 histname.append(
"_variableBinning");
355 histname =
"muPhi_"; histtitle =
"muon #phi - ";
356 histname.append(index); histtitle.append(index);
360 histname =
"muPtEta_"; histtitle =
"muon p_{T} - #eta - ";
361 histname.append(index); histtitle.append(index);
365 histname =
"muEtaPhi_"; histtitle =
"muon #eta - #phi - ";
366 histname.append(index); histtitle.append(index);
372 for (
unsigned int iEle=0; iEle<
nelectrons_; ++iEle){
375 histname =
"elePt_"; histtitle =
"electron p_{T} - ";
376 histname.append(index); histtitle.append(index);
379 histname.append(
"_variableBinning");
383 histname =
"eleEta_"; histtitle =
"electron #eta - ";
384 histname.append(index); histtitle.append(index);
387 histname.append(
"_variableBinning");
391 histname =
"elePhi_"; histtitle =
"electron #phi - ";
392 histname.append(index); histtitle.append(index);
396 histname =
"elePtEta_"; histtitle =
"electron p_{T} - #eta - ";
397 histname.append(index); histtitle.append(index);
401 histname =
"eleEtaPhi_"; histtitle =
"electron #eta - #phi - ";
402 histname.append(index); histtitle.append(index);
411 for (
unsigned int iPho(0); iPho <
nphotons_; iPho++){
414 histname =
"phoPt_"; histtitle =
"photon p_{T} - ";
415 histname.append(index); histtitle.append(index);
419 histname =
"phoEta_"; histtitle =
"photon #eta - ";
420 histname.append(index); histtitle.append(index);
424 histname =
"phoPhi_"; histtitle =
"photon #phi - ";
425 histname.append(index); histtitle.append(index);
429 histname =
"phoPtEta_"; histtitle =
"photon p_{T} - #eta - ";
430 histname.append(index); histtitle.append(index);
434 histname =
"phoEtaPhi_"; histtitle =
"photon #eta - #phi - ";
435 histname.append(index); histtitle.append(index);
443 for (
unsigned int iJet=0; iJet<
njets_; ++iJet){
446 histname =
"jetPt_"; histtitle =
"jet p_{T} - ";
447 histname.append(index); histtitle.append(index);
450 histname.append(
"_variableBinning");
454 histname =
"jetEta_"; histtitle =
"jet #eta - ";
455 histname.append(index); histtitle.append(index);
458 histname.append(
"_variableBinning");
462 histname =
"jetPhi_"; histtitle =
"jet #phi - ";
463 histname.append(index); histtitle.append(index);
467 histname =
"jetPtEta_"; histtitle =
"jet p_{T} - #eta - ";
468 histname.append(index); histtitle.append(index);
472 histname =
"jetEtaPhi_"; histtitle =
"jet #eta - #phi - ";
473 histname.append(index); histtitle.append(index);
482 for (
unsigned int iBJet=0; iBJet<
nbjets_; ++iBJet){
485 histname =
"bjetPt_"; histtitle =
"b-jet p_{T} - ";
486 histname.append(index); histtitle.append(index);
489 histname.append(
"_variableBinning");
493 histname =
"bjetEta_"; histtitle =
"b-jet #eta - ";
494 histname.append(index); histtitle.append(index);
497 histname.append(
"_variableBinning");
501 histname =
"bjetPhi_"; histtitle =
"b-jet #phi - ";
502 histname.append(index); histtitle.append(index);
506 histname =
"bjetCSV_"; histtitle =
"b-jet CSV - ";
507 histname.append(index); histtitle.append(index);
511 histname =
"bjetPtEta_"; histtitle =
"b-jet p_{T} - #eta - ";
512 histname.append(index); histtitle.append(index);
516 histname =
"bjetEtaPhi_"; histtitle =
"b-jet #eta - #phi - ";
517 histname.append(index); histtitle.append(index);
521 histname =
"bjetCSVHT_"; histtitle =
"HT - b-jet CSV - ";
522 histname.append(index); histtitle.append(index);
547 for(
auto const&
v: *primaryVertices) {
578 std::vector<reco::GsfElectron>
electrons;
581 for (
auto const &
e : *eleHandle ) {
595 if ( muoHandle->size() <
nmuons_ )
return;
596 std::vector<reco::Muon>
muons;
598 for (
auto const &
m : *muoHandle ) {
604 if ( muons.size() <
nmuons_ )
return;
609 mll = (muons[0].p4() + muons[1].p4()).M();
610 sign = muons[0].charge() * muons[1].charge();
625 if ( phoHandle->size() <
nphotons_ )
return;
626 std::vector<reco::Photon>
photons;
627 for (
auto const &
p : *phoHandle ) {
630 if ( photons.size() <
nphotons_ )
return;
641 std::vector<reco::PFJet>
jets;
643 if (jetHandle->size() <
njets_)
return;
644 for (
auto const & j : *jetHandle) {
652 bool isJetOverlappedWithLepton =
false;
654 for (
auto const&
m : muons) {
656 isJetOverlappedWithLepton=
true;
661 if (isJetOverlappedWithLepton)
continue;
663 for (
auto const &
e: electrons) {
665 isJetOverlappedWithLepton=
true;
670 if (isJetOverlappedWithLepton)
continue;
675 if (jets.size() <
njets_)
return;
678 if (eventHT <
HTcut_)
return;
684 for (
unsigned int idx=0;
idx<muons.size();
idx++){
685 for (
unsigned int idx2=
idx+1; idx2<muons.size(); idx2++){
687 mumu_mass=(muons[idx2].p4() + muons[idx2].p4()).M();
688 if (mumu_mass<invMassLowercut_ || mumu_mass>
invMassUppercut_) allpairs=
true;
709 for (
unsigned int i=0;
i!=bTags.
size(); ++
i){
717 if (bjets.size() <
nbjets_ )
return;
726 bool foundMuonInsideJet =
false;
727 for (
auto const & bjet : bjets){
728 for (
auto const &
mu : muons){
731 foundMuonInsideJet =
true;
735 if(foundMuonInsideJet)
break;
738 if (!foundMuonInsideJet)
return;
818 for (
unsigned int iMu=0; iMu<muons.size(); ++iMu){
820 muPhi_.at(iMu).denominator ->
Fill(muons.at(iMu).phi());
821 muEta_.at(iMu).denominator ->
Fill(muons.at(iMu).eta());
822 muPt_.at(iMu).denominator ->
Fill(muons.at(iMu).pt() );
825 muPtEta_.at(iMu).denominator ->
Fill(muons.at(iMu).pt(), muons.at(iMu).eta() );
826 muEtaPhi_.at(iMu).denominator ->
Fill(muons.at(iMu).eta(), muons.at(iMu).phi() );
828 for (
unsigned int iEle=0; iEle<electrons.size(); ++iEle){
830 elePhi_.at(iEle).denominator ->
Fill(electrons.at(iEle).phi());
831 eleEta_.at(iEle).denominator ->
Fill(electrons.at(iEle).eta());
832 elePt_.at(iEle).denominator ->
Fill(electrons.at(iEle).pt() );
835 elePtEta_.at(iEle).denominator ->
Fill(electrons.at(iEle).pt(), electrons.at(iEle).eta() );
836 eleEtaPhi_.at(iEle).denominator ->
Fill(electrons.at(iEle).eta(), electrons.at(iEle).phi() );
840 for (
unsigned int iPho=0; iPho<photons.size(); ++iPho){
850 for (
unsigned int iJet=0; iJet<jets.size(); ++iJet){
852 jetPhi_.at(iJet).denominator ->
Fill(jets.at(iJet).phi());
853 jetEta_.at(iJet).denominator ->
Fill(jets.at(iJet).eta());
854 jetPt_.at(iJet).denominator ->
Fill(jets.at(iJet).pt() );
857 jetPtEta_.at(iJet).denominator ->
Fill(jets.at(iJet).pt(), jets.at(iJet).eta() );
858 jetEtaPhi_.at(iJet).denominator ->
Fill(jets.at(iJet).eta(), jets.at(iJet).phi() );
862 unsigned int iBJet = 0;
863 for (
auto & bjet: bjets){
866 bjetPhi_.at(iBJet).denominator ->
Fill(bjet.first->phi());
867 bjetEta_.at(iBJet).denominator ->
Fill(bjet.first->eta());
868 bjetPt_.at(iBJet).denominator ->
Fill(bjet.first->pt());
869 bjetCSV_.at(iBJet).denominator ->
Fill(std::fmax(0.0, bjet.second));
872 bjetPtEta_.at(iBJet).denominator ->
Fill(bjet.first->pt(), bjet.first->eta());
873 bjetEtaPhi_.at(iBJet).denominator ->
Fill(bjet.first->eta(), bjet.first->phi());
874 bjetCSVHT_.at(iBJet).denominator ->
Fill(std::fmax(0.0, bjet.second), eventHT);
962 for (
unsigned int iMu=0; iMu<muons.size(); ++iMu){
965 muPhi_.at(iMu).numerator ->
Fill(muons.at(iMu).phi());
966 muEta_.at(iMu).numerator ->
Fill(muons.at(iMu).eta());
967 muPt_.at(iMu).numerator ->
Fill(muons.at(iMu).pt() );
970 muPtEta_.at(iMu).numerator ->
Fill(muons.at(iMu).pt(), muons.at(iMu).eta() );
971 muEtaPhi_.at(iMu).numerator ->
Fill(muons.at(iMu).eta(), muons.at(iMu).phi() );
973 for (
unsigned int iEle=0; iEle<electrons.size(); ++iEle){
975 elePhi_.at(iEle).numerator ->
Fill(electrons.at(iEle).phi());
976 eleEta_.at(iEle).numerator ->
Fill(electrons.at(iEle).eta());
977 elePt_.at(iEle).numerator ->
Fill(electrons.at(iEle).pt() );
980 elePtEta_.at(iEle).numerator ->
Fill(electrons.at(iEle).pt(), electrons.at(iEle).eta() );
981 eleEtaPhi_.at(iEle).numerator ->
Fill(electrons.at(iEle).eta(), electrons.at(iEle).phi() );
985 for (
unsigned int iPho=0; iPho<photons.size(); ++iPho){
995 for (
unsigned int iJet=0; iJet<jets.size(); ++iJet){
997 jetPhi_.at(iJet).numerator ->
Fill(jets.at(iJet).phi());
998 jetEta_.at(iJet).numerator ->
Fill(jets.at(iJet).eta());
999 jetPt_.at(iJet).numerator ->
Fill(jets.at(iJet).pt() );
1002 jetPtEta_.at(iJet).numerator ->
Fill(jets.at(iJet).pt(), jets.at(iJet).eta() );
1003 jetEtaPhi_.at(iJet).numerator ->
Fill(jets.at(iJet).eta(), jets.at(iJet).phi() );
1008 for (
auto & bjet: bjets){
1012 bjetPt_.at(j).numerator ->
Fill(bjet.first->pt());
1013 bjetCSV_.at(j).numerator ->
Fill(std::fmax(0.0,bjet.second));
1016 bjetPtEta_.at(j).numerator ->
Fill(bjet.first->pt(), bjet.first->eta());
1017 bjetEtaPhi_.at(j).numerator ->
Fill(bjet.first->eta(), bjet.first->phi());
1018 bjetCSVHT_.at(j).numerator ->
Fill(std::fmax(0.0,bjet.second), eventHT);
1050 desc.
add<
unsigned int>(
"njets", 0);
1051 desc.
add<
unsigned int>(
"nelectrons", 0);
1052 desc.
add<
unsigned int>(
"nmuons", 0);
1053 desc.
add<
unsigned int>(
"nphotons", 0);
1054 desc.
add<
double>(
"leptJetDeltaRmin", 0);
1055 desc.
add<
double>(
"bJetMuDeltaRmax" , 9999.);
1056 desc.
add<
double>(
"bJetDeltaEtaMax" , 9999.);
1057 desc.
add<
double>(
"HTcut", 0);
1059 desc.
add<
unsigned int>(
"nbjets", 0);
1060 desc.
add<
double>(
"workingpoint", 0.8484);
1062 desc.
add<
bool>(
"applyleptonPVcuts",
false);
1064 desc.
add<
double>(
"invMassUppercut",-1.0);
1065 desc.
add<
double>(
"invMassLowercut",-1.0);
1066 desc.
add<
bool>(
"oppositeSignMuons",
false);
1068 desc.
add<
double>(
"MHTcut", -1);
1069 desc.
add<
bool>(
"invMassCutInAllMuPairs",
false);
1071 desc.
add<
bool>(
"enablePhotonPlot",
false);
1074 genericTriggerEventPSet.
add<
bool>(
"andOr");
1076 genericTriggerEventPSet.add<std::vector<int> >(
"dcsPartitions",{});
1077 genericTriggerEventPSet.add<
bool>(
"andOrDcs",
false);
1078 genericTriggerEventPSet.add<
bool>(
"errorReplyDcs",
true);
1079 genericTriggerEventPSet.add<
std::string>(
"dbLabel",
"");
1080 genericTriggerEventPSet.add<
bool>(
"andOrHlt",
true);
1082 genericTriggerEventPSet.add<std::vector<std::string> >(
"hltPaths",{});
1083 genericTriggerEventPSet.add<
std::string>(
"hltDBKey",
"");
1084 genericTriggerEventPSet.add<
bool>(
"errorReplyHlt",
false);
1085 genericTriggerEventPSet.add<
unsigned int>(
"verbosityLevel",1);
1125 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.};
1126 std::vector<double> eta_bins = {-3.,-2.5,-2.,-1.5,-1.,-.5,0.,.5,1.,1.5,2.,2.5,3.};
1127 histoPSet.add<std::vector<double> >(
"metBinning",
bins);
1128 histoPSet.add<std::vector<double> >(
"HTBinning",
bins);
1129 histoPSet.add<std::vector<double> >(
"jetPtBinning",
bins);
1130 histoPSet.add<std::vector<double> >(
"elePtBinning",
bins);
1131 histoPSet.add<std::vector<double> >(
"muPtBinning",
bins);
1132 histoPSet.add<std::vector<double> >(
"jetEtaBinning", eta_bins);
1133 histoPSet.add<std::vector<double> >(
"eleEtaBinning", eta_bins);
1134 histoPSet.add<std::vector<double> >(
"muEtaBinning", eta_bins);
1136 histoPSet.add<std::vector<double> >(
"invMassVariableBinning",
bins);
1137 histoPSet.add<std::vector<double> >(
"MHTVariableBinning",
bins);
1139 std::vector<double> bins_2D = {0.,40.,80.,100.,120.,140.,160.,180.,200.,240.,280.,350.,450.,1000.};
1140 std::vector<double> eta_bins_2D = {-3.,-2.,-1.,0.,1.,2.,3.};
1141 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};
1142 histoPSet.add<std::vector<double> >(
"HTBinning2D", bins_2D);
1143 histoPSet.add<std::vector<double> >(
"jetPtBinning2D", bins_2D);
1144 histoPSet.add<std::vector<double> >(
"elePtBinning2D", bins_2D);
1145 histoPSet.add<std::vector<double> >(
"muPtBinning2D", bins_2D);
1146 histoPSet.add<std::vector<double> >(
"phoPtBinning2D", bins_2D);
1147 histoPSet.add<std::vector<double> >(
"jetEtaBinning2D", eta_bins_2D);
1148 histoPSet.add<std::vector<double> >(
"eleEtaBinning2D", eta_bins_2D);
1149 histoPSet.add<std::vector<double> >(
"muEtaBinning2D", eta_bins_2D);
1150 histoPSet.add<std::vector<double> >(
"phoEtaBinning2D", eta_bins_2D);
1151 histoPSet.add<std::vector<double> >(
"phiBinning2D", phi_bins_2D);
1160 lPVcutPSet.
add<
double>(
"dxy", 9999. );
1161 lPVcutPSet.add<
double>(
"dz", 9999. );
1164 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_
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_