3 ROOT.gSystem.Load(
"libEgammaAnalysisElectronTools")
6 def __init__(self, data, isMC, isSync=False):
10 self.photonEnergyCalibratorRun2.initPrivateRng(self.
random)
13 photon.uncalibratedP4 = photon.p4(photon.getCandidateP4type())
14 photon.uncalibratedP4Error = photon.getCorrectedEnergyError(photon.getCandidateP4type())
15 self.photonEnergyCalibratorRun2.calibrate(photon.physObj,
int(run))
def __init__(self, data, isMC, isSync=False)
def correct(self, photon, run)
photonEnergyCalibratorRun2