39 pt_ = book1D(
"pt_",
"pt_;p_{T} (GeV)", ptPS.
n, ptPS.
m, ptPS.
M);
40 px_ = book1D(
"px_",
"px_;p_{X} (GeV)", pxPS.
n, pxPS.
m, pxPS.
M);
43 phi_ = book1D(
"phi_",
"phi_;#phi", phiPS.
n, phiPS.
m, phiPS.
M);
44 sumEt_ = book1D(
"sumEt_",
"sumEt_;#sumE_{T}", sumEtPS.
n, sumEtPS.
m, sumEtPS.
M);
50 if( !isInRange(cand.
pt(), cand.
eta(), cand.
phi() ) )
return;
52 pt_->Fill( cand.
pt() );
53 px_->Fill( cand.
px() );
54 px_->Fill( cand.
py() );
55 phi_->Fill( cand.
phi() );
56 sumEt_->Fill( cand.
sumEt() );
void setup()
book histograms
virtual double eta() const
momentum pseudorapidity
void fillOne(const reco::MET &candidate)
fill histograms with a given particle
virtual double px() const
x coordinate of momentum vector
virtual double pt() const
transverse momentum
virtual double phi() const
momentum azimuthal angle
virtual double py() const
y coordinate of momentum vector