7 from argparse
import ArgumentParser
8 parser = ArgumentParser(description=
'Parser for JetTagDQA configuration')
9 parser.add_argument(
"--filesInput", required=
True)
10 parser.add_argument(
"--outputFile", help=
'Name of output file',default=
"M_output.root")
11 return parser.parse_args()
16 from AthenaConfiguration.AllConfigFlags
import initConfigFlags
18 flags.Input.Files = []
19 for path
in MyArgs.filesInput.split(
','):
20 flags.Input.Files += glob(path)
21 flags.PhysVal.OutputFileName = MyArgs.outputFile
25 from AthenaConfiguration.MainServicesConfig
import MainServicesCfg
27 from AthenaPoolCnvSvc.PoolReadConfig
import PoolReadCfg
30 from EgammaPhysValMonitoring.EgammaPhysValMonitoringConfig
import EgammaPhysValMonitoringToolCfg
31 from PhysValMonitoring.PhysValMonitoringConfig
import PhysValMonitoringCfg
34 acc.printConfig(withDetails=
True)
37 sc = acc.run(maxEvents=-1)
41 sys.exit(
not sc.isSuccess())