5 from TrigExamples
import MTCalibPebConfig
6 from AthenaCommon.Logging
import logging
7 log = logging.getLogger(
'MTCalibPeb.py')
13 opts = dict(inspect.getmembers(inspect.stack()[1][0]))[
"f_globals"]
17 concurrent = opts.get(
'concurrent',
False)
19 num_chains = opts.get(
'num_chains', 3)
21 MTCalibPebConfig.default_options.UseRandomSeed = opts.get(
'UseRandomSeed',
False)
22 MTCalibPebConfig.default_options.RandomAcceptRate = opts.get(
'RandomAcceptRate', 0.01)
23 MTCalibPebConfig.default_options.BurnTimePerCycleMillisec = opts.get(
'BurnTimePerCycleMillisec', 20)
24 MTCalibPebConfig.default_options.NumBurnCycles = opts.get(
'NumBurnCycles', 10)
25 MTCalibPebConfig.default_options.BurnTimeRandomly = opts.get(
'BurnTimeRandomly',
True)
26 MTCalibPebConfig.default_options.Crunch = opts.get(
'Crunch',
False)
27 MTCalibPebConfig.default_options.CheckDataConsistency = opts.get(
'CheckDataConsistency',
False)
28 MTCalibPebConfig.default_options.ROBAccessDict = opts.get(
'ROBAccessDict', MTCalibPebConfig.rob_access_dict)
29 MTCalibPebConfig.default_options.TimeBetweenROBReqMillisec = opts.get(
'TimeBetweenROBReqMillisec', 0)
30 MTCalibPebConfig.default_options.PEBROBList = opts.get(
'PEBROBList', [])
31 MTCalibPebConfig.default_options.PEBSubDetList = opts.get(
'PEBSubDetList', [])
32 MTCalibPebConfig.default_options.CreateRandomData = opts.get(
'CreateRandomData', {})
33 MTCalibPebConfig.default_options.EnableL1CaloPhase1 = opts.get(
'EnableL1CaloPhase1',
False)
34 MTCalibPebConfig.default_options.EnableL1MuonPhase1 = opts.get(
'EnableL1MuonPhase1',
True)
35 MTCalibPebConfig.default_options.EnableL1CaloLegacy = opts.get(
'EnableL1CaloLegacy',
True)
41 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator