HPS-MC
 
All Classes Namespaces Files Functions Variables Pages
Loading...
Searching...
No Matches
Tracking for Alignment

Note: This example uses a detector created by the misalignment example, so that must be run first.

  1. Edit list of input files
  2. Modify non-input-file variables
    • The current job input variables assume that the input files are 2019 MC and the detector was generated using the misalignment example.
  3. Generate JSON enumeration of all hps-mc jobs that need to be run
    hps-mc-job-template -j 1 -a vars.json -i events events.txt 1 job.json.templ jobs.json
  4. Submit generated jobs to batch computing
    hps-mc-batch slurm track_align jobs.json

Note on Steering File

The parameter outputFile is provided to the steering file as the basename of the first output file in the output_files dictionary. This is important to remember when writing the steering file.

Tip

Use the runnumber filter in your jinja2 template if the files are accessible on your filesystem. This allows for the template to deduce the run number for the non-alignment conditions automatically.

"run_number" : {{ job.input_files['events'][0] | runnumber }},

Instead of the manual run number.