Comments (2)
Update on ongoing work:
- Tested 4 different geometries being constructed both
programmatically
and via theG4GDMLParser
(after exporting them as gdml files). This leads to one discrepancy:
- The
world
volume has itsInstanceID
defined at its creation time if the geometry is constructed programmatically, but it is always stored last when saved into a gdml file. This results in a shifted list of volume ids when each case is compared.
Not an issue, since materia_ids do not change, and the link volume_id -> material_id
is kept in place.
- Tested loading each one of the aforementioned gdml files using VecGeom's
vgdml::Frontend::Load(...)
and compared the loaded volume_ids from VecGeom with the expected volume_ids fromG4GDMLParser
. They match.
I am not sure if the volume_id
is the only needed piece for VecGeom's navigator to work, but since the volume_ids match, we should be able to correctly retrieve any needed information:
Get the logical volume_id from a given placed volume using VecGeom; from our imported data at startup, we can now: check what is the material_id associated to that logical volume; use said material_id to fetch the corresponding XS data in the physics tables.
from celeritas.
Currently the geometry (GeoParams and GeoTrackView) return placed ("physical") volume IDs, so we need to change these to unplaced ("logical") IDs. @mrguilima will handle that.
from celeritas.
Related Issues (20)
- Support importing G4GammaGeneralProcess HOT 3
- Implement on-device error handling and reporting
- Move reusable components into `accel`
- Improve CI infrastructure HOT 2
- Standardize nomenclature HOT 1
- Extend GeantGeoConverter for G4ReflectedSolid HOT 2
- Use safety distance more wisely and improve cacheing of next step/safety HOT 2
- Polish rasterizer geo-check into "celer-geo" verification app
- Add electron/positron Single (Coulomb) Scattering Model HOT 7
- Add energy deposition and path length scoring with batch statistics HOT 1
- Ensure CMS works for Run3 and HL-LHC, through GMDL and CMSSW HOT 10
- Add "fast simulation" interface to accel HOT 3
- Compile error with G4 10.6.3 HOT 1
- Extend celer-g4 for detailed Geant4/Celeritas comparisons HOT 1
- CUDA link issue with incremental build HOT 13
- Investigate physics setup differences between CMSSW and Celeritas HOT 1
- Add optical photon simulation HOT 1
- Fix or output "lost energy" warnings on boundaries HOT 3
- Investigate a rare crash from SBEnergyDistribution HOT 2
- Refactor physics tables for correct material-dependent bounds HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from celeritas.