diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6e8eec904da58c1f0ef2c4d87eefb79651580358..c121e951f97a5ef6878593aef1bfa701fa9e084e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -157,3 +157,17 @@ InformCodeOwners: - git fetch upstream - ci_scripts/inform_codeowners.sh upstream +Md5Sums: + stage: finalise + image: alpine + only: + refs: + - merge_requests + tags: + - docker + script: + - find . -iname '*.geo.root' | xargs md5sum + + + + diff --git a/ci_scripts/scan_geometry.C b/ci_scripts/scan_geometry.C index 82072aed556464ebee514c0653db223a59f31814..9ff7e91cd5d3fc06ab218add0c34b1513913850d 100644 --- a/ci_scripts/scan_geometry.C +++ b/ci_scripts/scan_geometry.C @@ -97,6 +97,7 @@ void scan_geometry(const char* fileName = "test.geo.root") //node[j]->GetMotherVolume()->Print(); std::cout << "Shape: "; node[j]->GetVolume()->GetShape()->Print(); + std::cout << node[j]->GetVolume()->GetShape()->GetName() << std::endl; std::cout << "Medium: "; med = node[j]->GetMedium(); med->Print(); @@ -109,9 +110,9 @@ void scan_geometry(const char* fileName = "test.geo.root") fprintf(graph, "%s (%s) -> %s (%s) \n", node[j]->GetMotherVolume()->GetName(), - node[j]->GetMotherVolume()->GetName(), + node[j]->GetMotherVolume()->GetMaterial()->GetName(), node[j]->GetVolume()->GetName(), - node[j]->GetVolume()->GetName() + node[j]->GetVolume()->GetMaterial()->GetName() ); if (num_array[j + 1] > 0) {