diff --git a/src/docs/getting-started/quickstart.mdx b/src/docs/getting-started/quickstart.mdx index 25b480c7d74ecb8a1e4a8c597e0a8656627108c3..58427ff3f996ab17481e1bc45ac1b0c4a90f8bb0 100644 --- a/src/docs/getting-started/quickstart.mdx +++ b/src/docs/getting-started/quickstart.mdx @@ -62,7 +62,7 @@ Later on, we will com back to these detector repositories. Before moving on to part 1, let's generate the geometry in a root file: -``` +```bash cd athena dd_web_display --export athena.xml ``` @@ -73,7 +73,6 @@ Then open the [web viewer](https://eic.phy.anl.gov/geoviewer/), click on the `.. Or if you want to skip this just [click here to view the latest detector](https://eic.phy.anl.gov/geoviewer/index.htm?file=https://eicweb.phy.anl.gov/api/v4/projects/473/jobs/artifacts/master/raw/geo/detector_geo_full.root?job=report&item=default;1&opt=clipxyz;transp30;zoom75;ROTY290;ROTZ350;trz0;trr0;ctrl;all&). -In your browser diff --git a/src/docs/part1/simple_detector.md b/src/docs/part1/simple_detector.md index afb409b5d358714f6a3f9b3d2e6ba96e6d41ebab..6b07a357daff3728a59af401c1c05adb22946563 100644 --- a/src/docs/part1/simple_detector.md +++ b/src/docs/part1/simple_detector.md @@ -25,7 +25,7 @@ directories named compact (but not always). ## Compile the detector library -``` +```bash mkdir build cmake ../. -DCMAKE_INSTALL_PREFIX=../../local make -j4 install @@ -34,7 +34,7 @@ make -j4 install ## Look at geometry -``` +```bash dd_web_display --export gem_tracker.xml ``` Copy the generated file `detector_geometry.root` to your local machine. @@ -42,16 +42,16 @@ Then open the [web viewer](https://eic.phy.anl.gov/geoviewer/), click on the `.. ```xml - <detector id="2" name="GEMTracker" vis="RedVis" type="my_GEMTracker" readout="GEMTrackerHits" > - <layer id="1" z="-100 *cm" inner_r="40*cm" outer_r="120*cm" phi0_offset="0.0*deg" /> - <layer id="2" z="-80 *cm" inner_r="30*cm" outer_r="90*cm" phi0_offset="0.0*deg" /> - <layer id="3" z="-60 *cm" inner_r="20*cm" outer_r="70*cm" phi0_offset="0.0*deg" /> - <layer id="4" z="-40 *cm" inner_r="20*cm" outer_r="50.0*cm" phi0_offset="0.0*deg" /> - <layer id="5" z=" 40 *cm" inner_r="20*cm" outer_r="50.0*cm" phi0_offset="0.0*deg" /> - <layer id="6" z=" 60 *cm" inner_r="25*cm" outer_r="70.0*cm" phi0_offset="0.0*deg" /> - <layer id="7" z=" 80 *cm" inner_r="30*cm" outer_r="90.0*cm" phi0_offset="0.0*deg" /> - <layer id="8" z="100 *cm" inner_r="40*cm" outer_r="100.0*cm" phi0_offset="0.0*deg" /> - </detector> +<detector id="2" name="GEMTracker" vis="RedVis" type="my_GEMTracker" readout="GEMTrackerHits" > + <layer id="1" z="-100 *cm" inner_r="40*cm" outer_r="120*cm" phi0_offset="0.0*deg" /> + <layer id="2" z="-80 *cm" inner_r="30*cm" outer_r="90*cm" phi0_offset="0.0*deg" /> + <layer id="3" z="-60 *cm" inner_r="20*cm" outer_r="70*cm" phi0_offset="0.0*deg" /> + <layer id="4" z="-40 *cm" inner_r="20*cm" outer_r="50.0*cm" phi0_offset="0.0*deg" /> + <layer id="5" z=" 40 *cm" inner_r="20*cm" outer_r="50.0*cm" phi0_offset="0.0*deg" /> + <layer id="6" z=" 60 *cm" inner_r="25*cm" outer_r="70.0*cm" phi0_offset="0.0*deg" /> + <layer id="7" z=" 80 *cm" inner_r="30*cm" outer_r="90.0*cm" phi0_offset="0.0*deg" /> + <layer id="8" z="100 *cm" inner_r="40*cm" outer_r="100.0*cm" phi0_offset="0.0*deg" /> +</detector> ```