ATLAS Offline Software
InnerDetector
InDetEventCnv
ITkStripsByteStreamCnv
python
testITkDecodeNewConf.py
Go to the documentation of this file.
1
#
2
# Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
#
4
5
if
__name__ ==
"__main__"
:
6
from
AthenaConfiguration.AllConfigFlags
import
initConfigFlags
7
flags =
initConfigFlags
()
8
flags.Input.Files = [
"/cvmfs/atlas-nightlies.cern.ch/repo/data/data-art/ITkStrip/data_test.00242020.EventStorage_StreamBSFileOutput.daq.RAW._lb0002._Athena._0001.data"
]
9
flags.IOVDb.GlobalTag =
"OFLCOND-MC15c-SDR-14-05"
10
flags.Input.isMC =
True
11
from
AthenaConfiguration.TestDefaults
import
defaultGeometryTags
12
flags.GeoModel.AtlasVersion = defaultGeometryTags.RUN4
13
flags.Detector.GeometryITkStrip =
True
14
flags.ITk.Geometry.AllLocal =
False
15
16
# for debugging
17
from
AthenaCommon.Constants
import
INFO
18
flags.Exec.OutputLevel=INFO
19
20
flags.lock()
21
22
from
AthenaConfiguration.MainServicesConfig
import
MainServicesCfg
23
acc =
MainServicesCfg
(flags)
24
25
# For ByteStream file reading
26
from
ByteStreamCnvSvc.ByteStreamConfig
import
ByteStreamReadCfg
27
acc.merge(
ByteStreamReadCfg
(flags))
28
29
from
ITkStripsByteStreamCnv.ITkStripRawDataByteStreamCnvConfig
import
ITkStripRawDataProviderCfg
30
acc.merge(
ITkStripRawDataProviderCfg
(flags))
31
32
acc.run(maxEvents=2)
33
34
python.ByteStreamConfig.ByteStreamReadCfg
def ByteStreamReadCfg(flags, type_names=None)
Definition:
Event/ByteStreamCnvSvc/python/ByteStreamConfig.py:25
ITkStripRawDataByteStreamCnvConfig.ITkStripRawDataProviderCfg
def ITkStripRawDataProviderCfg(flags, **kwargs)
Definition:
ITkStripRawDataByteStreamCnvConfig.py:23
python.MainServicesConfig.MainServicesCfg
def MainServicesCfg(flags, LoopMgr='AthenaEventLoopMgr')
Definition:
MainServicesConfig.py:312
Constants
some useful constants -------------------------------------------------—
python.AllConfigFlags.initConfigFlags
def initConfigFlags()
Definition:
AllConfigFlags.py:19
Generated on Mon Sep 1 2025 21:20:16 for ATLAS Offline Software by
1.8.18