diff --git a/Benchmarks/cats/ShowResults.C b/Benchmarks/cats/ShowResults.C index d2a3412b22066c6ae9ac295ba1be4eb83896ea33..221f9bcea0b8e386bf467fb0af61c1cbef3d8d55 100644 --- a/Benchmarks/cats/ShowResults.C +++ b/Benchmarks/cats/ShowResults.C @@ -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); diff --git a/Benchmarks/cats/cats_ref.png b/Benchmarks/cats/cats_ref.png new file mode 100644 index 0000000000000000000000000000000000000000..abbece1d0973e9f787e519772e730e7fe8f83afe Binary files /dev/null and b/Benchmarks/cats/cats_ref.png differ diff --git a/README/README.BENCHMARKS.md b/README/README.BENCHMARKS.md index 986f6b2a957b6d478ed631e50610748e1e0ece3d..2f015bd6fbfce5c8e71b5c329fafcdd2e7ffd81d 100644 --- a/README/README.BENCHMARKS.md +++ b/README/README.BENCHMARKS.md @@ -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. - - +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. + +