Skip to content
Snippets Groups Projects
Commit 7feefc18 authored by de Séréville Nicolas's avatar de Séréville Nicolas
Browse files

+ Update README and fix but in ShowResults.C

parent 79e56b7d
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
Benchmarks/cats/cats_ref.png

17.6 KiB

......@@ -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 \cite{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 ShowResults.C
```
Alternatively to the two previous commands, you can run the `benchmark_cats.sh`
script which runs the analysis and display the results.
![essai](../Benchmarks/cats/cats_ref.png)
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.~\ref{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.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment