Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
CPRun.py
Go to the documentation of this file.
1 #! /usr/bin/env python
2 
3 # Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
4 from AnaAlgorithm.Logging import logging
5 from AnaAlgorithm.DualUseConfig import isAthena
6 
7 if __name__ == '__main__':
8  if isAthena:
9  from AnalysisAlgorithmsConfig.AthenaCPRunScript import AthenaCPRunScript
10  script = AthenaCPRunScript()
11  else:
12  from AnalysisAlgorithmsConfig.EventLoopCPRunScript import EventLoopCPRunScript
13  script = EventLoopCPRunScript()
14 
15  script.logger.setLevel(logging.INFO)
16  script.run()