Setting up Athena with retagging, according to Valerio's recommendations.
-
Start from a new lxplus session.
-
Run
. setup.sh
.This will create an
athena
subdirectory and build the required packages. If anything goes wrong (i.e. the compilation will randomly segfault, the best known solution is to try again), you can rerun the build scripts from theathena
directory.If the
athena
directory already exists the environment will be set up but the build steps will be skipped. -
The Athena Job Options files will be linked under
athena/run
. Go there and runathena {jobOptions_tagdl1.py, jobOptions_tagbb.py, ...}
That's it.
This will get all the packages required to run retagging using the flavour tagging performance framework. The packages will automatically be compiled and the work area will be set up.
Several scripts are included in grid-submit-scripts
, the most
important being ftag-grid-sub.sh
. Run with -h
to get more
information.
The run
currently contains links to two sets of job options. Use
jobOptions_tagdl1.py
to run DL1 and single-b tagging,
jobOptions_tagbb.py
for double-b tagging.
Retagging will be switched on and an xAOD which can be used for a test run is defined in a public directory as well. The JO also define the number of events to run over with the argument given in
jp.AthenaCommonFlags.EvtMax.set_Value_and_Lock(10)
Setting the argument to -1
would corresponds to using all events in
the xAOD. The JOs currently set the number of events to 10. With the
current Athena settings it is also possible to switch to using a local
NN configuration file (in JSON format with special syntax!) that will
be used by DL1 by defining it.
The ROOT output file with retagged jets is stored as
$TestArea/run/flav_<jet collection name>.root
.
For feedback, contact me at marie.christine.lanfermann@cern.ch
.