Clean up of the material manager... Removal of duplicated & unused code
Merged
Clean up of the material manager... Removal of duplicated & unused code
CleanMatMgr
into
main
1 unresolved thread
1 unresolved thread
- Remove the IGeoMaterialInterface & GeoMaterialManager code
- Refactor the
MaterialManager
- Useage of IntrusivePtr
- Do not distinguish between GeoElement & GeoMaterial. In fact, the GeoMaterial->add method(GeoMaterial*) does behind the scenes nothing else than copying the elements from one object to another multiplied with the correspondning fraction
- The MaterialManager always branched such that the renormalization of the Elements is enabled if the first fraction is greater than 1. If not the materials are simply added without unity check --> Renormalize the element fractions
Tagging: @boudreau, @rbianchi, @tsulaia
I am thinking of whether we should move the MaterialManager back into GeoModelCore and then we can replace the Subdetector Material managers in athena with this.
Edited by Johannes Junggeburth
Merge request reports
Activity
added 1 commit
- 1b708fd4 - Remove interface class. Clean up the material manager
added 2 commits
added 17 commits
-
b20aa4bb...462ab416 - 12 commits from branch
main
- f6a46caa - Clean up of the material manager... Removal of duplicated & unused code
- b8394861 - Remove interface class. Clean up the material manager
- 442ead26 - Virtual destructor
- 7d3ae02a - Fix exceptions
- 40903228 - Put the Material manager into the GeoModelFunc snippets
Toggle commit list-
b20aa4bb...462ab416 - 12 commits from branch
mentioned in commit f8aefa1d
Please register or sign in to reply