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()))
double ecalEnergy() const
return corrected Ecal energy
void fill(const reco::PFCandidateCollection &pfCands)
double pt() const final
transverse momentum
~PFCandidateBenchmark() override
float mva_e_pi() const
mva for electron-pion discrimination
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 hcalEnergy() const
return corrected Hcal energy
virtual ParticleType particleId() const
const ElementsInBlocks & elementsInBlocks() const
double phi() const final
momentum azimuthal angle
double eta() const final
momentum pseudorapidity