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") )
99 , enableMETplot_(iConfig.getParameter<
bool>(
"enableMETplot"))
103 metcut_str.erase(
std::remove(metcut_str.begin(), metcut_str.end(),
' '), metcut_str.end());
172 histname =
"met"; histtitle =
"PFMET";
176 histname =
"metPhi"; histtitle =
"PFMET phi";
180 histname =
"met_variable"; histtitle =
"PFMET";
184 histname =
"metVsLS"; histtitle =
"PFMET vs LS";
190 histname =
"jetVsLS"; histtitle =
"jet pt vs LS";
194 histname =
"jetEtaPhi_HEP17"; histtitle =
"jet #eta-#phi for HEP17";
198 histname =
"jetMulti"; histtitle =
"jet multiplicity";
204 histname =
"muVsLS"; histtitle =
"muon pt vs LS";
208 histname =
"muMulti"; histtitle =
"muon multiplicity";
213 histname =
"DeltaR_jet_Mu"; histtitle =
"#DeltaR(jet,mu)";
221 histname =
"eleVsLS"; histtitle =
"electron pt vs LS";
225 histname =
"eleMulti"; histtitle =
"electron multiplicity";
230 histname =
"elePt_jetPt"; histtitle =
"electron pt vs jet pt";
236 histname =
"elePt_muPt"; histtitle =
"electron pt vs muon pt";
240 histname =
"eleEta_muEta"; histtitle =
"electron #eta vs muon #eta";
250 histname =
"photonVsLS"; histtitle =
"photon pt vs LS";
258 histname =
"bjetVsLS"; histtitle =
"b-jet pt vs LS";
262 histname =
"bjetMulti"; histtitle =
"b-jet multiplicity";
269 histname =
"ele1Pt_ele2Pt"; histtitle =
"electron-1 pt vs electron-2 pt";
273 histname =
"ele1Eta_ele2Eta"; histtitle =
"electron-1 #eta vs electron-2 #eta";
279 histname =
"mu1Pt_mu2Pt"; histtitle =
"muon-1 pt vs muon-2 pt";
283 histname =
"mu1Eta_mu2Eta"; histtitle =
"muon-1 #eta vs muon-2 #eta";
287 histname =
"invMass"; histtitle =
"M mu1 mu2";
290 histname =
"invMass_variable"; histtitle =
"M mu1 mu2 variable";
296 histname =
"htVsLS"; histtitle =
"event HT vs LS";
300 histname =
"eventHT"; histtitle =
"event HT";
303 histname.append(
"_variableBinning");
308 histname =
"elePt_eventHT"; histtitle =
"electron pt vs event HT";
317 histname =
"eventMHT"; histtitle =
"event MHT";
321 histname =
"eventMHT_variable"; histtitle =
"event MHT variable";
329 histname =
"muPt_phoPt", histtitle =
"muon pt vs photon pt";
333 histname =
"muEta_phoEta", histtitle =
"muon #eta vs photon #eta";
340 for (
unsigned int iMu=0; iMu<
nmuons_; ++iMu){
343 histname =
"muPt_"; histtitle =
"muon p_{T} - ";
344 histname.append(index); histtitle.append(index);
347 histname.append(
"_variableBinning");
351 histname =
"muEta_"; histtitle =
"muon #eta - ";
352 histname.append(index); histtitle.append(index);
355 histname.append(
"_variableBinning");
359 histname =
"muPhi_"; histtitle =
"muon #phi - ";
360 histname.append(index); histtitle.append(index);
364 histname =
"muPtEta_"; histtitle =
"muon p_{T} - #eta - ";
365 histname.append(index); histtitle.append(index);
369 histname =
"muEtaPhi_"; histtitle =
"muon #eta - #phi - ";
370 histname.append(index); histtitle.append(index);
376 for (
unsigned int iEle=0; iEle<
nelectrons_; ++iEle){
379 histname =
"elePt_"; histtitle =
"electron p_{T} - ";
380 histname.append(index); histtitle.append(index);
383 histname.append(
"_variableBinning");
387 histname =
"eleEta_"; histtitle =
"electron #eta - ";
388 histname.append(index); histtitle.append(index);
391 histname.append(
"_variableBinning");
395 histname =
"elePhi_"; histtitle =
"electron #phi - ";
396 histname.append(index); histtitle.append(index);
400 histname =
"elePtEta_"; histtitle =
"electron p_{T} - #eta - ";
401 histname.append(index); histtitle.append(index);
405 histname =
"eleEtaPhi_"; histtitle =
"electron #eta - #phi - ";
406 histname.append(index); histtitle.append(index);
415 for (
unsigned int iPho(0); iPho <
nphotons_; iPho++){
418 histname =
"phoPt_"; histtitle =
"photon p_{T} - ";
419 histname.append(index); histtitle.append(index);
423 histname =
"phoEta_"; histtitle =
"photon #eta - ";
424 histname.append(index); histtitle.append(index);
428 histname =
"phoPhi_"; histtitle =
"photon #phi - ";
429 histname.append(index); histtitle.append(index);
433 histname =
"phoPtEta_"; histtitle =
"photon p_{T} - #eta - ";
434 histname.append(index); histtitle.append(index);
438 histname =
"phoEtaPhi_"; histtitle =
"photon #eta - #phi - ";
439 histname.append(index); histtitle.append(index);
447 for (
unsigned int iJet=0; iJet<
njets_; ++iJet){
450 histname =
"jetPt_"; histtitle =
"jet p_{T} - ";
451 histname.append(index); histtitle.append(index);
454 histname.append(
"_variableBinning");
458 histname =
"jetEta_"; histtitle =
"jet #eta - ";
459 histname.append(index); histtitle.append(index);
462 histname.append(
"_variableBinning");
466 histname =
"jetPhi_"; histtitle =
"jet #phi - ";
467 histname.append(index); histtitle.append(index);
471 histname =
"jetPtEta_"; histtitle =
"jet p_{T} - #eta - ";
472 histname.append(index); histtitle.append(index);
476 histname =
"jetEtaPhi_"; histtitle =
"jet #eta - #phi - ";
477 histname.append(index); histtitle.append(index);
486 for (
unsigned int iBJet=0; iBJet<
nbjets_; ++iBJet){
489 histname =
"bjetPt_"; histtitle =
"b-jet p_{T} - ";
490 histname.append(index); histtitle.append(index);
493 histname.append(
"_variableBinning");
497 histname =
"bjetEta_"; histtitle =
"b-jet #eta - ";
498 histname.append(index); histtitle.append(index);
501 histname.append(
"_variableBinning");
505 histname =
"bjetPhi_"; histtitle =
"b-jet #phi - ";
506 histname.append(index); histtitle.append(index);
510 histname =
"bjetCSV_"; histtitle =
"b-jet CSV - ";
511 histname.append(index); histtitle.append(index);
515 histname =
"bjetPtEta_"; histtitle =
"b-jet p_{T} - #eta - ";
516 histname.append(index); histtitle.append(index);
520 histname =
"bjetEtaPhi_"; histtitle =
"b-jet #eta - #phi - ";
521 histname.append(index); histtitle.append(index);
525 histname =
"bjetCSVHT_"; histtitle =
"HT - b-jet CSV - ";
526 histname.append(index); histtitle.append(index);
551 for(
auto const&
v: *primaryVertices) {
592 std::vector<reco::GsfElectron>
electrons;
596 const auto e = eleHandle->at(
index);
597 const auto el = eleHandle->ptrAt(
index);
598 bool pass_id = (*eleIDHandle)[el];
615 if ( muoHandle->size() <
nmuons_ )
return;
616 std::vector<reco::Muon>
muons;
618 for (
auto const &
m : *muoHandle ) {
624 if ( muons.size() <
nmuons_ )
return;
629 mll = (muons[0].p4() + muons[1].p4()).M();
630 sign = muons[0].charge() * muons[1].charge();
645 if ( phoHandle->size() <
nphotons_ )
return;
646 std::vector<reco::Photon>
photons;
647 for (
auto const &
p : *phoHandle ) {
650 if ( photons.size() <
nphotons_ )
return;
661 std::vector<reco::PFJet>
jets;
663 if (jetHandle->size() <
njets_)
return;
664 for (
auto const & j : *jetHandle) {
672 bool isJetOverlappedWithLepton =
false;
674 for (
auto const&
m : muons) {
676 isJetOverlappedWithLepton=
true;
681 if (isJetOverlappedWithLepton)
continue;
683 for (
auto const &
e: electrons) {
685 isJetOverlappedWithLepton=
true;
690 if (isJetOverlappedWithLepton)
continue;
695 if (jets.size() <
njets_)
return;
698 if (eventHT <
HTcut_)
return;
704 for (
unsigned int idx=0;
idx<muons.size();
idx++){
705 for (
unsigned int idx2=
idx+1; idx2<muons.size(); idx2++){
707 mumu_mass=(muons[idx2].p4() + muons[idx2].p4()).M();
708 if (mumu_mass<invMassLowercut_ || mumu_mass>
invMassUppercut_) allpairs=
true;
729 for (
unsigned int i=0;
i!=bTags.
size(); ++
i){
737 if (bjets.size() <
nbjets_ )
return;
746 bool foundMuonInsideJet =
false;
747 for (
auto const & bjet : bjets){
748 for (
auto const &
mu : muons){
751 foundMuonInsideJet =
true;
755 if(foundMuonInsideJet)
break;
758 if (!foundMuonInsideJet)
return;
838 for (
unsigned int iMu=0; iMu<muons.size(); ++iMu){
840 muPhi_.at(iMu).denominator ->
Fill(muons.at(iMu).phi());
841 muEta_.at(iMu).denominator ->
Fill(muons.at(iMu).eta());
842 muPt_.at(iMu).denominator ->
Fill(muons.at(iMu).pt() );
845 muPtEta_.at(iMu).denominator ->
Fill(muons.at(iMu).pt(), muons.at(iMu).eta() );
846 muEtaPhi_.at(iMu).denominator ->
Fill(muons.at(iMu).eta(), muons.at(iMu).phi() );
848 for (
unsigned int iEle=0; iEle<electrons.size(); ++iEle){
850 elePhi_.at(iEle).denominator ->
Fill(electrons.at(iEle).phi());
851 eleEta_.at(iEle).denominator ->
Fill(electrons.at(iEle).eta());
852 elePt_.at(iEle).denominator ->
Fill(electrons.at(iEle).pt() );
855 elePtEta_.at(iEle).denominator ->
Fill(electrons.at(iEle).pt(), electrons.at(iEle).eta() );
856 eleEtaPhi_.at(iEle).denominator ->
Fill(electrons.at(iEle).eta(), electrons.at(iEle).phi() );
860 for (
unsigned int iPho=0; iPho<photons.size(); ++iPho){
870 for (
unsigned int iJet=0; iJet<jets.size(); ++iJet){
872 jetPhi_.at(iJet).denominator ->
Fill(jets.at(iJet).phi());
873 jetEta_.at(iJet).denominator ->
Fill(jets.at(iJet).eta());
874 jetPt_.at(iJet).denominator ->
Fill(jets.at(iJet).pt() );
877 jetPtEta_.at(iJet).denominator ->
Fill(jets.at(iJet).pt(), jets.at(iJet).eta() );
878 jetEtaPhi_.at(iJet).denominator ->
Fill(jets.at(iJet).eta(), jets.at(iJet).phi() );
882 unsigned int iBJet = 0;
883 for (
auto & bjet: bjets){
886 bjetPhi_.at(iBJet).denominator ->
Fill(bjet.first->phi());
887 bjetEta_.at(iBJet).denominator ->
Fill(bjet.first->eta());
888 bjetPt_.at(iBJet).denominator ->
Fill(bjet.first->pt());
889 bjetCSV_.at(iBJet).denominator ->
Fill(std::fmax(0.0, bjet.second));
892 bjetPtEta_.at(iBJet).denominator ->
Fill(bjet.first->pt(), bjet.first->eta());
893 bjetEtaPhi_.at(iBJet).denominator ->
Fill(bjet.first->eta(), bjet.first->phi());
894 bjetCSVHT_.at(iBJet).denominator ->
Fill(std::fmax(0.0, bjet.second), eventHT);
982 for (
unsigned int iMu=0; iMu<muons.size(); ++iMu){
985 muPhi_.at(iMu).numerator ->
Fill(muons.at(iMu).phi());
986 muEta_.at(iMu).numerator ->
Fill(muons.at(iMu).eta());
987 muPt_.at(iMu).numerator ->
Fill(muons.at(iMu).pt() );
990 muPtEta_.at(iMu).numerator ->
Fill(muons.at(iMu).pt(), muons.at(iMu).eta() );
991 muEtaPhi_.at(iMu).numerator ->
Fill(muons.at(iMu).eta(), muons.at(iMu).phi() );
993 for (
unsigned int iEle=0; iEle<electrons.size(); ++iEle){
995 elePhi_.at(iEle).numerator ->
Fill(electrons.at(iEle).phi());
996 eleEta_.at(iEle).numerator ->
Fill(electrons.at(iEle).eta());
997 elePt_.at(iEle).numerator ->
Fill(electrons.at(iEle).pt() );
1000 elePtEta_.at(iEle).numerator ->
Fill(electrons.at(iEle).pt(), electrons.at(iEle).eta() );
1001 eleEtaPhi_.at(iEle).numerator ->
Fill(electrons.at(iEle).eta(), electrons.at(iEle).phi() );
1005 for (
unsigned int iPho=0; iPho<photons.size(); ++iPho){
1015 for (
unsigned int iJet=0; iJet<jets.size(); ++iJet){
1017 jetPhi_.at(iJet).numerator ->
Fill(jets.at(iJet).phi());
1018 jetEta_.at(iJet).numerator ->
Fill(jets.at(iJet).eta());
1019 jetPt_.at(iJet).numerator ->
Fill(jets.at(iJet).pt() );
1022 jetPtEta_.at(iJet).numerator ->
Fill(jets.at(iJet).pt(), jets.at(iJet).eta() );
1023 jetEtaPhi_.at(iJet).numerator ->
Fill(jets.at(iJet).eta(), jets.at(iJet).phi() );
1028 for (
auto & bjet: bjets){
1032 bjetPt_.at(j).numerator ->
Fill(bjet.first->pt());
1033 bjetCSV_.at(j).numerator ->
Fill(std::fmax(0.0,bjet.second));
1036 bjetPtEta_.at(j).numerator ->
Fill(bjet.first->pt(), bjet.first->eta());
1037 bjetEtaPhi_.at(j).numerator ->
Fill(bjet.first->eta(), bjet.first->phi());
1038 bjetCSVHT_.at(j).numerator ->
Fill(std::fmax(0.0,bjet.second), eventHT);
1072 desc.
add<
unsigned int>(
"njets", 0);
1073 desc.
add<
unsigned int>(
"nelectrons", 0);
1074 desc.
add<
unsigned int>(
"nmuons", 0);
1075 desc.
add<
unsigned int>(
"nphotons", 0);
1076 desc.
add<
double>(
"leptJetDeltaRmin", 0);
1077 desc.
add<
double>(
"bJetMuDeltaRmax" , 9999.);
1078 desc.
add<
double>(
"bJetDeltaEtaMax" , 9999.);
1079 desc.
add<
double>(
"HTcut", 0);
1081 desc.
add<
unsigned int>(
"nbjets", 0);
1082 desc.
add<
double>(
"workingpoint", 0.8484);
1084 desc.
add<
bool>(
"applyleptonPVcuts",
false);
1086 desc.
add<
double>(
"invMassUppercut",-1.0);
1087 desc.
add<
double>(
"invMassLowercut",-1.0);
1088 desc.
add<
bool>(
"oppositeSignMuons",
false);
1090 desc.
add<
double>(
"MHTcut", -1);
1091 desc.
add<
bool>(
"invMassCutInAllMuPairs",
false);
1093 desc.
add<
bool>(
"enablePhotonPlot",
false);
1095 desc.
add<
bool>(
"enableMETplot",
false);
1098 genericTriggerEventPSet.
add<
bool>(
"andOr");
1100 genericTriggerEventPSet.add<std::vector<int> >(
"dcsPartitions",{});
1101 genericTriggerEventPSet.add<
bool>(
"andOrDcs",
false);
1102 genericTriggerEventPSet.add<
bool>(
"errorReplyDcs",
true);
1103 genericTriggerEventPSet.add<
std::string>(
"dbLabel",
"");
1104 genericTriggerEventPSet.add<
bool>(
"andOrHlt",
true);
1106 genericTriggerEventPSet.add<std::vector<std::string> >(
"hltPaths",{});
1107 genericTriggerEventPSet.add<
std::string>(
"hltDBKey",
"");
1108 genericTriggerEventPSet.add<
bool>(
"errorReplyHlt",
false);
1109 genericTriggerEventPSet.add<
unsigned int>(
"verbosityLevel",1);
1149 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.};
1150 std::vector<double> eta_bins = {-3.,-2.5,-2.,-1.5,-1.,-.5,0.,.5,1.,1.5,2.,2.5,3.};
1151 histoPSet.add<std::vector<double> >(
"metBinning",
bins);
1152 histoPSet.add<std::vector<double> >(
"HTBinning",
bins);
1153 histoPSet.add<std::vector<double> >(
"jetPtBinning",
bins);
1154 histoPSet.add<std::vector<double> >(
"elePtBinning",
bins);
1155 histoPSet.add<std::vector<double> >(
"muPtBinning",
bins);
1156 histoPSet.add<std::vector<double> >(
"jetEtaBinning", eta_bins);
1157 histoPSet.add<std::vector<double> >(
"eleEtaBinning", eta_bins);
1158 histoPSet.add<std::vector<double> >(
"muEtaBinning", eta_bins);
1160 histoPSet.add<std::vector<double> >(
"invMassVariableBinning",
bins);
1161 histoPSet.add<std::vector<double> >(
"MHTVariableBinning",
bins);
1163 std::vector<double> bins_2D = {0.,40.,80.,100.,120.,140.,160.,180.,200.,240.,280.,350.,450.,1000.};
1164 std::vector<double> eta_bins_2D = {-3.,-2.,-1.,0.,1.,2.,3.};
1165 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};
1166 histoPSet.add<std::vector<double> >(
"HTBinning2D", bins_2D);
1167 histoPSet.add<std::vector<double> >(
"jetPtBinning2D", bins_2D);
1168 histoPSet.add<std::vector<double> >(
"elePtBinning2D", bins_2D);
1169 histoPSet.add<std::vector<double> >(
"muPtBinning2D", bins_2D);
1170 histoPSet.add<std::vector<double> >(
"phoPtBinning2D", bins_2D);
1171 histoPSet.add<std::vector<double> >(
"jetEtaBinning2D", eta_bins_2D);
1172 histoPSet.add<std::vector<double> >(
"eleEtaBinning2D", eta_bins_2D);
1173 histoPSet.add<std::vector<double> >(
"muEtaBinning2D", eta_bins_2D);
1174 histoPSet.add<std::vector<double> >(
"phoEtaBinning2D", eta_bins_2D);
1175 histoPSet.add<std::vector<double> >(
"phiBinning2D", phi_bins_2D);
1184 lPVcutPSet.
add<
double>(
"dxy", 9999. );
1185 lPVcutPSet.add<
double>(
"dz", 9999. );
1188 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_