ATLAS Offline Software
Database
CoolRunQuery
python
AtlRunQueryQueryConfig.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
2
3
import
time
4
5
class
QC
:
6
localtime =
True
7
timezone = (
'CET'
,
'CEST'
)
8
datapath =
''
9
10
@classmethod
11
def
tzdesc
(cls):
12
return
QC.timezone[1]
if
QC.localtime
else
'UTC'
13
14
@classmethod
15
def
settimezone
(cls):
16
time.tzname = QC.timezone
17
18
@classmethod
19
def
localStr
(cls):
20
return
"local"
if
QC.localtime
else
'UTC'
21
22
python.AtlRunQueryQueryConfig.QC.tzdesc
def tzdesc(cls)
Definition:
AtlRunQueryQueryConfig.py:11
python.AtlRunQueryQueryConfig.QC
Definition:
AtlRunQueryQueryConfig.py:5
python.AtlRunQueryQueryConfig.QC.settimezone
def settimezone(cls)
Definition:
AtlRunQueryQueryConfig.py:15
python.AtlRunQueryQueryConfig.QC.localStr
def localStr(cls)
Definition:
AtlRunQueryQueryConfig.py:19
Generated on Fri Jan 17 2025 21:07:14 for ATLAS Offline Software by
1.8.18