Skip to content

Updated tools to check the geometry

Ben Couturier requested to merge dmanuzzi_CALO_DD4HEP_scan into master

Validated by

  • Core Software
  • RTA
  • Simulation

Added DD4hep to do geometry scan, which can be run in the following way:

geoPluginRun -input  Detector/compact/trunk/LHCb.xml -plugin scan_intersections xmin xmax xstep ymin ymax ystep zmin zmax 

e.g.

./Detector/build.x86_64_v2-centos7-gcc12-dbg/bin/run geoPluginRun -input  Detector/compact/trunk/LHCb.xml -plugin scan_intersections -5000 5000 100 -5000 5000 100 12000 15000 

For the path at x=-100, y=-200, 12000 < z < 15000 it produces an output like:

ScanIntersections INFO  -100 -200 12000 lvDownstreamRegion_4 Air
ScanIntersections INFO  -100 -200 12519.3 lvPlugSupportRight_1 Calo Lead
ScanIntersections INFO  -100 -200 12569.3 lvSteelSheetWithHole2Right_13 Calo steel
ScanIntersections INFO  -100 -200 12579.2 lvPlugSupportRight_1 Calo Lead
ScanIntersections INFO  -100 -200 12779.3 lvSteelSheetWithHole2Right_12 Calo steel
ScanIntersections INFO  -100 -200 12789.2 lvPlugSupportRight_1 Calo Lead
ScanIntersections INFO  -100 -200 12989.3 lvSteelSheetWithHole2Right_11 Calo steel
ScanIntersections INFO  -100 -200 12999.2 lvPlugSupportRight_1 Calo Lead
ScanIntersections INFO  -100 -200 13234.3 lvSteelSheetWithHole1Right_10 Calo steel
ScanIntersections INFO  -100 -200 13244.2 lvPlugSupportRight_1 Calo Lead
ScanIntersections INFO  -100 -200 13334.3 lvSteelSheetWithHole1Right_9 Calo steel
ScanIntersections INFO  -100 -200 13344.2 lvPlugSupportRight_1 Calo Lead
ScanIntersections INFO  -100 -200 13344.3 lvDownstreamRegion_4 Air
ScanIntersections INFO  -100 -200 13379.3 lvPlugSupportRight_0 Calo Lead
ScanIntersections INFO  -100 -200 13379.3 lvSteelSheetWithHole2R_7 Calo steel
ScanIntersections INFO  -100 -200 13389.2 lvPlugSupportRight_0 Calo Lead
ScanIntersections INFO  -100 -200 13489.3 lvSteelSheetWithHole1R_6 Calo steel
ScanIntersections INFO  -100 -200 13499.2 lvPlugSupportRight_0 Calo Lead
ScanIntersections INFO  -100 -200 14004.3 lvSteelSheetWithHole1R_5 Calo steel
ScanIntersections INFO  -100 -200 14014.2 lvPlugSupportRight_0 Calo Lead
ScanIntersections INFO  -100 -200 14519.3 lvSteelSheetWithHole1R_4 Calo steel
ScanIntersections INFO  -100 -200 14529.2 lvPlugSupportRight_0 Calo Lead
ScanIntersections INFO  -100 -200 15000 lvPlugSupportRight_0 Calo Lead
Edited by Ben Couturier

Merge request reports

Loading