1 #ifndef RecoEgamma_EgammaTools_PhotonEnergyCalibrator_h 2 #define RecoEgamma_EgammaTools_PhotonEnergyCalibrator_h 41 std::array<float,EGEnergySysIndex::kNrSysErrs>
45 std::array<float,EGEnergySysIndex::kNrSysErrs>
55 std::array<float,EGEnergySysIndex::kNrSysErrs>& energyData)
const;
EnergyScaleCorrection correctionRetriever_
void initPrivateRng(TRandom *rnd)
static const EnergyScaleCorrection::ScaleCorrection defaultScaleCorr_
static const EnergyScaleCorrection::SmearCorrection defaultSmearCorr_
et
define resolution functions of each parameter
~PhotonEnergyCalibrator()
double gauss(edm::StreamID const &id) const
void setEnergyAndSystVarations(const float scale, const float smearNrSigma, const float et, const EnergyScaleCorrection::ScaleCorrection &scaleCorr, const EnergyScaleCorrection::SmearCorrection &smearCorr, reco::Photon &photon, std::array< float, EGEnergySysIndex::kNrSysErrs > &energyData) const
std::array< float, EGEnergySysIndex::kNrSysErrs > calibrate(reco::Photon &photon, const unsigned int runNumber, const EcalRecHitCollection *recHits, edm::StreamID const &id, const EventType eventType) const