Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
eic_tutorial
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
EIC
tutorials
eic_tutorial
Commits
5fd61df5
Commit
5fd61df5
authored
3 years ago
by
Whitney Armstrong
Browse files
Options
Downloads
Patches
Plain Diff
x# modified: src/docs/part1/simple_detector.md
parent
378d73fe
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/docs/part1/simple_detector.md
+10
-13
10 additions, 13 deletions
src/docs/part1/simple_detector.md
with
10 additions
and
13 deletions
src/docs/part1/simple_detector.md
+
10
−
13
View file @
5fd61df5
...
@@ -40,6 +40,7 @@ dd_web_display --export gem_tracker.xml
...
@@ -40,6 +40,7 @@ dd_web_display --export gem_tracker.xml
Copy the generated file
`detector_geometry.root`
to your local machine.
Copy the generated file
`detector_geometry.root`
to your local machine.
Then open the
[
web viewer
](
https://eic.phy.anl.gov/geoviewer/
)
, click on the
`...`
and open the local root file.
Then open the
[
web viewer
](
https://eic.phy.anl.gov/geoviewer/
)
, click on the
`...`
and open the local root file.
Examine the compact description, specifically this part:
```
xml
```
xml
<detector
id=
"2"
name=
"GEMTracker"
vis=
"RedVis"
type=
"my_GEMTracker"
readout=
"GEMTrackerHits"
>
<detector
id=
"2"
name=
"GEMTracker"
vis=
"RedVis"
type=
"my_GEMTracker"
readout=
"GEMTrackerHits"
>
...
@@ -54,12 +55,10 @@ Then open the [web viewer](https://eic.phy.anl.gov/geoviewer/), click on the `..
...
@@ -54,12 +55,10 @@ Then open the [web viewer](https://eic.phy.anl.gov/geoviewer/), click on the `..
</detector>
</detector>
```
```
## Run the geant4 simulation
## Run the geant4 simulation
```
bash
```
bash
dd
sim
--runType
run
--enableG4GPS
\
np
sim
--runType
run
--enableG4GPS
\
--macroFile
gps.mac
\
--macroFile
gps.mac
\
--compactFile
./gem_tracker.xml
\
--compactFile
./gem_tracker.xml
\
--outputFile
gem_tracker_sim.root
--outputFile
gem_tracker_sim.root
...
@@ -70,20 +69,18 @@ The output will be a root file containing the generated events and GEM tracker h
...
@@ -70,20 +69,18 @@ The output will be a root file containing the generated events and GEM tracker h
See the
[
GPS Documentation
](
http://www.fe.infn.it/u/paterno/Geant4_tutorial/slides_further/GPS/GPS.pdf
)
for more information.
See the
[
GPS Documentation
](
http://www.fe.infn.it/u/paterno/Geant4_tutorial/slides_further/GPS/GPS.pdf
)
for more information.
## Looking at the data
## Digitization
First, the data model used by npsim is described here
https://eic.phy.anl.gov/eicd/
```
bash
root
-b
-q
example_digi.cxx+
```

##
Channel/Cell Size
##
Hit position
```
bash
```
bash
root
-b
-q
example_cell_size
.cxx
+
root
-b
-q
scripts/tutorial1_hit_position
.cxx
# note if this fails because of ACLiC, run it again. This is a root bug.
```
```

Look at the generated file in results

This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment