-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
Geant4 technical updates #38542
Geant4 technical updates #38542
Conversation
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-38542/30777
|
A new Pull Request was created by @civanch (Vladimir Ivantchenko) 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 |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-fd85aa/25872/summary.html Comparison SummarySummary:
|
+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, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
@@ -103,6 +103,7 @@ namespace { | |||
OscarMTProducer::OscarMTProducer(edm::ParameterSet const& p, const OscarMTMasterThread* ms) | |||
: m_handoff{p.getUntrackedParameter<int>("workerThreadStackSize", 10 * 1024 * 1024)} { | |||
m_verbose = p.getParameter<int>("EventVerbose"); | |||
// m_G4CommandsEndRun(p.getParameter<std::vector<std::string> >("G4CommandsEndRun")), |
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.
This commented out line can get removed, as far as I can see
@@ -68,7 +68,7 @@ void LowEnergyFastSimModel::DoIt(const G4FastTrack& fastTrack, G4FastStep& fastS | |||
fastStep.KillPrimaryTrack(); | |||
fastStep.SetPrimaryTrackPathLength(0.0); | |||
auto track = fastTrack.GetPrimaryTrack(); | |||
G4double energy = track->GetKineticEnergy(); | |||
G4double energy = track->GetKineticEnergy() * 1.015; |
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.
Where this factor 1.015 comes from?
Define at least a constexpr value which defines it?
Could you please elaborate? The GFlash improvement only deals with code optimization? This line makes me think the opposite... |
@perrotta , thanks for comments, will address them. Concerning "mainstream": this GFlash method can be used if is enabled, it was used for private validations only (where from 1.015 appears), we plan introduce this method in 13_0 after validation. |
+code-checks Logs: https://cmssdt.cern.ch/SDT/code-checks/cms-sw-PR-38542/30792
|
Pull request #38542 was updated. @cmsbuild, @civanch, @mdhildreth can you please check and sign again. |
please test |
+1 Summary: https://cmssdt.cern.ch/SDT/jenkins-artifacts/pull-request-integration/PR-fd85aa/25887/summary.html Comparison SummarySummary:
|
+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, @qliphy (and backports should be raised in the release meeting by the corresponding L2) |
+1 |
PR description:
Several changes in Geant4 simulation:
Mainstream results should not be changed.
PR validation:
private
If this PR is a backport please specify the original PR and why you need to backport that PR. If this PR will be backported please specify to which release cycle the backport is meant for: NO