1 """Define method to configure and test ITkStrip_ModuleVetoTestAlg
3 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
5 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
6 from AthenaConfiguration.ComponentFactory
import CompFactory
9 """Return a configured ITkStripModuleVetoTestAlg"""
11 from SCT_ConditionsTools.SCT_ConditionsToolsConfig
import SCT_ModuleVetoCfg
12 acc.addEventAlgo(CompFactory.SCT_ModuleVetoTestAlg(name,
16 if __name__==
"__main__":
17 from AthenaCommon.Logging
import log
21 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
23 flags.Input.Files = []
24 flags.Input.isMC =
True
25 flags.Input.ProjectName =
"mc16_13TeV"
26 flags.Input.RunNumbers = [350200]
27 flags.Input.TimeStamps = [1625130000]
28 flags.IOVDb.GlobalTag =
"OFLP200"
29 from AthenaConfiguration.TestDefaults
import defaultGeometryTags
30 flags.GeoModel.AtlasVersion = defaultGeometryTags.RUN4
31 flags.Detector.GeometryITkStrip =
True
34 from AthenaConfiguration.MainServicesConfig
import MainServicesCfg
37 from McEventSelector.McEventSelectorConfig
import McEventSelectorCfg
43 kwargs[
"useDB"] =
False
45 kwargs[
"folderStrings"] =
"/ITk/Manual/BadModules"
46 kwargs[
"BadModuleIdentifiers"] = [
"database"]
48 kwargs[
"BadModuleIdentifiers"] = [
"1",
"2"]