Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
nptool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
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
np
nptool
Commits
7feefc18
Commit
7feefc18
authored
9 years ago
by
de Séréville Nicolas
Browse files
Options
Downloads
Patches
Plain Diff
+ Update README and fix but in ShowResults.C
parent
79e56b7d
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Benchmarks/cats/ShowResults.C
+2
-2
2 additions, 2 deletions
Benchmarks/cats/ShowResults.C
Benchmarks/cats/cats_ref.png
+0
-0
0 additions, 0 deletions
Benchmarks/cats/cats_ref.png
README/README.BENCHMARKS.md
+43
-15
43 additions, 15 deletions
README/README.BENCHMARKS.md
with
45 additions
and
17 deletions
Benchmarks/cats/ShowResults.C
+
2
−
2
View file @
7feefc18
...
...
@@ -25,9 +25,9 @@ void ShowResults()
TH1
*
ho
=
(
TH1
*
)
gDirectory
->
FindObjectAny
(
"h"
);
ho
->
GetXaxis
()
->
SetTitle
(
"X (mm)"
);
ho
->
GetYaxis
()
->
SetTitle
(
"Y (mm)"
);
gPad
->
SaveAs
(
"cats_ref.png"
);
//
gPad->SaveAs("cats_ref.png");
TLatex
*
texO
=
new
TLatex
(
-
17
.
5
,
22
,
"Obtained"
);
//
texO->Draw();
texO
->
Draw
();
// draw results from reference result
c1
->
cd
(
2
);
...
...
This diff is collapsed.
Click to expand it.
Benchmarks/cats/cats_ref.png
0 → 100644
+
0
−
0
View file @
7feefc18
17.6 KiB
This diff is collapsed.
Click to expand it.
README/README.BENCHMARKS.md
+
43
−
15
View file @
7feefc18
...
...
@@ -27,7 +27,6 @@ functionalities of NPTool's framework.
## Prerequisities
You need to download additional files to be able to run the benchmarks. In the
$NPTOOL directory, do the following:
```
$ git clone https://github.com/adrien-matta/NPData
...
...
@@ -36,10 +35,12 @@ $ git clone https://github.com/adrien-matta/NPData
## CATS: a multi-wire low-pressure tracking system
CATS consists of two low pressure multi-wire proportional chambers with one plane
of anode wires placed between two cathode planes, respectively segmented into 28
vertical or horizontal strips
\c
ite{Ott99}. It was designed to provide
event-by-event particle tracking in experiments with radioactive beams at GANIL.
[
CATS
](
http://www.sciencedirect.com/science/article/pii/S0168900299003800
"S. Ottini-Hustache et al., NIMA 431(3), 476-484 (1999)"
)
consists of two low pressure multi-wire proportional chambers with one plane
of anode wires placed between two cathode planes, respectively segmented into
28 vertical or horizontal strips. It was designed to provide event-by-event
particle tracking in experiments with radioactive beams at GANIL.
The benchmark can be run from the $NPTOOL/Benchmarks/cats directory with the
following command:
...
...
@@ -49,23 +50,50 @@ $ npanalysis -D benchmark_cats.detector -C calibration.txt -R RunToTreat.txt -O
To display the results run the command:
```
$ root -l ShowResult.C
$ root -l ShowResult
s
.C
```
Alternatively to the two previous commands, you can run the
`benchmark_cats.sh`
script which runs the analysis and display the results.

script which will run the analysis and display the results.
Experimental data for the present benchmark comes from the interaction of a
<sup>
58
</sup>
Ni ion beam at 75 MeV/u in a CATS detector. A mask with a known
pattern was inserted in front of it in order to calibrate the position
reconstruction. Results that should be obtained when running the benchmark
are shown in Fig.~
\r
ef{f:cats}. The mask pattern including circular holes of
different diameters is clearly observed.
Aside from testing the position reconstruction for the CATS
detector, this benchmark validates the calibration manager facility and the
_npanalysis_
utility.
reconstruction.
The results that you should obtain are shown in the following Figure, where
the mask pattern including circular holes of different diameters is clearly
observed.
<img
src=
"../Benchmarks/cats/cats_ref.png"
width=
"384"
>
Aside from testing the position reconstruction for the CATS detector, this
benchmark validates the calibration manager facility and the _npanalysis_
utility.
### GASPARD: a silicon array for particle spectroscopy
[
GASPARD
](
http://www.sciencedirect.com/science/article/pii/S0168583X13006113
"D. Beaumel, NIMB 317, 661-663 (2013)"
)
aims to be a next generation silicon
array with a coverage close to 4pi which can be completely integrated
with new generation gamma-ray detectors such as
[
AGATA
](
http://iopscience.iop.org/article/10.1088/1742-6596/606/1/012017/pdf
"J. Simpson et al., J. Phys.: Conf. Ser., 606, 012017 (2015)"
)
or
[
PARIS
](
http://www.actaphys.uj.edu.pl/fulltext?series=Reg&vol=40&page=565
"A. Maj et al., Acta Physica Polonica B40, 565 (2009)"
)
. While the physics
case tackled by GASPARD is broad, it has been designed having in mind the
study of nuclear structure by direct reactions.
The benchmark can be run from the $NPTOOL/Benchmarks/gaspard directory with the
following command:
```
$ npsimulation -D benchmark_gaspard.detector -E 132Sndp_benchmark.reaction -O benchmark_gaspard -B batch.mac
```
To display the results run the command:
```
$ root -l ShowResults.C
```
Alternatively to the two previous commands, you can run the
`benchmark_gaspard.sh`
script which will run the Monte Carlo simulation and display the 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