Parametrise signal MC jobOption
You must have a jobOption script to generate the signal events you would like to study. This repository stores ATLAS official MC jobOptions (accessible from ATLAS internal). Go and look for the one you want to perform active learning on, or ask your MC contact to provide it for you.
In the official jobOption file, values of some key parameters are defined in the file by hardcoding. For example in the DSID 503000 jobOption, the Higgs mass is set to 125 GeV by this line:
33parameters['MASS']={'25':'1.250000e+02'} #MH
It is not flexible if one wants to study different Higgs mass hypotheses via active learning.
Instead, one could replace this line by the following lines (note that either string or float is acceptable by the jobOption):
import os
parameters['MASS']={'25': float(os.environ['envMyHiggsMass'])}
So the job option is parametrised by the shell environment variable envMyHiggsMass.
This variable needs to be defined with proper values - you will learn how to do it in Workflow description in CWL.