Skip to content

Add HLT2 MagUp MC Test & remove default_conds files to ensure right conditions are set

Christoph Hasse requested to merge chasse-master-patch-57120 into master
  1. Create MagUp test and move current default inputs to a newer sim for which we have up and down polarity in TestFileDB

  2. Remove the default_conds_* files such that the conditions are correctly set at the same location that the input file is defined.

  3. I've added a function set_input_and_conds_from_testfiledb and adapted options and docs accordingly. I think in 99% of the cases or more you would want to use this function as you would call set_input_from_testfiledb and set_conds_from_testfiledb with the same arguments anyway.

The two CALO tests were actually incorrectly using default_conds.py which set wrong conditions for the input file these tests are using, so this might result in a slight change of references for these.

Additionally, I expect changes for the all old tests which use default_input_and_conds_hlt2.py as these are now using data from newer simulation.

cc @sstahl

Edited by Christoph Hasse

Merge request reports