38 particleId_ = book1D(
"particleId_",
"particle ID", 7,1,8);
39 ecalEnergy_ = book1D(
"ecalEnergy_",
"ECAL energy, corrected;E_{ECAL} (GeV)",
40 ecalEnergyPS.
n, ecalEnergyPS.
m, ecalEnergyPS.
M);
41 hcalEnergy_ = book1D(
"hcalEnergy_",
"HCAL energy, corrected;E_{HCAL} (GeV)",
42 ecalEnergyPS.
n, ecalEnergyPS.
m, ecalEnergyPS.
M);
43 mva_e_pi_ = book1D(
"mva_e_pi_",
"e VS #pi MVA output;MVA",
44 mva_e_piPS.
n, mva_e_piPS.
m, mva_e_piPS.
M);
45 elementsInBlocksSize_ = book1D(
"elementsInBlocksSize_",
"number of elements used", 10, 0, 10);
52 for(
unsigned i=0;
i<pfCands.size(); ++
i) {
60 if( !isInRange(pfCand.
pt(), pfCand.
eta(), pfCand.
phi() ) )
return;
65 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
const ElementsInBlocks & elementsInBlocks() const
virtual ~PFCandidateBenchmark()
float mva_e_pi() const
mva for electron-pion discrimination
std::vector< reco::PFCandidate > PFCandidateCollection
collection of PFCandidates
virtual double pt() const
transverse momentum
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
void setup()
book histograms
virtual ParticleType particleId() const
virtual double phi() const
momentum azimuthal angle