Author: Toby Dixon ([email protected])
Use: source /software/LoadBat.sh This will load BAT, root etc.
The first step is a macro ConvolveMC.cxx
This will create the input file for BAT, the options are precised on the command line if compile with:
g++ macros/ConvolveMC.cxx -o ConvolveMC `root-config --cflags --glibs`
This will create an output file of {OUTPATH}/{NAME}_{RESOTYPE}_{MODEL}.root
used for the gA fit.
Note that the input file containing the resolution, bias etc must have been updated to include the range of efficiency curve parameters.
Inside:
Next you run the fit in gA_fit subdirectory, compile with make and then run: ./rungA_fit --help to see options.