This package provides some tools that allow for an easy usage of the PrEW
package.
- Make sure you installed
PrEW
(preferably in a directory next to this one). This is essential becausePrEWUtils
depends on bothPrEW
and the packages used within it. - Make sure your software is up-to-date (ROOT, gcc, cmake, ...) or load using macro (only on NAF):
cd macros && source load_env.sh && cd ..
- Compile the code:
cd macros && chmod u+x compile.sh && ./compile.sh && cd ..
The compilation can also be done in multithreaded mode using ./compile.sh --jobs=N_jobs
.
If for some reason you want to change the source code and want to completely recompile this can be done with in the macro
directory using ./compile.sh --rebuild [--jobs=N_jobs]
.
The core idea of the package is to supply two kinds of classes: setups and runners.
Setup classes provide an interface to tell PrEW the input and the instructions on how to form a proper fit with this input.
Runner classes provide an interface for performing the actual PrEW
fit with a given setup.
The PrEWRunExample
repository demonstrates how to use PrEWUtils
.