ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
AthenaConfiguration
share
printTestDefaults.py
Go to the documentation of this file.
1
#!/usr/bin/env python
2
3
#
4
# Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
5
#
6
7
# Script to print out default test files, conditions and geometry tags
8
9
from
AthenaConfiguration
import
TestDefaults
10
11
def
printValues
(testDefaultsClass):
12
instance_vars = vars(testDefaultsClass)
13
for
var_name, var_value
in
instance_vars.items():
14
#Ignore functions
15
if
str(var_name).startswith(
"__"
):
16
continue
17
if
str(var_value).startswith(
"__"
):
18
continue
19
if
str(var_value).startswith(
"<"
):
20
continue
21
#Print only value, not ['value']
22
if
type
(var_value)
is
list:
23
var_value = var_value[0]
24
print
(testDefaultsClass.__name__, var_name, var_value)
25
26
if
__name__ ==
"__main__"
:
27
printValues
(TestDefaults.defaultTestFiles)
28
printValues
(TestDefaults.defaultConditionsTags)
29
printValues
(TestDefaults.defaultGeometryTags)
print
void print(char *figname, TCanvas *c1)
Definition
TRTCalib_StrawStatusPlots.cxx:26
printTestDefaults.printValues
printValues(testDefaultsClass)
Definition
printTestDefaults.py:11
type
Generated on
for ATLAS Offline Software by
1.17.0