@@ -24,15 +24,15 @@ NPLib is the core of the NPTool package, holding most of the actual code. It is
...
@@ -24,15 +24,15 @@ NPLib is the core of the NPTool package, holding most of the actual code. It is
>source /path/to/nptool/nptool.sh
>source /path/to/nptool/nptool.sh
Restart your terminal. You should now have all aliases and environment variable properly defined and can now access the NPLib folder by using the command:
Restart your terminal. You should now have all aliases and environment variable properly defined and can now access the NPLib folder by using the command:
NPL
> NPL
and you should be in the NPLib directory.
and you should be in the NPLib directory.
Before the compilation of the libraries you need to specify the detector you plan to use by calling the configure script. If you give no argument to configure, all detector will be compile. If you wish to limit the number of detector to be compiled, simply specify the detector name in lowercase (e.g. MUST2 -> must2). You can specify more than one detector:
Before the compilation of the libraries you need to specify the detector you plan to use by calling the configure script. If you give no argument to configure, all detector will be compile. If you wish to limit the number of detector to be compiled, simply specify the detector name in lowercase (e.g. MUST2 -> must2). You can specify more than one detector:
>./configure must2 sharc plastic riken
>./configure must2 sharc plastic riken
Then you can compile NPLib by calling
Then you can compile NPLib by calling
>make -jn
>make -jn
where n is the number of core to be used in the compilation.
where n is the number of core to be used in the compilation.
...
@@ -43,11 +43,11 @@ Depending on the existence of the .rootlogon.C file in your home directory, the
...
@@ -43,11 +43,11 @@ Depending on the existence of the .rootlogon.C file in your home directory, the
###Building NPSimulation
###Building NPSimulation
This part of the package rely on Geant4 to perform Monte Carlo simulation. You need to first compile and configure correctly NPLib in order for NPSimulation to compile and run. The compilation is done as follow:
This part of the package rely on Geant4 to perform Monte Carlo simulation. You need to first compile and configure correctly NPLib in order for NPSimulation to compile and run. The compilation is done as follow:
>NPS
>NPS
>make -jn
>make -jn
This should produce the NPSimulation executable, you can check this by running the help display
This should produce the NPSimulation executable, you can check this by running the help display