Skip to content
Snippets Groups Projects
Commit 5d81dd27 authored by Whitney Armstrong's avatar Whitney Armstrong
Browse files

modified: ../config/sidebar.yml

	modified:   getting-started/quickstart.mdx
	modified:   part1/simple_detector.md
parent 9ee7ebe5
Branches
No related tags found
No related merge requests found
Pipeline #10122 passed
......@@ -36,6 +36,8 @@
link: 'https://github.com/AIDASoft/DD4hep/blob/master/DDCore/include/XML/UnicodeValues.h'
- label: 'NPdet Documenation'
link: 'https://eic.phy.anl.gov/npdet/'
- label: 'eicd - EIC Data Model'
link: 'https://eic.phy.anl.gov/eicd/'
- label: 'Links'
link: '/links'
#- label: Usage
......
......@@ -13,14 +13,11 @@ The programmer is assumed to be familiar with
This tutorial requires that [singularity](singularity) is installed
on the local system.
Singularity can be downloaded by going to
https://sylabs.io/guides/3.7/user-guide/quick_start.html , with 3.7 being the
Singularity can be [downloaded here](https://sylabs.io/guides/3.7/user-guide/quick_start.html) -- 3.7 being the
most recent version as of January 2021.
## The EIC Software Container
### Step 1: Create a local directory that you want to work in, e.g., `~/eic`
```bash
mkdir ~/eic
......@@ -70,7 +67,8 @@ dd_web_display --export athena.xml
This will generate the file `detector_geometry.root`, which you should copy to your local machine.
Then open the [web viewer](https://eic.phy.anl.gov/geoviewer/), click on the `...` and open the local root file.
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&).
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&).
......
......@@ -150,7 +150,7 @@ At the top of the script you can see these lines:
dd4hep::rec::CellIDPositionConverter cellid_converter(detector);
```
This
- gets the DD4hep instance
- gets the main [DD4hep Detector](https://dd4hep.web.cern.ch/dd4hep/reference/classdd4hep_1_1Detector.html) instance
- loads the compact detector file
- initializes the [position converter tool](https://dd4hep.web.cern.ch/dd4hep/reference/classdd4hep_1_1rec_1_1CellIDPositionConverter.html) (which provides thread safe access)
......@@ -165,14 +165,13 @@ Later on you can see its use:
root -b -q scripts/tutorial2_cell_size.cxx+
```
[You](You) will see this:
You will see this:
```bash
...
Segmentation-Cell Position : 39,102,-100
dim 1, 3,
```
### Id Specification
```bash
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment