1 #ifndef SimplePhoton_STANDALONE
8 scEnergy_(in.superCluster()->rawEnergy() + (in.isEB() ? 0 : in.superCluster()->preshowerEnergy())),
10 regEnergy_(in.getCorrectedEnergy(
reco::
Photon::P4type::regression2)),
11 regEnergyError_(in.getCorrectedEnergyError(
reco::
Photon::P4type::regression2)),
12 eta_(in.superCluster()->
eta()),
15 newEnergy_(regEnergy_),
16 newEnergyError_(regEnergyError_),
double getNewEnergy() const
void setCorrectedEnergy(P4type type, float E, float dE, bool toCand=true)
double getNewEnergyError() const
void writeTo(reco::Photon &out) const