28 histname =
"jet1pt"; histtitle =
"PFJet1 pT";
32 histname =
"jet2pt"; histtitle =
"PFJet2 pT";
36 histname =
"jet1eta"; histtitle =
"PFJet1 eta";
40 histname =
"jet2eta"; histtitle =
"PFJet2 eta";
44 histname =
"cjetpt"; histtitle =
"central PFJet pT";
48 histname =
"fjetpt"; histtitle =
"forward PFJet pT";
52 histname =
"cjeteta"; histtitle =
"central PFJet eta";
56 histname =
"fjeteta"; histtitle =
"forward PFJet eta";
60 histname =
"mjj"; histtitle =
"PFDiJet M";
64 histname =
"detajj"; histtitle =
"PFDiJet DeltaEta";
68 histname =
"dphijj"; histtitle =
"PFDiJet DeltaPhi";
72 histname =
"mindphijmet"; histtitle =
"minDeltaPhi(PFJets,MET)";
76 histname =
"jet1etaVsLS"; histtitle =
"PFJet1 eta vs LS";
80 histname =
"mjjVsLS"; histtitle =
"PFDiJet M vs LS";
84 histname =
"mindphijmetVsLS"; histtitle =
"minDeltaPhi(PFJets,MET) vs LS";
97 double eta1 = jets[0].eta();
102 double eta2 = jets[1].eta();
105 if (fabs(eta1)<fabs(eta2)){
116 double mass = (jets[0].p4()+jets[1].p4()).
mass();
123 for (
unsigned ij(0); ij<jets.size(); ++ij){
126 if (dphi<mindphi) mindphi=dphi;
139 double eta1 = jets[0].eta();
144 double eta2 = jets[1].eta();
147 if (fabs(eta1)<fabs(eta2)){
158 double mass = (jets[0].p4()+jets[1].p4()).
mass();
165 for (
unsigned ij(0); ij<jets.size(); ++ij){
168 if (dphi<mindphi) mindphi=dphi;
198 std::vector<double>
bins = {0.,20.,40.,60.,80.,100.,120.,140.,160.,180.,200.,220.,240.,260.,280.,300.,350.,400.,450.,500,750,1000.,1500.};
199 histoPSet.
add<std::vector<double> >(
"jetptBinning",
bins);
201 std::vector<double> pt1bins = {0.,20.,40.,60.,80.,90.,100.,110.,120.,130.,140.,150.,160.,180.,210.,240.,270.,300.,330.,360.,400.,450.,500.,750.,1000.,1500.};
202 histoPSet.
add<std::vector<double> >(
"jet1ptBinning", pt1bins);
204 std::vector<double> pt2bins = {0.,20.,40.,45.,50.,55.,60.,65.,70.,80.,90.,100.,110.,120.,150.,180.,210.,240.,270.,300.,350.,400.,1000.};
205 histoPSet.
add<std::vector<double> >(
"jet2ptBinning", pt2bins);
207 std::vector<double> mjjbins = {0.,200,400,600,620,640,660,680,700,720,740,760,780,800,850,900,950,1000,1200,1400,1600,1800,2000,2500,3000,4000,6000};
208 histoPSet.
add<std::vector<double> >(
"mjjBinning", mjjbins);
T getParameter(std::string const &) const
MonitorElement * numerator
void initialise(const edm::ParameterSet &iConfig)
void fillHistograms(const std::vector< reco::PFJet > &jets, const reco::PFMET &pfmet, const int &ls, const bool passCond)
static void fillHistoLSPSetDescription(edm::ParameterSetDescription &pset)
static void fillJetDescription(edm::ParameterSetDescription &histoPSet)
static MEbinning getHistoLSPSet(const edm::ParameterSet &pset)
static void fillHistoPSetDescription(edm::ParameterSetDescription &pset)
void setMETitle(ObjME &me, const std::string &titleX, const std::string &titleY)
std::vector< double > jet1pt_variable_binning_
virtual double phi() const final
momentum azimuthal angle
MEbinning mindphijmet_binning_
static MEbinning getHistoPSet(const edm::ParameterSet &pset)
MonitorElement * denominator
void Fill(HcalDetId &id, double val, std::vector< TH2F > &depth)
void bookHistograms(DQMStore::IBooker &)
std::vector< double > mjj_variable_binning_
ParameterDescriptionBase * add(U const &iLabel, T const &value)
MEbinning jeteta_binning_
double deltaPhi(double phi1, double phi2)
std::vector< double > jetpt_variable_binning_
std::vector< double > jet2pt_variable_binning_
MEbinning dphijj_binning_
MEbinning detajj_binning_
void bookME(DQMStore::IBooker &, ObjME &me, const std::string &histname, const std::string &histtitle, unsigned nbins, double xmin, double xmax)