6 @brief configuration for the min bias monitoring
8 from TrigMinBiasMonitoring.TrigMBTSMonitoringMT
import TrigMBTS
9 from TrigMinBiasMonitoring.TrigSPTRKMonitoringMT
import TrigSPTRK
10 from TrigMinBiasMonitoring.TrigMinBiasEffMonitoring
import TrigMinBiasEff
11 from TrigMinBiasMonitoring.TrigAFPSidHypoMonitoring
import TrigAFPSidHypoMonitoring
12 from TrigMinBiasMonitoring.TrigFwdAFPMonitoring
import TrigFwdAFPAllMonitoringCfg
13 from TrigMinBiasMonitoring.TrigFwdZDCMonitoring
import TrigFwdZDCMonitoringAlg
14 from TrigMinBiasMonitoring.TrigHIMonitoringMT
import TrigHIMonCfg
15 from TrigMinBiasMonitoring.TrigTRTMonitoring
import TrigTRTMonCfg
17 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
18 from AthenaConfiguration.Enums
import BeamType
19 from AthenaMonitoring.DQConfigFlags
import DQDataType
24 if flags.Beam.Type
is not BeamType.Cosmics:
29 if flags.DQ.DataType
is DQDataType.HeavyIon:
36 if __name__ ==
"__main__":
37 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
40 flags.DQ.Environment =
"AOD"
41 flags.Output.HISTFileName =
'TestMinBiasMonitorOutput.root'
42 from AthenaConfiguration.TestDefaults
import defaultTestFiles
44 flags.Input.Files = defaultTestFiles.AOD_RUN3_DATA
45 flags.Exec.MaxEvents = -1
50 from AthenaConfiguration.MainServicesConfig
import MainServicesCfg
51 from AthenaPoolCnvSvc.PoolReadConfig
import PoolReadCfg
57 with open(
"cfg.pkl",
"wb")
as f:
61 if status.isFailure():