GeoModel mass calculator
GeoModelMassCalculator (gmmasscalc) is a command line tool that calculates the inclusive and exclusive mass of a geometry file specified as input with the -g flag. The mass report is given in an output json file (default: * gmmasscalc_report.json*). By default * gmmasscalc*, takes the main World Volume, and calculates the inclusive and exclusive masses of the respective daughters, saving the calculated quantities in the output json file. At the end of the report, the total masses are reported together with the apparent weight in Air for the whole World Volume.
- apparent weight in Air by definition, the weight of a body as affected by the buoyancy of a fluid (such as air) in which it is immersed. It is calculated only on the total geometry, assuming that the World Volume is made of Air
- exclusiveMass is the mass of the considered volume only (from which the volumes occupied by the daughters volumes have been subtracted)
- inclusiveMass is the mass of the considered volume, comprehensive of the masses of the respective daughters (propagated in an iterative way to their daughter volumes).
- exclusiveFilteredMass is the sum of the exclusive masses of all the volumes with density>densityThreshold (0.02 g/cm3)
- excludedFilteredMass is the sum of the exclusive masses of all the volumes with density<densityThreshold (0.02 g/cm3)
The -p (--prefix) flag allows to iterate on the geometry and retrieve in the report file the masses information of all volumes in the geometry containing the specified 'prefix' in their name.
The -m (--material) flag allows to specify to which material the user is interested. In this case * gmmasscalc* will loop over the geometry tree and calculate the mass of those volumes that are made of the material of interest.
If both the -p and -m flags are used, * gmmasscalc* will combine the 2 filters and retrieve in the output file only the masses of the volumes containing the specified prefix and made of the desired material.
The documentation has been updated to include this new tool.
Merge request reports
Activity
added FullSimLight label
added 1 commit
- f3e91fec - gmmasscalculator: add flag that allows to iterate on a geometry and retrieve...
added 1 commit
- ee6cf9e2 - gmmasscalculator: add -m flag to specify the material of interest in the calculation of the mass
added 15 commits
-
ee6cf9e2...c3b314d0 - 4 commits from branch
master
- 246573ee - Introduce first version of the gmmasscalculator executable
- e8bed6fe - geoModelMassCalculator main file
- 89e5b080 - Calculate the mass of the detector iterating on the daughters of the...
- c14f5198 - Filter on the logical volumes to exclude EMEC special shapes from the GeoModel...
- d62678e0 - Add a basic json file report to the mass calculation. It reports the masses of...
- 786a55ce - Add the Total geometry world volume info to the mass report
- de4f17b4 - gmmasscalculator: add to the json report the inclusive and exclusive mass calculated with Geant4
- 1ae5a3ae - gmmasscalculator: add documentation to the website and to the README file in the FullSimLight dir
- 04dc7339 - Fix typos
- 35c52d57 - gmmasscalculator: add flag that allows to iterate on a geometry and retrieve...
- 88875d6d - gmmasscalculator: add -m flag to specify the material of interest in the calculation of the mass
Toggle commit list-
ee6cf9e2...c3b314d0 - 4 commits from branch
added 1 commit
- 039a71b7 - gmmasscalculator: documentation updated with the new flags that are used to...
added 14 commits
-
039a71b7...45a51add - 2 commits from branch
master
- 16ad7d17 - Introduce first version of the gmmasscalculator executable
- b1d86c8e - geoModelMassCalculator main file
- 6ef57c44 - Calculate the mass of the detector iterating on the daughters of the...
- f02a906c - Filter on the logical volumes to exclude EMEC special shapes from the GeoModel...
- 05795b53 - Add a basic json file report to the mass calculation. It reports the masses of...
- 5f166719 - Add the Total geometry world volume info to the mass report
- 0e8f2e6e - gmmasscalculator: add to the json report the inclusive and exclusive mass calculated with Geant4
- a7a408a1 - gmmasscalculator: add documentation to the website and to the README file in the FullSimLight dir
- 65e41669 - Fix typos
- 094335cb - gmmasscalculator: add flag that allows to iterate on a geometry and retrieve...
- 4144ea2e - gmmasscalculator: add -m flag to specify the material of interest in the calculation of the mass
- d120d799 - gmmasscalculator: documentation updated with the new flags that are used to...
Toggle commit list-
039a71b7...45a51add - 2 commits from branch
added 13 commits
-
67e1d7b4 - 1 commit from branch
master
- 21a75c70 - Introduce first version of the gmmasscalculator executable
- f0a3d05f - geoModelMassCalculator main file
- dad7349e - Calculate the mass of the detector iterating on the daughters of the...
- 7a5c9f21 - Filter on the logical volumes to exclude EMEC special shapes from the GeoModel...
- 7da94b4d - Add a basic json file report to the mass calculation. It reports the masses of...
- 3b71d826 - Add the Total geometry world volume info to the mass report
- 7747b202 - gmmasscalculator: add to the json report the inclusive and exclusive mass calculated with Geant4
- d17b7cb1 - gmmasscalculator: add documentation to the website and to the README file in the FullSimLight dir
- 5be5e11f - Fix typos
- 42d3d52d - gmmasscalculator: add flag that allows to iterate on a geometry and retrieve...
- c8735153 - gmmasscalculator: add -m flag to specify the material of interest in the calculation of the mass
- ce0dd887 - gmmasscalculator: documentation updated with the new flags that are used to...
Toggle commit list-
67e1d7b4 - 1 commit from branch
added 13 commits
-
926b8a81 - 1 commit from branch
master
- b6d9f09a - Introduce first version of the gmmasscalculator executable
- 2366ebae - geoModelMassCalculator main file
- 006dde88 - Calculate the mass of the detector iterating on the daughters of the...
- 3dcf9bea - Filter on the logical volumes to exclude EMEC special shapes from the GeoModel...
- b87ff3a8 - Add a basic json file report to the mass calculation. It reports the masses of...
- 741745ba - Add the Total geometry world volume info to the mass report
- 5d867e73 - gmmasscalculator: add to the json report the inclusive and exclusive mass calculated with Geant4
- 42cde787 - gmmasscalculator: add documentation to the website and to the README file in the FullSimLight dir
- 3eaf37f7 - Fix typos
- b9ef726c - gmmasscalculator: add flag that allows to iterate on a geometry and retrieve...
- 36cf6ea5 - gmmasscalculator: add -m flag to specify the material of interest in the calculation of the mass
- 8e86a1a3 - gmmasscalculator: documentation updated with the new flags that are used to...
Toggle commit list-
926b8a81 - 1 commit from branch
added 16 commits
-
8e86a1a3...12887c83 - 4 commits from branch
master
- 51efa403 - Introduce first version of the gmmasscalculator executable
- af41bfda - geoModelMassCalculator main file
- fcb3419e - Calculate the mass of the detector iterating on the daughters of the...
- 1c8a4411 - Filter on the logical volumes to exclude EMEC special shapes from the GeoModel...
- 8b1f8c00 - Add a basic json file report to the mass calculation. It reports the masses of...
- dade8cce - Add the Total geometry world volume info to the mass report
- 955aa9ab - gmmasscalculator: add to the json report the inclusive and exclusive mass calculated with Geant4
- dd75bcb8 - gmmasscalculator: add documentation to the website and to the README file in the FullSimLight dir
- f44ee20e - Fix typos
- fda548b8 - gmmasscalculator: add flag that allows to iterate on a geometry and retrieve...
- 9717f694 - gmmasscalculator: add -m flag to specify the material of interest in the calculation of the mass
- 1587acc8 - gmmasscalculator: documentation updated with the new flags that are used to...
Toggle commit list-
8e86a1a3...12887c83 - 4 commits from branch
added 13 commits
-
dfd297da - 1 commit from branch
master
- a47b5962 - Introduce first version of the gmmasscalculator executable
- ad133ed5 - geoModelMassCalculator main file
- cc7f2918 - Calculate the mass of the detector iterating on the daughters of the...
- 40588dce - Filter on the logical volumes to exclude EMEC special shapes from the GeoModel...
- be3c7c38 - Add a basic json file report to the mass calculation. It reports the masses of...
- a7c7733b - Add the Total geometry world volume info to the mass report
- 4d5bf2b9 - gmmasscalculator: add to the json report the inclusive and exclusive mass calculated with Geant4
- 3b609178 - gmmasscalculator: add documentation to the website and to the README file in the FullSimLight dir
- a922529b - Fix typos
- d8fc87c9 - gmmasscalculator: add flag that allows to iterate on a geometry and retrieve...
- c6c96fe2 - gmmasscalculator: add -m flag to specify the material of interest in the calculation of the mass
- 5b997e84 - gmmasscalculator: documentation updated with the new flags that are used to...
Toggle commit list-
dfd297da - 1 commit from branch
added 1 commit
- 49105fc3 - gmmasscalculator: generate density histogram - first draft
added 14 commits
-
988f7546 - 1 commit from branch
master
- 54f6e617 - Introduce first version of the gmmasscalculator executable
- 0f78d37f - geoModelMassCalculator main file
- 7ab7257f - Calculate the mass of the detector iterating on the daughters of the...
- b042e389 - Filter on the logical volumes to exclude EMEC special shapes from the GeoModel...
- ce7d3522 - Add a basic json file report to the mass calculation. It reports the masses of...
- 3895e956 - Add the Total geometry world volume info to the mass report
- 387d1a6c - gmmasscalculator: add to the json report the inclusive and exclusive mass calculated with Geant4
- ded9c9e4 - gmmasscalculator: add documentation to the website and to the README file in the FullSimLight dir
- 2608bed3 - Fix typos
- 3827c608 - gmmasscalculator: add flag that allows to iterate on a geometry and retrieve...
- 975382be - gmmasscalculator: add -m flag to specify the material of interest in the calculation of the mass
- edce894b - gmmasscalculator: documentation updated with the new flags that are used to...
- 57b2ba2a - gmmasscalculator: generate density histogram - first draft
Toggle commit list-
988f7546 - 1 commit from branch
added 1 commit
- 77d5d7a8 - gmmasscalculator: add calculation of the apparent mass in air
added 31 commits
-
47f504fc...e0e82eb7 - 16 commits from branch
master
- 00949915 - Introduce first version of the gmmasscalculator executable
- 37e05f72 - geoModelMassCalculator main file
- e0f8fefb - Calculate the mass of the detector iterating on the daughters of the...
- 83b3ac9f - Filter on the logical volumes to exclude EMEC special shapes from the GeoModel...
- 46457e8f - Add a basic json file report to the mass calculation. It reports the masses of...
- 0bc3f153 - Add the Total geometry world volume info to the mass report
- 102cc573 - gmmasscalculator: add to the json report the inclusive and exclusive mass calculated with Geant4
- f49fcb88 - gmmasscalculator: add documentation to the website and to the README file in the FullSimLight dir
- 8c36890d - Fix typos
- 98116b40 - gmmasscalculator: add flag that allows to iterate on a geometry and retrieve...
- b4362fec - gmmasscalculator: add -m flag to specify the material of interest in the calculation of the mass
- 772dac2f - gmmasscalculator: documentation updated with the new flags that are used to...
- 1baa52ad - gmmasscalculator: generate density histogram - first draft
- b8681e46 - gmmasscalculator: add calculation of the apparent mass in air
- 803dca06 - gmmasscalculator: update documentation
Toggle commit list-
47f504fc...e0e82eb7 - 16 commits from branch