30 particleId_ = book1D(
b,
"particleId_",
"particle ID", 7, 1, 8);
32 book1D(
b,
"ecalEnergy_",
"ECAL energy, corrected;E_{ECAL} (GeV)", ecalEnergyPS.
n, ecalEnergyPS.
m, ecalEnergyPS.
M);
34 book1D(
b,
"hcalEnergy_",
"HCAL energy, corrected;E_{HCAL} (GeV)", ecalEnergyPS.
n, ecalEnergyPS.
m, ecalEnergyPS.
M);
35 mva_e_pi_ = book1D(
b,
"mva_e_pi_",
"e VS #pi MVA output;MVA", mva_e_piPS.
n, mva_e_piPS.
m, mva_e_piPS.
M);
36 elementsInBlocksSize_ = book1D(
b,
"elementsInBlocksSize_",
"number of elements used", 10, 0, 10);
40 for (
unsigned i = 0;
i < pfCands.size(); ++
i) {
46 if (!isInRange(pfCand.
pt(), pfCand.
eta(), pfCand.
phi()))
void fill(const reco::PFCandidateCollection &pfCands)
double pt() const final
transverse momentum
~PFCandidateBenchmark() override
const ElementsInBlocks & elementsInBlocks() const
double hcalEnergy() const
return corrected Hcal energy
double ecalEnergy() const
return corrected Ecal energy
std::vector< reco::PFCandidate > PFCandidateCollection
collection of PFCandidates
void setup(DQMStore::IBooker &b)
book histograms
void fillOne(const reco::PFCandidate &pfCand)
fill histograms with a given particle
Particle reconstructed by the particle flow algorithm.
double phi() const final
momentum azimuthal angle
float mva_e_pi() const
mva for electron-pion discrimination
virtual ParticleType particleId() const
double eta() const final
momentum pseudorapidity