33 histtitle =
"PFJet1 pT";
38 histtitle =
"PFJet2 pT";
43 histtitle =
"PFJet1 eta";
48 histtitle =
"PFJet2 eta";
53 histtitle =
"central PFJet pT";
58 histtitle =
"forward PFJet pT";
63 histtitle =
"central PFJet eta";
68 histtitle =
"forward PFJet eta";
73 histtitle =
"PFDiJet M";
78 histtitle =
"PFDiJet DeltaEta";
83 histtitle =
"PFDiJet DeltaPhi";
87 histname =
"mindphijmet";
88 histtitle =
"minDeltaPhi(PFJets,MET)";
98 histname =
"jet1etaVsLS";
99 histtitle =
"PFJet1 eta vs LS";
111 histname =
"mjjVsLS";
112 histtitle =
"PFDiJet M vs LS";
116 histname =
"mindphijmetVsLS";
117 histtitle =
"minDeltaPhi(PFJets,MET) vs LS";
133 const bool passCond) {
136 double eta1 = jets[0].eta();
140 if (jets.size() > 1) {
141 double eta2 = jets[1].eta();
144 if (fabs(eta1) < fabs(eta2)) {
155 double mass = (jets[0].p4() + jets[1].p4()).
mass();
162 for (
unsigned ij(0); ij < jets.size(); ++ij) {
179 double eta1 = jets[0].eta();
183 if (jets.size() > 1) {
184 double eta2 = jets[1].eta();
187 if (fabs(eta1) < fabs(eta2)) {
198 double mass = (jets[0].p4() + jets[1].p4()).
mass();
205 for (
unsigned ij(0); ij < jets.size(); ++ij) {
237 std::vector<double> bins = {0., 20., 40., 60., 80., 100., 120., 140., 160., 180., 200., 220.,
238 240., 260., 280., 300., 350., 400., 450., 500, 750, 1000., 1500.};
239 histoPSet.
add<std::vector<double> >(
"jetptBinning", bins);
241 std::vector<double> pt1bins = {0., 20., 40., 60., 80., 90., 100., 110., 120., 130., 140., 150., 160.,
242 180., 210., 240., 270., 300., 330., 360., 400., 450., 500., 750., 1000., 1500.};
243 histoPSet.
add<std::vector<double> >(
"jet1ptBinning", pt1bins);
245 std::vector<double> pt2bins = {0., 20., 40., 45., 50., 55., 60., 65., 70., 80., 90., 100.,
246 110., 120., 150., 180., 210., 240., 270., 300., 350., 400., 1000.};
247 histoPSet.
add<std::vector<double> >(
"jet2ptBinning", pt2bins);
249 std::vector<double> mjjbins = {0., 200, 400, 600, 620, 640, 660, 680, 700, 720, 740, 760, 780, 800,
250 850, 900, 950, 1000, 1200, 1400, 1600, 1800, 2000, 2500, 3000, 4000, 6000};
251 histoPSet.
add<std::vector<double> >(
"mjjBinning", mjjbins);
constexpr double deltaPhi(double phi1, double phi2)
void fillHistograms(const std::vector< reco::PFJet > &jets, const reco::PFMET &pfmet, const int ls, const bool passCond)
void initialise(const edm::ParameterSet &iConfig)
static void fillHistoLSPSetDescription(edm::ParameterSetDescription &pset)
static void fillJetDescription(edm::ParameterSetDescription &histoPSet)
static void fillHistoPSetDescription(edm::ParameterSetDescription &pset)
void setMETitle(ObjME &me, const std::string &titleX, const std::string &titleY)
std::vector< double > jet1pt_variable_binning_
MEbinning mindphijmet_binning_
static MEbinning getHistoPSet(const edm::ParameterSet &pset)
void bookHistograms(DQMStore::IBooker &)
MonitorElement * denominator
MonitorElement * numerator
std::vector< double > mjj_variable_binning_
ParameterDescriptionBase * add(U const &iLabel, T const &value)
MEbinning jeteta_binning_
std::vector< double > jetpt_variable_binning_
T getParameter(std::string const &) const
void bookME(DQMStore::IBooker &, ObjME &me, const std::string &histname, const std::string &histtitle, const uint nbins, const double xmin, const double xmax, const bool bookDen=true)
std::vector< double > jet2pt_variable_binning_
MEbinning dphijj_binning_
MEbinning detajj_binning_
double phi() const final
momentum azimuthal angle