File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ If you have O2Physics compilation you do not need to fulfill these dependencies
1212## How to run
1313### As a ROOT macro
1414The ` runMassFitter.C ` can be compiled as ROOT macro.
15- ```
15+ ``` bash
1616cd path-to-o2physics-src/PWGHF/D2H/Macros
1717source path-to-root-install/bin/thisroot.sh
1818export ROOT_INCLUDE_PATH=$ROOT_INCLUDE_PATH :path-to-json-include
@@ -24,7 +24,7 @@ If you have O2Physics compilation and enter into its environment there is no nee
2424It is also possible to compile the fitter as a CMake project or insert it into existing one if any.
2525Use the ` CMakeLists_HFInvMassFitter.txt ` (rename it into ` CMakeLists.txt ` before usage).\
2626Compile the fitter with the following steps:
27- ```
27+ ``` bash
2828cd path-to-o2physics-src/PWGHF/D2H/Macros
2929mkdir build
3030cd build
@@ -33,12 +33,12 @@ cmake -DHFFITTER_RAPIDJSON_INCLUDE_DIRS=path-to-json-include ../
3333make
3434```
3535and run the fitter:
36- ```
36+ ``` bash
3737./runMassFitter ../config_massfitter.json
3838```
3939### Directly from the terminal
4040Compile the fitter with the following steps:
41- ```
41+ ``` bash
4242cd path-to-o2physics-src/PWGHF/D2H/Macros
4343mkdir build
4444cd build
@@ -54,6 +54,6 @@ g++ -fPIC -I$(root-config --incdir) -I path-to-json-include -c ../HFInvMassFitte
5454g++ -o runMassFitter HFInvMassFitter.o runMassFitter.o G__HFInvMassFitter.o $( root-config --libs) -lRooFit -lRooFitCore -lEG
5555```
5656and run the fitter:
57- ```
57+ ``` bash
5858./runMassFitter ../config_massfitter.json
5959```
You can’t perform that action at this time.
0 commit comments