Skip to content

Conversation

@sethrj
Copy link
Member

@sethrj sethrj commented Nov 30, 2025

This starts to address some of the discussion in #2045 (comment) by adding an orange/inp directory and renaming the G4->Orange conversion option struct. I will then add a celeritas::inp::OrangeGeo for runtime options (to be used for BIH, maximum intersections, etc.)

@sethrj sethrj added minor Refactoring or minor internal changes/fixes orange Work on ORANGE geometry engine labels Nov 30, 2025
@sethrj sethrj marked this pull request as ready for review November 30, 2025 23:33
@sethrj sethrj requested review from a team, elliottbiondo and esseivaju as code owners November 30, 2025 23:33
@sethrj sethrj removed request for a team and esseivaju November 30, 2025 23:33
@github-actions
Copy link

github-actions bot commented Nov 30, 2025

Test summary

 5 742 files   9 228 suites   18m 41s ⏱️
 2 094 tests  2 068 ✅  26 💤 0 ❌
32 079 runs  31 931 ✅ 148 💤 0 ❌

Results for commit 2f86b29.

♻️ This comment has been updated with latest results.

@codecov
Copy link

codecov bot commented Dec 1, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 84.93%. Comparing base (084a69a) to head (2f86b29).
⚠️ Report is 1 commits behind head on develop.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff            @@
##           develop    #2134   +/-   ##
========================================
  Coverage    84.92%   84.93%           
========================================
  Files         1273     1273           
  Lines        44666    44667    +1     
  Branches     16611    16523   -88     
========================================
+ Hits         37934    37936    +2     
  Misses        4749     4749           
+ Partials      1983     1982    -1     
Files with missing lines Coverage Δ
src/orange/OrangeInput.hh 82.60% <ø> (ø)
src/orange/OrangeParams.cc 83.33% <100.00%> (ø)
src/orange/g4org/Converter.cc 84.72% <ø> (ø)
src/orange/g4org/PhysicalVolumeConverter.cc 86.79% <ø> (ø)
src/orange/g4org/ProtoConstructor.cc 94.57% <100.00%> (+0.03%) ⬆️
src/orange/g4org/ProtoConstructor.hh 100.00% <100.00%> (ø)
src/orange/g4org/Volume.hh 100.00% <ø> (ø)
src/orange/inp/IO.json.cc 100.00% <100.00%> (ø)
src/orange/inp/Import.hh 100.00% <100.00%> (ø)

... and 5 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@sethrj
Copy link
Member Author

sethrj commented Dec 2, 2025

@stognini I'm now seeing warnings from ROOT:

[61/408] Generating CeleritasRootInter...ict.pcm, ../../lib/libceleritas.rootmap
Warning: Unused class rule: celeritas::MuonicMolecule

Could you fix in your next PR?

@sethrj
Copy link
Member Author

sethrj commented Dec 2, 2025

@pcanal Is there a "Werror" flag that can be given to rootcling to help us catch warnings on the CI? ☝️

@pcanal
Copy link
Contributor

pcanal commented Dec 2, 2025

Is there a "Werror" flag that can be given to rootcling to help us catch warnings on the CI?

The aptly named --failOnWarnings

@stognini
Copy link
Member

stognini commented Dec 2, 2025

Warning: Unused class rule: celeritas::MuonicMolecule

Yep, I noticed that as soon as I rebuilt from scratch this morning. Fixed it in the branch with the executor work, but I can also make a tiny PR just to fix this in the meantime, if you prefer.

@sethrj
Copy link
Member Author

sethrj commented Dec 2, 2025

Sorry @pcanal and @stognini I posted those two on the wrong PR, meant to put it on #2125

@sethrj
Copy link
Member Author

sethrj commented Dec 2, 2025

and an executor branch update is fine @stognini

@sethrj
Copy link
Member Author

sethrj commented Dec 2, 2025

@elliottbiondo This small change is RTR

@pcanal
Copy link
Contributor

pcanal commented Dec 4, 2025

@stognini I'm now seeing warnings from ROOT:

[61/408] Generating CeleritasRootInter...ict.pcm, ../../lib/libceleritas.rootmap
Warning: Unused class rule: celeritas::MuonicMolecule

Could you fix in your next PR?

This is fixed in #2145

@sethrj sethrj enabled auto-merge (squash) December 4, 2025 20:54
@sethrj sethrj merged commit 5ce7701 into celeritas-project:develop Dec 4, 2025
81 of 83 checks passed
@sethrj sethrj deleted the g4org-opt-rename branch December 5, 2025 00:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

minor Refactoring or minor internal changes/fixes orange Work on ORANGE geometry engine

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants