Skip to content

Commit 4ea2b03

Browse files
committed
add language specification for bash commands in ReadMe
1 parent 9041445 commit 4ea2b03

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

PWGHF/D2H/Macros/README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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
1414
The `runMassFitter.C` can be compiled as ROOT macro.
15-
```
15+
```bash
1616
cd path-to-o2physics-src/PWGHF/D2H/Macros
1717
source path-to-root-install/bin/thisroot.sh
1818
export 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
2424
It is also possible to compile the fitter as a CMake project or insert it into existing one if any.
2525
Use the `CMakeLists_HFInvMassFitter.txt` (rename it into `CMakeLists.txt` before usage).\
2626
Compile the fitter with the following steps:
27-
```
27+
```bash
2828
cd path-to-o2physics-src/PWGHF/D2H/Macros
2929
mkdir build
3030
cd build
@@ -33,12 +33,12 @@ cmake -DHFFITTER_RAPIDJSON_INCLUDE_DIRS=path-to-json-include ../
3333
make
3434
```
3535
and run the fitter:
36-
```
36+
```bash
3737
./runMassFitter ../config_massfitter.json
3838
```
3939
### Directly from the terminal
4040
Compile the fitter with the following steps:
41-
```
41+
```bash
4242
cd path-to-o2physics-src/PWGHF/D2H/Macros
4343
mkdir build
4444
cd build
@@ -54,6 +54,6 @@ g++ -fPIC -I$(root-config --incdir) -I path-to-json-include -c ../HFInvMassFitte
5454
g++ -o runMassFitter HFInvMassFitter.o runMassFitter.o G__HFInvMassFitter.o $(root-config --libs) -lRooFit -lRooFitCore -lEG
5555
```
5656
and run the fitter:
57-
```
57+
```bash
5858
./runMassFitter ../config_massfitter.json
5959
```

0 commit comments

Comments
 (0)