17 : folderName_ ( iConfig.getParameter<
std::
string>(
"FolderName") )
20 , eleToken_ ( mayConsume<
edm::
View<
reco::GsfElectron> >(iConfig.getParameter<
edm::InputTag>(
"electrons") ) )
22 , 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") )
99 , enableMETplot_(iConfig.getParameter<
bool>(
"enableMETplot"))
103 metcut_str.erase(
std::remove(metcut_str.begin(), metcut_str.end(),
' '), metcut_str.end());
173 histname =
"met"; histtitle =
"PFMET";
177 histname =
"metPhi"; histtitle =
"PFMET phi";
181 histname =
"met_variable"; histtitle =
"PFMET";
185 histname =
"metVsLS"; histtitle =
"PFMET vs LS";
191 histname =
"jetVsLS"; histtitle =
"jet pt vs LS";
195 histname =
"jetEtaPhi_HEP17"; histtitle =
"jet #eta-#phi for HEP17";
199 histname =
"jetMulti"; histtitle =
"jet multiplicity";
205 histname =
"muVsLS"; histtitle =
"muon pt vs LS";
209 histname =
"muMulti"; histtitle =
"muon multiplicity";
214 histname =
"DeltaR_jet_Mu"; histtitle =
"#DeltaR(jet,mu)";
222 histname =
"eleVsLS"; histtitle =
"electron pt vs LS";
226 histname =
"eleMulti"; histtitle =
"electron multiplicity";
231 histname =
"elePt_jetPt"; histtitle =
"electron pt vs jet pt";
237 histname =
"elePt_muPt"; histtitle =
"electron pt vs muon pt";
241 histname =
"eleEta_muEta"; histtitle =
"electron #eta vs muon #eta";
251 histname =
"photonVsLS"; histtitle =
"photon pt vs LS";
259 histname =
"bjetVsLS"; histtitle =
"b-jet pt vs LS";
263 histname =
"bjetMulti"; histtitle =
"b-jet multiplicity";
270 histname =
"ele1Pt_ele2Pt"; histtitle =
"electron-1 pt vs electron-2 pt";
274 histname =
"ele1Eta_ele2Eta"; histtitle =
"electron-1 #eta vs electron-2 #eta";
280 histname =
"mu1Pt_mu2Pt"; histtitle =
"muon-1 pt vs muon-2 pt";
284 histname =
"mu1Eta_mu2Eta"; histtitle =
"muon-1 #eta vs muon-2 #eta";
288 histname =
"invMass"; histtitle =
"M mu1 mu2";
291 histname =
"invMass_variable"; histtitle =
"M mu1 mu2 variable";
297 histname =
"htVsLS"; histtitle =
"event HT vs LS";
301 histname =
"eventHT"; histtitle =
"event HT";
304 histname.append(
"_variableBinning");
309 histname =
"elePt_eventHT"; histtitle =
"electron pt vs event HT";
318 histname =
"eventMHT"; histtitle =
"event MHT";
322 histname =
"eventMHT_variable"; histtitle =
"event MHT variable";
330 histname =
"muPt_phoPt", histtitle =
"muon pt vs photon pt";
334 histname =
"muEta_phoEta", histtitle =
"muon #eta vs photon #eta";
341 for (
unsigned int iMu=0; iMu<
nmuons_; ++iMu){
344 histname =
"muPt_"; histtitle =
"muon p_{T} - ";
345 histname.append(index); histtitle.append(index);
348 histname.append(
"_variableBinning");
352 histname =
"muEta_"; histtitle =
"muon #eta - ";
353 histname.append(index); histtitle.append(index);
356 histname.append(
"_variableBinning");
360 histname =
"muPhi_"; histtitle =
"muon #phi - ";
361 histname.append(index); histtitle.append(index);
365 histname =
"muPtEta_"; histtitle =
"muon p_{T} - #eta - ";
366 histname.append(index); histtitle.append(index);
370 histname =
"muEtaPhi_"; histtitle =
"muon #eta - #phi - ";
371 histname.append(index); histtitle.append(index);
377 for (
unsigned int iEle=0; iEle<
nelectrons_; ++iEle){
380 histname =
"elePt_"; histtitle =
"electron p_{T} - ";
381 histname.append(index); histtitle.append(index);
384 histname.append(
"_variableBinning");
388 histname =
"eleEta_"; histtitle =
"electron #eta - ";
389 histname.append(index); histtitle.append(index);
392 histname.append(
"_variableBinning");
396 histname =
"elePhi_"; histtitle =
"electron #phi - ";
397 histname.append(index); histtitle.append(index);
401 histname =
"elePtEta_"; histtitle =
"electron p_{T} - #eta - ";
402 histname.append(index); histtitle.append(index);
406 histname =
"eleEtaPhi_"; histtitle =
"electron #eta - #phi - ";
407 histname.append(index); histtitle.append(index);
416 for (
unsigned int iPho(0); iPho <
nphotons_; iPho++){
419 histname =
"phoPt_"; histtitle =
"photon p_{T} - ";
420 histname.append(index); histtitle.append(index);
424 histname =
"phoEta_"; histtitle =
"photon #eta - ";
425 histname.append(index); histtitle.append(index);
429 histname =
"phoPhi_"; histtitle =
"photon #phi - ";
430 histname.append(index); histtitle.append(index);
434 histname =
"phoPtEta_"; histtitle =
"photon p_{T} - #eta - ";
435 histname.append(index); histtitle.append(index);
439 histname =
"phoEtaPhi_"; histtitle =
"photon #eta - #phi - ";
440 histname.append(index); histtitle.append(index);
448 for (
unsigned int iJet=0; iJet<
njets_; ++iJet){
451 histname =
"jetPt_"; histtitle =
"jet p_{T} - ";
452 histname.append(index); histtitle.append(index);
455 histname.append(
"_variableBinning");
459 histname =
"jetEta_"; histtitle =
"jet #eta - ";
460 histname.append(index); histtitle.append(index);
463 histname.append(
"_variableBinning");
467 histname =
"jetPhi_"; histtitle =
"jet #phi - ";
468 histname.append(index); histtitle.append(index);
472 histname =
"jetPtEta_"; histtitle =
"jet p_{T} - #eta - ";
473 histname.append(index); histtitle.append(index);
477 histname =
"jetEtaPhi_"; histtitle =
"jet #eta - #phi - ";
478 histname.append(index); histtitle.append(index);
487 for (
unsigned int iBJet=0; iBJet<
nbjets_; ++iBJet){
490 histname =
"bjetPt_"; histtitle =
"b-jet p_{T} - ";
491 histname.append(index); histtitle.append(index);
494 histname.append(
"_variableBinning");
498 histname =
"bjetEta_"; histtitle =
"b-jet #eta - ";
499 histname.append(index); histtitle.append(index);
502 histname.append(
"_variableBinning");
506 histname =
"bjetPhi_"; histtitle =
"b-jet #phi - ";
507 histname.append(index); histtitle.append(index);
511 histname =
"bjetCSV_"; histtitle =
"b-jet CSV - ";
512 histname.append(index); histtitle.append(index);
516 histname =
"bjetPtEta_"; histtitle =
"b-jet p_{T} - #eta - ";
517 histname.append(index); histtitle.append(index);
521 histname =
"bjetEtaPhi_"; histtitle =
"b-jet #eta - #phi - ";
522 histname.append(index); histtitle.append(index);
526 histname =
"bjetCSVHT_"; histtitle =
"HT - b-jet CSV - ";
527 histname.append(index); histtitle.append(index);
552 for(
auto const&
v: *primaryVertices) {
593 std::vector<reco::GsfElectron>
electrons;
597 const auto e = eleHandle->at(
index);
598 const auto el = eleHandle->ptrAt(
index);
599 bool pass_id = (*eleIDHandle)[el];
616 if ( muoHandle->size() <
nmuons_ )
return;
617 std::vector<reco::Muon>
muons;
619 for (
auto const &
m : *muoHandle ) {
625 if ( muons.size() <
nmuons_ )
return;
630 mll = (muons[0].p4() + muons[1].p4()).M();
631 sign = muons[0].charge() * muons[1].charge();
646 if ( phoHandle->size() <
nphotons_ )
return;
647 std::vector<reco::Photon>
photons;
648 for (
auto const &
p : *phoHandle ) {
651 if ( photons.size() <
nphotons_ )
return;
662 std::vector<reco::PFJet>
jets;
664 if (jetHandle->size() <
njets_)
return;
665 for (
auto const & j : *jetHandle) {
673 bool isJetOverlappedWithLepton =
false;
675 for (
auto const&
m : muons) {
677 isJetOverlappedWithLepton=
true;
682 if (isJetOverlappedWithLepton)
continue;
684 for (
auto const &
e: electrons) {
686 isJetOverlappedWithLepton=
true;
691 if (isJetOverlappedWithLepton)
continue;
696 if (jets.size() <
njets_)
return;
699 if (eventHT <
HTcut_)
return;
705 for (
unsigned int idx=0;
idx<muons.size();
idx++){
706 for (
unsigned int idx2=
idx+1; idx2<muons.size(); idx2++){
708 mumu_mass=(muons[idx2].p4() + muons[idx2].p4()).M();
709 if (mumu_mass<invMassLowercut_ || mumu_mass>
invMassUppercut_) allpairs=
true;
736 for (
unsigned int i=0;
i!=bTags.
size(); ++
i){
745 if (bjets.size() <
nbjets_ )
return;
755 bool foundMuonInsideJet =
false;
756 for (
auto const & bjet : bjets){
757 for (
auto const &
mu : muons){
760 foundMuonInsideJet =
true;
764 if(foundMuonInsideJet)
break;
767 if (!foundMuonInsideJet)
return;
847 for (
unsigned int iMu=0; iMu<muons.size(); ++iMu){
849 muPhi_.at(iMu).denominator ->
Fill(muons.at(iMu).phi());
850 muEta_.at(iMu).denominator ->
Fill(muons.at(iMu).eta());
851 muPt_.at(iMu).denominator ->
Fill(muons.at(iMu).pt() );
854 muPtEta_.at(iMu).denominator ->
Fill(muons.at(iMu).pt(), muons.at(iMu).eta() );
855 muEtaPhi_.at(iMu).denominator ->
Fill(muons.at(iMu).eta(), muons.at(iMu).phi() );
857 for (
unsigned int iEle=0; iEle<electrons.size(); ++iEle){
859 elePhi_.at(iEle).denominator ->
Fill(electrons.at(iEle).phi());
860 eleEta_.at(iEle).denominator ->
Fill(electrons.at(iEle).eta());
861 elePt_.at(iEle).denominator ->
Fill(electrons.at(iEle).pt() );
864 elePtEta_.at(iEle).denominator ->
Fill(electrons.at(iEle).pt(), electrons.at(iEle).eta() );
865 eleEtaPhi_.at(iEle).denominator ->
Fill(electrons.at(iEle).eta(), electrons.at(iEle).phi() );
869 for (
unsigned int iPho=0; iPho<photons.size(); ++iPho){
879 for (
unsigned int iJet=0; iJet<jets.size(); ++iJet){
881 jetPhi_.at(iJet).denominator ->
Fill(jets.at(iJet).phi());
882 jetEta_.at(iJet).denominator ->
Fill(jets.at(iJet).eta());
883 jetPt_.at(iJet).denominator ->
Fill(jets.at(iJet).pt() );
886 jetPtEta_.at(iJet).denominator ->
Fill(jets.at(iJet).pt(), jets.at(iJet).eta() );
887 jetEtaPhi_.at(iJet).denominator ->
Fill(jets.at(iJet).eta(), jets.at(iJet).phi() );
891 unsigned int iBJet = 0;
892 for (
auto & bjet: bjets){
895 bjetPhi_.at(iBJet).denominator ->
Fill(bjet.first->phi());
896 bjetEta_.at(iBJet).denominator ->
Fill(bjet.first->eta());
897 bjetPt_.at(iBJet).denominator ->
Fill(bjet.first->pt());
898 bjetCSV_.at(iBJet).denominator ->
Fill(std::fmax(0.0, bjet.second));
901 bjetPtEta_.at(iBJet).denominator ->
Fill(bjet.first->pt(), bjet.first->eta());
902 bjetEtaPhi_.at(iBJet).denominator ->
Fill(bjet.first->eta(), bjet.first->phi());
903 bjetCSVHT_.at(iBJet).denominator ->
Fill(std::fmax(0.0, bjet.second), eventHT);
988 for (
unsigned int iMu=0; iMu<muons.size(); ++iMu){
991 muPhi_.at(iMu).numerator ->
Fill(muons.at(iMu).phi());
992 muEta_.at(iMu).numerator ->
Fill(muons.at(iMu).eta());
993 muPt_.at(iMu).numerator ->
Fill(muons.at(iMu).pt() );
996 muPtEta_.at(iMu).numerator ->
Fill(muons.at(iMu).pt(), muons.at(iMu).eta() );
997 muEtaPhi_.at(iMu).numerator ->
Fill(muons.at(iMu).eta(), muons.at(iMu).phi() );
999 for (
unsigned int iEle=0; iEle<electrons.size(); ++iEle){
1001 elePhi_.at(iEle).numerator ->
Fill(electrons.at(iEle).phi());
1002 eleEta_.at(iEle).numerator ->
Fill(electrons.at(iEle).eta());
1003 elePt_.at(iEle).numerator ->
Fill(electrons.at(iEle).pt() );
1006 elePtEta_.at(iEle).numerator ->
Fill(electrons.at(iEle).pt(), electrons.at(iEle).eta() );
1007 eleEtaPhi_.at(iEle).numerator ->
Fill(electrons.at(iEle).eta(), electrons.at(iEle).phi() );
1012 for (
unsigned int iPho=0; iPho<photons.size(); ++iPho){
1022 for (
unsigned int iJet=0; iJet<jets.size(); ++iJet){
1024 jetPhi_.at(iJet).numerator ->
Fill(jets.at(iJet).phi());
1025 jetEta_.at(iJet).numerator ->
Fill(jets.at(iJet).eta());
1026 jetPt_.at(iJet).numerator ->
Fill(jets.at(iJet).pt() );
1029 jetPtEta_.at(iJet).numerator ->
Fill(jets.at(iJet).pt(), jets.at(iJet).eta() );
1030 jetEtaPhi_.at(iJet).numerator ->
Fill(jets.at(iJet).eta(), jets.at(iJet).phi() );
1035 for (
auto & bjet: bjets){
1039 bjetPt_.at(j).numerator ->
Fill(bjet.first->pt());
1040 bjetCSV_.at(j).numerator ->
Fill(std::fmax(0.0,bjet.second));
1043 bjetPtEta_.at(j).numerator ->
Fill(bjet.first->pt(), bjet.first->eta());
1044 bjetEtaPhi_.at(j).numerator ->
Fill(bjet.first->eta(), bjet.first->phi());
1045 bjetCSVHT_.at(j).numerator ->
Fill(std::fmax(0.0,bjet.second), eventHT);
1079 desc.
add<
unsigned int>(
"njets", 0);
1080 desc.
add<
unsigned int>(
"nelectrons", 0);
1081 desc.
add<
unsigned int>(
"nmuons", 0);
1082 desc.
add<
unsigned int>(
"nphotons", 0);
1083 desc.
add<
double>(
"leptJetDeltaRmin", 0);
1084 desc.
add<
double>(
"bJetMuDeltaRmax" , 9999.);
1085 desc.
add<
double>(
"bJetDeltaEtaMax" , 9999.);
1086 desc.
add<
double>(
"HTcut", 0);
1088 desc.
add<
unsigned int>(
"nbjets", 0);
1089 desc.
add<
double>(
"workingpoint", 0.4941);
1091 desc.
add<
bool>(
"applyleptonPVcuts",
false);
1093 desc.
add<
double>(
"invMassUppercut",-1.0);
1094 desc.
add<
double>(
"invMassLowercut",-1.0);
1095 desc.
add<
bool>(
"oppositeSignMuons",
false);
1097 desc.
add<
double>(
"MHTcut", -1);
1098 desc.
add<
bool>(
"invMassCutInAllMuPairs",
false);
1100 desc.
add<
bool>(
"enablePhotonPlot",
false);
1102 desc.
add<
bool>(
"enableMETplot",
false);
1105 genericTriggerEventPSet.
add<
bool>(
"andOr");
1107 genericTriggerEventPSet.add<std::vector<int> >(
"dcsPartitions",{});
1108 genericTriggerEventPSet.add<
bool>(
"andOrDcs",
false);
1109 genericTriggerEventPSet.add<
bool>(
"errorReplyDcs",
true);
1110 genericTriggerEventPSet.add<
std::string>(
"dbLabel",
"");
1111 genericTriggerEventPSet.add<
bool>(
"andOrHlt",
true);
1113 genericTriggerEventPSet.add<std::vector<std::string> >(
"hltPaths",{});
1114 genericTriggerEventPSet.add<
std::string>(
"hltDBKey",
"");
1115 genericTriggerEventPSet.add<
bool>(
"errorReplyHlt",
false);
1116 genericTriggerEventPSet.add<
unsigned int>(
"verbosityLevel",1);
1156 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.};
1157 std::vector<double> eta_bins = {-3.,-2.5,-2.,-1.5,-1.,-.5,0.,.5,1.,1.5,2.,2.5,3.};
1158 histoPSet.add<std::vector<double> >(
"metBinning",
bins);
1159 histoPSet.add<std::vector<double> >(
"HTBinning",
bins);
1160 histoPSet.add<std::vector<double> >(
"jetPtBinning",
bins);
1161 histoPSet.add<std::vector<double> >(
"elePtBinning",
bins);
1162 histoPSet.add<std::vector<double> >(
"muPtBinning",
bins);
1163 histoPSet.add<std::vector<double> >(
"jetEtaBinning", eta_bins);
1164 histoPSet.add<std::vector<double> >(
"eleEtaBinning", eta_bins);
1165 histoPSet.add<std::vector<double> >(
"muEtaBinning", eta_bins);
1167 histoPSet.add<std::vector<double> >(
"invMassVariableBinning",
bins);
1168 histoPSet.add<std::vector<double> >(
"MHTVariableBinning",
bins);
1170 std::vector<double> bins_2D = {0.,40.,80.,100.,120.,140.,160.,180.,200.,240.,280.,350.,450.,1000.};
1171 std::vector<double> eta_bins_2D = {-3.,-2.,-1.,0.,1.,2.,3.};
1172 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};
1173 histoPSet.add<std::vector<double> >(
"HTBinning2D", bins_2D);
1174 histoPSet.add<std::vector<double> >(
"jetPtBinning2D", bins_2D);
1175 histoPSet.add<std::vector<double> >(
"elePtBinning2D", bins_2D);
1176 histoPSet.add<std::vector<double> >(
"muPtBinning2D", bins_2D);
1177 histoPSet.add<std::vector<double> >(
"phoPtBinning2D", bins_2D);
1178 histoPSet.add<std::vector<double> >(
"jetEtaBinning2D", eta_bins_2D);
1179 histoPSet.add<std::vector<double> >(
"eleEtaBinning2D", eta_bins_2D);
1180 histoPSet.add<std::vector<double> >(
"muEtaBinning2D", eta_bins_2D);
1181 histoPSet.add<std::vector<double> >(
"phoEtaBinning2D", eta_bins_2D);
1182 histoPSet.add<std::vector<double> >(
"phiBinning2D", phi_bins_2D);
1191 lPVcutPSet.
add<
double>(
"dxy", 9999. );
1192 lPVcutPSet.add<
double>(
"dz", 9999. );
1195 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::string btagalgoName_
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_
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_
#define DEFINE_FWK_MODULE(type)
Container::value_type value_type
MonitorElement * denominator
std::vector< ObjME > bjetPt_
edm::EDGetTokenT< reco::JetTagCollection > jetbbTagToken_
void setCurrentFolder(std::string const &fullpath)
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_
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_
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_