Skip to content
Snippets Groups Projects

Enable per mirror histograms in n-1 calibration tests

Merged Christopher Rob Jones requested to merge enable-per-mirror-hists-in-ref-calib-tests into master
Files
6
@@ -12,6 +12,7 @@
import multiprocessing
import os
from Configurables import Gaudi__Monitoring__MessageSvcSink as MessageSvcSink
from Gaudi.Configuration import DEBUG, INFO, VERBOSE
from GaudiKernel.SystemOfUnits import GeV
from Moore import options
@@ -39,9 +40,12 @@ options.n_threads = (
)
# options.n_threads = 1
evtsForQMT = 1000 if options.simulation else 5000
evtsForInt = 10000 if options.simulation else 50000
evtsForInt = 100000 if options.simulation else 5000000
options.evt_max = evtsForQMT if isQMTTest else evtsForInt
# Extend title and ID string size in output
MessageSvcSink().HistoStringsWidth = 80
# Is UT active in this task ?
noUT = "noUT" in myName
@@ -49,7 +53,7 @@ noUT = "noUT" in myName
ckFitForm = ["AsymNormal:FreeNPol"]
# Time between periodic calibrations
calibTime = 100000 if isQMTTest else 20
calibTime = 100000 if isQMTTest else 60
# calibTime = 100000
# Fit retry period
@@ -64,6 +68,7 @@ retryPeriod = 20 if isQMTTest else 1
do_moni = True
do_det_debug = not isQMTTest
do_mc_checking = options.simulation and do_moni
do_mirr_hists = True
# Create run by run histos in calibration algorithm
run_by_run_histos = False
@@ -125,6 +130,7 @@ with (
do_detector_debug=do_det_debug,
do_data_monitoring=do_moni,
do_mc_checking=do_mc_checking,
enable_mirror_hists=do_mirr_hists,
set_scale_factors_to_one=set_scale_to_one,
),
):
Loading