diff --git a/4-full-detector-sim/FCCeeGeneralOverview/FCCeeGeneralOverview.md b/4-full-detector-sim/FCCeeGeneralOverview/FCCeeGeneralOverview.md index e5d766e58..cc849464e 100644 --- a/4-full-detector-sim/FCCeeGeneralOverview/FCCeeGeneralOverview.md +++ b/4-full-detector-sim/FCCeeGeneralOverview/FCCeeGeneralOverview.md @@ -369,13 +369,10 @@ events->Draw("DCHCollection.eDep/DCHCollection.pathLength", "DCHCollection.eDep/ Displaying detector geometries is very useful to understand what is actually being simulated without having to enter the code. One example of tool (out of many) is described here, chosen for its simplicity together with the particular feature of hosting the needed data locally, leading to smooth performance of the visualization. -Let's first generate the files containing the geometry that will be used by the display tool. +With the key4hep software stack sourced, let's first generate the files containing the geometry that will be used by the display tool. ```bash -cd ../../.. -wget https://raw.githubusercontent.com/key4hep/k4geo/main/utils/dd4hep2root.py -chmod +x dd4hep2root.py -./dd4hep2root.py -c $K4GEO/FCCee/CLD/compact/CLD_o2_v07/CLD_o2_v07.xml -o CLD_o2_v07_geom.root +dd4hep2root -c $K4GEO/FCCee/CLD/compact/CLD_o2_v07/CLD_o2_v07.xml -o CLD_o2_v07_geom.root echo $PWD/CLD_o2_v07_geom.root ``` diff --git a/4-full-detector-sim/Visualization/Visualization.md b/4-full-detector-sim/Visualization/Visualization.md index 30a6c4d06..5a43ec41d 100644 --- a/4-full-detector-sim/Visualization/Visualization.md +++ b/4-full-detector-sim/Visualization/Visualization.md @@ -236,18 +236,9 @@ ROOT.gGeoManager.SetVisOption(0) ROOT.gGeoManager.Export(out_path) ``` -We will try to convert FCCee Noble Liquid Calorimeter. On the remote machine -with FCCSW stack already sourced download the `dd4hep2root.py` script +We will try to convert FCCee Noble Liquid Calorimeter. On the remote machine, with key4hep stack already sourced run the conversion with ```sh -wget https://raw.githubusercontent.com/key4hep/k4geo/main/utils/dd4hep2root.py -``` -make it executable -```sh -chmod u+x dd4hep2root.py -``` -and run the conversion with -```sh -./dd4hep2root.py -c ${FCCDETECTORS}/Detector/DetFCCeeIDEA-LAr/compact/FCCee_DectEmptyMaster.xml \ +dd4hep2root -c ${FCCDETECTORS}/Detector/DetFCCeeIDEA-LAr/compact/FCCee_DectEmptyMaster.xml \ ${FCCDETECTORS}/Detector/DetFCCeeECalInclined/compact/FCCee_ECalBarrel.xml -o fccee_lar.root ```