7 from AthenaMonitoring.DQConfigFlags
import DQDataType
8 from LArMonitoring.LArCollisionTimeMonAlg
import LArCollisionTimeMonConfig
9 from LArMonitoring.LArAffectedRegionsAlg
import LArAffectedRegionsConfig
10 from LArMonitoring.LArDigitMonAlg
import LArDigitMonConfig
11 from LArMonitoring.LArRODMonAlg
import LArRODMonConfig
12 from LArMonitoring.LArNoisyROMonAlg
import LArNoisyROMonConfig
13 from LArMonitoring.LArFEBMonAlg
import LArFEBMonConfig
14 from LArMonitoring.LArHVCorrMonAlg
import LArHVCorrMonConfig
15 from LArMonitoring.LArCoverageAlg
import LArCoverageConfig
16 from LArMonitoring.LArNoiseCorrelationMonAlg
import LArNoiseCorrelationMonConfig
19 from LArMonitoring.RecoPT_Phase1NewConfig
import LArDTMonitoringConfig
21 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
25 if inputFlags.DQ.Environment !=
'AOD':
26 if inputFlags.DQ.DataType
is not DQDataType.Cosmics:
27 from LumiBlockComps.BunchCrossingCondAlgConfig
import BunchCrossingCondAlgCfg
30 if not inputFlags.Input.isMC:
32 if 'online' not in inputFlags.DQ.Environment:
38 if inputFlags.DQ.Environment
in (
'online',
'tier0',
'tier0Raw'):
39 if not inputFlags.Input.isMC:
42 from LArConfiguration.LArConfigFlags
import RawChannelSource
43 if inputFlags.LAr.RawChannelSource != RawChannelSource.Calculated:
47 from AthenaConfiguration.Enums
import LHCPeriod
48 if inputFlags.GeoModel.Run > LHCPeriod.Run2:
57 if __name__==
'__main__':
59 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
61 from AthenaCommon.Logging
import log
66 from AthenaConfiguration.TestDefaults
import defaultTestFiles
67 flags.Input.Files = defaultTestFiles.RAW_RUN2
69 flags.Output.HISTFileName =
'LArMonitoringOutput.root'
70 flags.DQ.enableLumiAccess =
True
71 flags.DQ.useTrigger =
True
74 from CaloRec.CaloRecoConfig
import CaloRecoCfg
86 f=
open(
"LArMonitoring.pkl",
"wb")