37 particleId_ = book1D(b,
"particleId_",
"particle ID", 7,1,8);
38 ecalEnergy_ = book1D(b,
"ecalEnergy_",
"ECAL energy, corrected;E_{ECAL} (GeV)",
39 ecalEnergyPS.
n, ecalEnergyPS.
m, ecalEnergyPS.
M);
40 hcalEnergy_ = book1D(b,
"hcalEnergy_",
"HCAL energy, corrected;E_{HCAL} (GeV)",
41 ecalEnergyPS.
n, ecalEnergyPS.
m, ecalEnergyPS.
M);
42 mva_e_pi_ = book1D(b,
"mva_e_pi_",
"e VS #pi MVA output;MVA",
43 mva_e_piPS.
n, mva_e_piPS.
m, mva_e_piPS.
M);
44 elementsInBlocksSize_ = book1D(b,
"elementsInBlocksSize_",
"number of elements used", 10, 0, 10);
51 for(
unsigned i=0;
i<pfCands.size(); ++
i) {
59 if( !isInRange(pfCand.
pt(), pfCand.
eta(), pfCand.
phi() ) )
return;
64 mva_e_pi_->Fill( pfCand.
mva_e_pi() );
double ecalEnergy() const
return corrected Ecal energy
void fill(const reco::PFCandidateCollection &pfCands)
virtual double eta() const
momentum pseudorapidity
virtual double pt() const
transverse momentum
virtual ~PFCandidateBenchmark()
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
virtual double phi() const
momentum azimuthal angle