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
Remove WatchRuns restriction on HectorProducer #39978
Conversation
The module did nothing on Run transitions so should not restrict the framework's behavior. Also fixed a memory leak.
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-39978/32907
|
A new Pull Request was created by @Dr15Jones (Chris Jones) for master. It involves the following packages:
@cmsbuild, @civanch, @mdhildreth can you please review it and eventually sign? Thanks. cms-bot commands are listed here |
please test |
NOTE: I took a quick look at the version of Hector we use in CMSSW and I found a few usages of non-const global variables. It kind of looks like those variables are meant to be set at compile time, but it is not clear. Therefore it is safest to leave HectorProducer as a |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-0ba8f8/28776/summary.html Comparison SummaryThere are some workflows for which there are errors in the baseline: Summary:
|
@@ -85,30 +82,30 @@ void HectorProducer::produce(edm::Event &iEvent, const edm::EventSetup &es) { | |||
throw cms::Exception("LogicError") << "HectorTrasported HepMCProduce already exists\n"; | |||
} | |||
|
|||
evt_ = new HepMC::GenEvent(*HepMCEvt->GetEvent()); | |||
auto evt = new HepMC::GenEvent(*HepMCEvt->GetEvent()); |
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.
@Dr15Jones , should evt be destructed at the exit of this method?
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.
NO!
+1 |
This pull request is fully signed and it will be integrated in one of the next master IBs (tests are also fine). This pull request will now be reviewed by the release team before it's merged. @perrotta, @dpiparo, @rappoccio (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
PR validation:
Code compiles.