Warning, /epic-lfhcal-tbana/README.md is written in an unsupported language. File is not indexed.
0001 # epic-lfhcal-tbana software repo
0002
0003 This software repo is meant to serve as basis for the test beam root based analysis of the LFHCal test beams and test beam setups.
0004 The repo contains the initial code used in 2023 under OldStructure & the newer version of the code under NewStructure <br>
0005
0006 A detailed introduction to this package in particular the NewStructure can be found [here](https://friederikebock.gitbook.io/epiclfhcaltb-ana)
0007 It is highly recommended to follow that guide.
0008
0009 Credit for the software development goes primarily to Vincent Andrieux (@vandrie), Tristan Protzman (@tlprotzman) and Friederike Bock (@FriederikeBock).
0010
0011 ## Compilation
0012 To build the software, we recommend using cMake.
0013 1) Make sure you have the latest version of the decoder `git pull --recurse-submodules`. If it is your first time using the submodule you should run `git submodule update --init --recursive`
0014
0015 Option 1:
0016 2) Set up the compilation in the same directory. From the `NewStructure` folder, run `cmake .`
0017 3) Compile the code with `make`
0018
0019 Option 2:
0020 2) Set up a dedicated build directory. From the `NewStructure` folder, run `cmake -B build .`
0021 3) Compile the code. Switch to the build directory with `cd build` and compile with `make`
0022
0023
0024 For convenience a linker script is provided, which can be used to recreate the software structure with soft links. Execute it in the directory where you would like to work after having added your user name and path to the software repo
0025
0026 ```console
0027 bash $PATHTOSCRIPT/prepareAnalysisDirectory.sh $USERNAME [new/old]
0028 ```