45 pt_ = book1D(
"pt_",
"pt_;p_{T} [GeV]", ptPS.
n, ptPS.
m, ptPS.
M);
46 pt2_ = book1D(
"pt2_",
"pt2_;p_{T} [GeV]", pt2PS.
n, pt2PS.
m, pt2PS.
M);
47 px_ = book1D(
"px_",
"px_;p_{X} [GeV]", pxPS.
n, pxPS.
m, pxPS.
M);
48 py_ = book1D(
"py_",
"py_;p_{Y} [GeV]", pxPS.
n, pxPS.
m, pxPS.
M);
51 phi_ = book1D(
"phi_",
"phi_;#phi", phiPS.
n, phiPS.
m, phiPS.
M);
52 sumEt_ = book1D(
"sumEt_",
"sumEt_;#SigmaE_{T} [GeV]", sumEtPS.
n, sumEtPS.
m, sumEtPS.
M);
53 sumEt2_ = book1D(
"sumEt2_",
"sumEt2_;#SigmaE_{T} [GeV]", sumEt2PS.
n, sumEt2PS.
m, sumEt2PS.
M);
54 etOverSumEt_ = book1D(
"etOverSumEt_",
"etOverSumEt_;p_{T}/#SigmaE_{T}", etOverSumEtPS.
n, etOverSumEtPS.
m, etOverSumEtPS.
M);
56 mex_VS_sumEt_= book2D(
"mex_VS_sumEt_",
57 ";#SigmaE_{T} [GeV];p_{X} [GeV]",
58 sumEt3PS.
n, sumEt3PS.
m, sumEt3PS.
M,
59 pxPS.
n, pxPS.
m, pxPS.
M );
65 if( !isInRange(cand.
pt(), cand.
eta(), cand.
phi() ) )
return;
67 pt_->Fill( cand.
pt() );
68 pt2_->Fill( cand.
pt() );
69 px_->Fill( cand.
px() );
70 py_->Fill( cand.
py() );
71 phi_->Fill( cand.
phi() );
72 sumEt_->Fill( cand.
sumEt() );
73 sumEt2_->Fill( cand.
sumEt() );
74 if (cand.
sumEt()>3.0) etOverSumEt_->Fill( cand.
pt()/cand.
sumEt() );
75 mex_VS_sumEt_->Fill( cand.
sumEt(), cand.
px() );
76 mex_VS_sumEt_->Fill( cand.
sumEt(), cand.
py() );
void setup()
book histograms
virtual double py() const GCC11_FINAL
y coordinate of momentum vector
virtual float phi() const GCC11_FINAL
momentum azimuthal angle
virtual double px() const GCC11_FINAL
x coordinate of momentum vector
virtual float eta() const GCC11_FINAL
momentum pseudorapidity
void fillOne(const reco::MET &candidate)
fill histograms with a given particle
virtual float pt() const GCC11_FINAL
transverse momentum