Skip to content
Snippets Groups Projects

Introduce examine_material.C

Merged Eoin Clerkin requested to merge e.clerkin/cbmroot:examine_material into master
Files
2
+ 18
0
@@ -203,3 +203,21 @@ Allows to run the `check_radlen` script on sets of geometries present in the sub
@@ -203,3 +203,21 @@ Allows to run the `check_radlen` script on sets of geometries present in the sub
Example for a version: `./macro/geometry/check_radlen_bulk.sh v22a` \
Example for a version: `./macro/geometry/check_radlen_bulk.sh v22a` \
Special tags which cannot be used in this way: `git`, `all`, `main`
Special tags which cannot be used in this way: `git`, `all`, `main`
 
 
---
 
 
## examine_materials.C
 
 
Root macro which compares the materials in the simulated TGeoManager to the materials as extracted form the geometry
 
binaries for a specified setup. Compares only the names.
 
 
Sugggested commands
 
 
root -q examine_materials.C
 
 
root -q 'examine_materials.C("sis100_muon_jpsi_DEC21")'
 
 
for file in `ls ../../geometry/setup/setup_mcbm_beam_2022_*`; do tag=`echo $file | awk -F'/' '{print $5}' | sed 's|setup_|"|' | sed 's_.C$_"_'`; echo $tag; root -q './examine_material.C('$tag')'; done > MCBM_2022_EXAMINE
 
 
 
Loading