ATLAS Offline Software
InnerDetector
InDetEventCnv
SCT_RawDataByteStreamCnv
python
testSCTDecodeNewConf.py
Go to the documentation of this file.
1
#
2
# Copyright (C) 2002-2023 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/Tier0ChainTests/data17_13TeV.00330470.physics_Main.daq.RAW._lb0310._SFO-1._0001.data"
]
9
flags.IOVDb.GlobalTag =
"CONDBR2-BLKPA-2018-03"
10
from
AthenaConfiguration.TestDefaults
import
defaultGeometryTags
11
flags.GeoModel.AtlasVersion = defaultGeometryTags.RUN2
12
flags.Detector.GeometrySCT =
True
13
flags.lock()
14
15
from
AthenaConfiguration.MainServicesConfig
import
MainServicesCfg
16
acc =
MainServicesCfg
(flags)
17
18
from
ByteStreamCnvSvc.ByteStreamConfig
import
ByteStreamReadCfg
19
acc.merge(
ByteStreamReadCfg
(flags))
20
21
from
SCT_RawDataByteStreamCnv.SCT_RawDataByteStreamCnvConfig
import
SCTRawDataProviderCfg
22
acc.merge(
SCTRawDataProviderCfg
(flags))
23
from
SCT_RawDataByteStreamCnv.SCT_RawDataByteStreamCnvConfig
import
SCTEventFlagWriterCfg
24
acc.merge(
SCTEventFlagWriterCfg
(flags))
25
26
acc.run(maxEvents=10)
python.SCT_RawDataByteStreamCnvConfig.SCTRawDataProviderCfg
def SCTRawDataProviderCfg(flags, prefix="InDet", suffix="", **kwargs)
Definition:
SCT_RawDataByteStreamCnvConfig.py:30
python.ByteStreamConfig.ByteStreamReadCfg
def ByteStreamReadCfg(flags, type_names=None)
Definition:
Event/ByteStreamCnvSvc/python/ByteStreamConfig.py:25
python.MainServicesConfig.MainServicesCfg
def MainServicesCfg(flags, LoopMgr='AthenaEventLoopMgr')
Definition:
MainServicesConfig.py:260
python.AllConfigFlags.initConfigFlags
def initConfigFlags()
Definition:
AllConfigFlags.py:19
python.SCT_RawDataByteStreamCnvConfig.SCTEventFlagWriterCfg
def SCTEventFlagWriterCfg(flags, prefix="InDet", suffix="", **kwargs)
Definition:
SCT_RawDataByteStreamCnvConfig.py:69
Generated on Mon Dec 23 2024 21:19:27 for ATLAS Offline Software by
1.8.18