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
Tau discrimination producers (not yet) stream #4020
Tau discrimination producers (not yet) stream #4020
Conversation
A new Pull Request was created by @VinInn (Vincenzo Innocente) for CMSSW_7_2_X. Tau discrimination producers (not yet) stream It involves the following packages: RecoTauTag/RecoTau @nclopezo, @cmsbuild, @thspeer, @StoyanStoynev, @slava77, @Degano can you please review it and eventually sign? Thanks. |
namespace { | ||
|
||
// IN: define locations of the 18 phi-cracks | ||
std::array<double,18> fill_cPhi() { |
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.
Does it make sense to define this somewhere "centrally"?
This is not the only place where exactly the same vector is computed
git grep 2.97025
RecoParticleFlow/PFClusterProducer/src/SpikeAndDoubleSpikeCleaner.cc: constexpr double cPhi[18] = {2.97025, 2.621184149601134, 2.272118299202268,
RecoParticleFlow/PFClusterTools/src/PFEnergyCalibration.cc: retValue[0]=2.97025;
RecoParticleFlow/PFClusterTools/src/PFResolutionMap.cc: cPhi[0]=2.97025;
RecoParticleFlow/PFProducer/src/PFElectronAlgo.cc: float mphi=-2.97025;
RecoTauTag/RecoTau/src/AntiElectronIDMVA5GBR.cc: cPhi[0] = 2.97025;
good point: |
This pull request is fully signed and it will be integrated in one of the next CMSSW_7_2_X IBs unless changes (tests are also fine). |
Tau discrimination producers (not yet) stream
trivial change to make it thread safe
for the Producer itself we need to wait MVA to go in DB