Update how to add the llsw model to basf authored by Max Welsch's avatar Max Welsch
......@@ -27,3 +27,22 @@ The FF files contain the form factors for the decays.
* now you have to replace the `belleEvtGenBase` and `belleEvtGenModels` directories with the one you find in `$BELLE_TOP_DIR/src/gen/evt`
* the next is to modify the Makefiles in `belleEvtGen*/`, `belleEvtGen*/belleEvtGen*/` and `belleEvtGen*/src/`. There you have to replace the variables `BELLE_CONFIG_DIR` and `BELLE_TOP_DIR` (or `BELLE_ROUTE`) according to your working directory.
* the last step before being able to compile the module is to copy the missing header files from `$BELLE_TOP_DIR`. If you are in the working directory `work/belle` you can use the following commands to get the necessary files:
```
cp $BELLE_TOP_DIR/inc/belle.h ./inc/
cp $BELLE_TOP_DIR/include/belle.h ./include/
cp $BELLE_TOP_DIR/src/config/belle.h ./src/config/
cp $BELLE_TOP_DIR/inc/belle-x86_64-unknown-linux-gnu-g++.h ./inc/
cp $BELLE_TOP_DIR/include/belle-x86_64-unknown-linux-gnu-g++.h ./include/
cp $BELLE_TOP_DIR/src/config/belle-x86_64-unknown-linux-gnu-g++.h ./src/config/
mkdir -p ./include/belleutil && cp $BELLE_TOP_DIR/include/belleutil/debugout.h ./include/belleutil/
mkdir -p ./src/util/belleutil/belleutil && cp $BELLE_TOP_DIR/src/util/belleutil/belleutil/debugout.h ./src/util/belleutil/belleutil/
cp -r $BELLE_TOP_DIR/include/belleCLHEP ./include/
cp -r $BELLE_TOP_DIR/src/util/belleCLHEP ./src/util/
```
If this list is not complete, please copy the missing header files from `$BELLE_TOP_DIR` according to the error messages.