New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ECAL energy corrections, update for 81X #15276
ECAL energy corrections, update for 81X #15276
Conversation
Fix of 76X file and adding 80X option for approval Conflicts: EgammaAnalysis/ElectronTools/interface/ElectronEnergyCalibratorRun2.h EgammaAnalysis/ElectronTools/interface/PhotonEnergyCalibratorRun2.h EgammaAnalysis/ElectronTools/plugins/CalibratedElectronProducersRun2.cc EgammaAnalysis/ElectronTools/python/calibratedElectronsRun2_cfi.py EgammaAnalysis/ElectronTools/src/ElectronEnergyCalibratorRun2.cc EgammaAnalysis/ElectronTools/src/EnergyScaleCorrection_class.cc EgammaAnalysis/ElectronTools/src/EpCombinationTool.cc EgammaAnalysis/ElectronTools/src/PhotonEnergyCalibratorRun2.cc EgammaAnalysis/ElectronTools/test/testCalibratedPatElectronProducerRun2_cfg.py
A new Pull Request was created by @emanueledimarco (Emanuele Di Marco) for CMSSW_8_1_X. It involves the following packages: EgammaAnalysis/ElectronTools @cmsbuild, @davidlange6 can you please review it and eventually sign? Thanks. cms-bot commands are list here #13028 |
@@ -2,7 +2,7 @@ | |||
#define ElectronEnergyCalibratorRun2_h | |||
|
|||
#include <TRandom.h> | |||
#include "EgammaAnalysis/ElectronTools/interface/EnergyScaleCorrection_class.h" | |||
#include "EgammaAnalysis/ElectronTools/interface/EnergyScaleCorrection_class.hh" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
use .h as the standard CMSSW class ending.
@emanueledimarco
@davidlange6 @fcouderc Update done. Sorry for the late feedback on this. |
please test |
The tests are being triggered in jenkins. |
Comparison is ready @slava77 comparisons for the following workflows were not done due to missing matrix map:
|
@@ -58,6 +58,7 @@ void ElectronEnergyCalibratorRun2::calibrate(SimpleElectron &electron, edm::Stre | |||
} | |||
electron.setNewEnergy(newEcalEnergy); | |||
electron.setNewEnergyError(newEcalEnergyError); | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same for this.
I've not found any recommendation for c++ coding style in CMSSW.
Using something like astyle would avoid this kind of problems.
Has this been considered?
|
Pull request #15276 was updated. @cmsbuild, @monttj, @davidlange6 can you please check and sign again. |
@monttj They are harmless spaces, I don't see any problem with them. In any case, to speed up the bureaucracy, changed back to previous version. |
@emanueledimarco Taejeong |
+1 |
@cmsbuild please test |
The tests are being triggered in jenkins. |
This pull request is fully signed and it will be integrated in one of the next CMSSW_8_1_X IBs after it passes the integration tests. This pull request requires discussion in the ORP meeting before it's merged. @slava77, @davidlange6, @smuzaffar |
+1 |
The instructions have been updated on the TWiki: https://twiki.cern.ch/twiki/bin/view/CMS/EGMSmearer
@fcouderc @shervin86 @paramatti please also follow