Update 'Running the FCNC fitter'
parent
915509bc8f
commit
cd0a372b45
@ -1,4 +1,9 @@
|
||||
|
||||
## Table of Contents
|
||||
* [Running the FCNC fitter](#running-the-fcnc-fitter)
|
||||
* [Running standalone scripts](#running-standalone-scripts)
|
||||
* [Running jobs on condor](#running-jobs-on-condor)
|
||||
|
||||
# Running the FCNC fitter
|
||||
|
||||
The easiest way to run the FCNC fitter is to use the python wraper `run.py`. As the easiest way how to pass arguments to a C++ program is to use single letters, the python wrapper allows a nice quick conversion from running the cryptic C++ code
|
||||
@ -82,5 +87,20 @@ The mandatory parameters are -Run or -year, it will probably not crash immediate
|
||||
| -test \<test> | --test \<test> | Test parameter, used when testing some new functionality in development. When !=-1, verbosity automatically on debug. |
|
||||
|
||||
|
||||
# Helper scripts running
|
||||
**TODO**
|
||||
# Running standalone scripts
|
||||
The standalone scripts are saved in `sources/Scritps`. They can be ran using the file `RunningScripts.cc`. It is done by including the given header for your favorite script and then just call the function inside `runWhatever()`. This way, the mainfile does not need to know what script you use and does not have to be changed and recompiled all the time: only `RunningScripts` is then recompiled.
|
||||
|
||||
# Running jobs on condor
|
||||
Condor is installed at `lhcba1`. The submission file is called `runToysHD.sub`. In this file, the number of calls is specified. If I want to generate 500 toys, I set
|
||||
|
||||
```
|
||||
queue 500
|
||||
```
|
||||
|
||||
It calls `condor.sh`. In this file, the working directory is set (you need to set this by hand to fit your needs) and also the path to `job.sh`. In `job.sh`, the paht to the FCNCfitter executable needs to be set by hand. In this file, the executable is called with given options.
|
||||
|
||||
No, I also do not know why there is 20 files calling each other, but it works and I had no time to fix it, so there you go. Yes, it woudl be easier to have some automatic input with the options, but again, no time.
|
||||
|
||||
Since I haven't figured out a nice way how to force condor to save it's output organized in folders, there is a script called `cleanup.sh`. It moves the log, error report and outputfiles into neat folders. The name corresponds to the jobID (the number condor gives to the job). It cleans up after jobs specified in the loop inside `cleanup.sh`.
|
||||
|
||||
For readers convenience, python script that checks the condor output, `checkConvergence.py`, is included. It loops through the outputfiles and checks for failed Hesse and failed Squared Hesse. The script is not perfect and very quickly written, however it should work more or less.
|
||||
|
Loading…
Reference in New Issue
Block a user