51 delta_et_Over_et_VS_et_ = book2D(b,
52 "delta_et_Over_et_VS_et_",
53 ";ME_{T, true} (GeV);#DeltaME_{T}/ME_{T}",
61 delta_et_VS_et_ = book2D(
62 b,
"delta_et_VS_et_",
";ME_{T, true} (GeV);#DeltaME_{T}", ptPS.
n, ptPS.
m, ptPS.
M, dptPS.
n, dptPS.
m, dptPS.
M);
64 delta_phi_VS_et_ = book2D(
65 b,
"delta_phi_VS_et_",
";ME_{T, true} (GeV);#Delta#phi", ptPS.
n, ptPS.
m, ptPS.
M, dphiPS.
n, dphiPS.
m, dphiPS.
M);
67 delta_ex_ = book1D(b,
"delta_ex_",
"#DeltaME_{X}", dptPS.
n, dptPS.
m, dptPS.
M);
70 book2D(b,
"RecEt_VS_TrueEt_",
";ME_{T, true} (GeV);ME_{T}", ptPS.
n, ptPS.
m, ptPS.
M, ptPS.
n, ptPS.
m, ptPS.
M);
72 delta_set_VS_set_ = book2D(b,
74 ";SE_{T, true} (GeV);#DeltaSE_{T}",
82 delta_set_Over_set_VS_set_ = book2D(b,
83 "delta_set_Over_set_VS_set_",
84 ";SE_{T, true} (GeV);#DeltaSE_{T}/SE_{T}",
92 delta_ex_VS_set_ = book2D(
93 b,
"delta_ex_VS_set_",
";SE_{T, true} (GeV);#DeltaE_{X}", setPS.
n, setPS.
m, setPS.
M, ptPS.
n, -ptPS.
M, ptPS.
M);
95 RecSet_Over_TrueSet_VS_TrueSet_ = book2D(b,
96 "RecSet_Over_TrueSet_VS_TrueSet_",
97 ";SE_{T, true} (GeV);SE_{T}/SE_{T}",
107 if (!isInRange(cand.
pt(), cand.
eta(), cand.
phi()))
110 if (matchedCand.
pt() > 0.001)
111 delta_et_Over_et_VS_et_->Fill(matchedCand.
pt(), (cand.
pt() - matchedCand.
pt()) / matchedCand.
pt());
114 delta_et_VS_et_->Fill(matchedCand.
pt(), cand.
pt() - matchedCand.
pt());
115 delta_phi_VS_et_->Fill(matchedCand.
pt(), cand.
phi() - matchedCand.
phi());
116 delta_ex_->Fill(cand.
px() - matchedCand.
px());
117 delta_ex_->Fill(cand.
py() - matchedCand.
py());
118 RecEt_VS_TrueEt_->Fill(matchedCand.
pt(), cand.
pt());
119 delta_set_VS_set_->Fill(matchedCand.
sumEt(), cand.
sumEt() - matchedCand.
sumEt());
120 if (matchedCand.
sumEt() > 0.001)
121 delta_set_Over_set_VS_set_->Fill(matchedCand.
sumEt(), (cand.
sumEt() - matchedCand.
sumEt()) / matchedCand.
sumEt());
124 delta_ex_VS_set_->Fill(matchedCand.
sumEt(), cand.
px() - matchedCand.
px());
125 delta_ex_VS_set_->Fill(matchedCand.
sumEt(), cand.
py() - matchedCand.
py());
126 if (matchedCand.
sumEt() > 0.001)
127 RecSet_Over_TrueSet_VS_TrueSet_->Fill(matchedCand.
sumEt(), cand.
sumEt() / matchedCand.
sumEt());
double eta() const final
momentum pseudorapidity
void setup(DQMStore::IBooker &b)
book histograms
double px() const final
x coordinate of momentum vector
~MatchMETBenchmark() override
double pt() const final
transverse momentum
void fillOne(const reco::MET &candidate, const reco::MET &matchedCandidate)
fill histograms with a given particle
double py() const final
y coordinate of momentum vector
double phi() const final
momentum azimuthal angle