Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
irt
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
irt
Commits
ec1a1a06
Commit
ec1a1a06
authored
3 years ago
by
Alexander Kiselev
Browse files
Options
Downloads
Patches
Plain Diff
Work in progress changes to IRT code
parent
1116b500
Branches
Branches containing commit
No related tags found
1 merge request
!8
merge integration development branch `irt-init-v02`
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+5
-24
5 additions, 24 deletions
README.md
testIRT.py
+12
-7
12 additions, 7 deletions
testIRT.py
with
17 additions
and
31 deletions
README.md
+
5
−
24
View file @
ec1a1a06
...
@@ -83,7 +83,7 @@ block by block.
...
@@ -83,7 +83,7 @@ block by block.
unset ATHENA_PREFIX
unset ATHENA_PREFIX
# Install "athena" detector description (at least the materials are needed);
# Install "athena" detector description (at least the materials are needed);
git clone https://eicweb.phy.anl.gov/EIC/detectors/athena.git
git clone https://eicweb.phy.anl.gov/EIC/detectors/athena.git
--branch irt-init-v01
cd athena && mkdir build && cd build
cd athena && mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/tmp/ATHENA ..
cmake -DCMAKE_INSTALL_PREFIX=/tmp/ATHENA ..
make -j2 install
make -j2 install
...
@@ -95,9 +95,9 @@ cd ip6 && mkdir build && cd build
...
@@ -95,9 +95,9 @@ cd ip6 && mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/tmp/ATHENA ..
cmake -DCMAKE_INSTALL_PREFIX=/tmp/ATHENA ..
make -j2 install
make -j2 install
# Install a particular branch of the EIC data model
(will become master soon)
;
# Install a particular branch of the EIC data model;
cd /tmp/ATHENA
cd /tmp/ATHENA
git clone https://eicweb.phy.anl.gov/EIC/eicd.git --branch
ayk-
01
git clone https://eicweb.phy.anl.gov/EIC/eicd.git --branch
irt-init-v
01
cd eicd && mkdir build && cd build
cd eicd && mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/tmp/ATHENA ..
cmake -DCMAKE_INSTALL_PREFIX=/tmp/ATHENA ..
make -j2 install
make -j2 install
...
@@ -113,7 +113,7 @@ Installation
...
@@ -113,7 +113,7 @@ Installation
```
```
cd /tmp/ATHENA
cd /tmp/ATHENA
git clone https://eicweb.phy.anl.gov/EIC/irt.git --branch
ayk-
01
git clone https://eicweb.phy.anl.gov/EIC/irt.git --branch
irt-init-v
01
cd irt && mkdir build && cd build
cd irt && mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/tmp/ATHENA -DEVALUATION=YES ..
cmake -DCMAKE_INSTALL_PREFIX=/tmp/ATHENA -DEVALUATION=YES ..
make -j2 install
make -j2 install
...
@@ -128,25 +128,6 @@ IRT library in application to a basic ATHENA e-endcap proximity focusing aerogel
...
@@ -128,25 +128,6 @@ IRT library in application to a basic ATHENA e-endcap proximity focusing aerogel
<br/>
<br/>
eRICH example configuration
---------------------------
See
[
ERich_geo.cpp
](
detectors/src/ERich_geo.cpp
)
for a simple API example, in particular the calls
which define gas volume and aerogel radiators, as well as the photosensor geometry.
The following will compile libathena.so plugin with e(d)RICH detectors only. Be aware that it will
overwrite /tmp/ATHENA/lib/libathena.so installed earlier.
```
export LD_LIBRARY_PATH=/tmp/ATHENA/lib:${LD_LIBRARY_PATH}
cd /tmp/ATHENA/irt/detectors && mkdir -p build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/tmp/ATHENA -DIRT=/tmp/ATHENA ..
make -j2 install
```
<br/>
Simulation pass
Simulation pass
---------------
---------------
...
@@ -193,7 +174,7 @@ Juggler reconstruction pass
...
@@ -193,7 +174,7 @@ Juggler reconstruction pass
```
```
cd /tmp/ATHENA
cd /tmp/ATHENA
git clone https://eicweb.phy.anl.gov/EIC/juggler.git --branch
ayk-
01
git clone https://eicweb.phy.anl.gov/EIC/juggler.git --branch
irt-init-v
01
cd juggler && mkdir build && cd build
cd juggler && mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=/tmp/ATHENA ..
cmake -DCMAKE_INSTALL_PREFIX=/tmp/ATHENA ..
...
...
This diff is collapsed.
Click to expand it.
testIRT.py
+
12
−
7
View file @
ec1a1a06
...
@@ -30,9 +30,13 @@ qe_data = [
...
@@ -30,9 +30,13 @@ qe_data = [
(
850
,
0.06
),
(
850
,
0.06
),
(
900
,
0.04
)
(
900
,
0.04
)
]
]
qe_30
=
[
(
350
,
0.30
),
(
900
,
0.30
)
]
radiators
=
[
radiators
=
[
"
Aerogel zbins=
5
smearing=uniform 3mrad
"
"
Aerogel zbins=
1
smearing=uniform 3mrad
"
]
]
podioinput
=
PodioInput
(
podioinput
=
PodioInput
(
...
@@ -45,16 +49,17 @@ podioinput = PodioInput(
...
@@ -45,16 +49,17 @@ podioinput = PodioInput(
irtrec
=
IRTAlgorithm
(
irtrec
=
IRTAlgorithm
(
# Input collections: MC truth tracks and eRICH raw hits (photons);
# Input collections: MC truth tracks and eRICH raw hits (photons);
inputMCParticles
=
"
mcparticles
"
,
inputMCParticles
=
"
mcparticles
"
,
#inputHitCollection="ERICHHits",
# Output collection: eRICH PID decisions;
#Detector="ERICH",
#outputCherenkovPID="ERICHPID",
# SiPM QE and geometric efficiency; FIXME: units.eV coefficient gives extra x1000 (?);
# SiPM QE and geometric efficiency; FIXME: units.eV coefficient gives extra x1000 (?);
QEcurve
=
[
((
1239.84
/
a
),
b
)
for
a
,
b
in
qe_data
],
QEcurve
=
[
((
1239.84
/
a
),
b
)
for
a
,
b
in
qe_data
],
GeometricEfficiency
=
"
0.85
"
,
#GeometricEfficiency="0.85",
#QEcurve=[ ((1239.84/a), b) for a, b in qe_30 ],
GeometricEfficiency
=
"
1.00
"
,
# Rebin the QE in that many equidistant bins;
# Rebin the QE in that many equidistant bins;
QEbins
=
"
100
"
,
#QEbins="100",
QEbins
=
"
2
"
,
# eRICH optics configuration produced by ERich_geo.cpp code along with the dd4hep XML file;
# eRICH optics configuration produced by ERich_geo.cpp code along with the dd4hep XML file;
ConfigFile
=
"
erich-config.root
"
,
ConfigFile
=
"
erich-config.root
"
,
...
@@ -69,7 +74,7 @@ ApplicationMgr(
...
@@ -69,7 +74,7 @@ ApplicationMgr(
TopAlg
=
[
podioinput
,
irtrec
,
out
],
TopAlg
=
[
podioinput
,
irtrec
,
out
],
EvtSel
=
'
NONE
'
,
EvtSel
=
'
NONE
'
,
# Process that many events;
# Process that many events;
EvtMax
=
1
00
,
EvtMax
=
5
00
,
ExtSvc
=
[
podioevent
],
ExtSvc
=
[
podioevent
],
OutputLevel
=
DEBUG
,
OutputLevel
=
DEBUG
,
PluginDebugLevel
=
2
PluginDebugLevel
=
2
...
...
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