Add HLT2 MagUp MC Test & remove default_conds files to ensure right conditions are set
-
Create MagUp test and move current default inputs to a newer sim for which we have up and down polarity in TestFileDB
-
Remove the
default_conds_*
files such that the conditions are correctly set at the same location that the input file is defined. -
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 callset_input_from_testfiledb
andset_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