ATLAS Offline Software
Trigger
TrigSteer
TrigOutputHandling
share
truncationAnalysis.py
Go to the documentation of this file.
1
#!/usr/bin/env python
2
#
3
# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
4
#
5
# Script to print HLT truncation info.
6
#
7
8
from
AthenaConfiguration.ComponentFactory
import
CompFactory
9
from
AthenaConfiguration.AllConfigFlags
import
initConfigFlags
10
11
flags =
initConfigFlags
()
12
flags.fillFromArgs()
13
flags.lock()
14
15
# Define the decoding/analysis sequence
16
from
AthenaConfiguration.MainServicesConfig
import
MainServicesCfg
17
cfg =
MainServicesCfg
(flags)
18
19
from
ByteStreamCnvSvc.ByteStreamConfig
import
ByteStreamReadCfg
20
cfg.merge(
ByteStreamReadCfg
(flags))
21
22
from
TriggerJobOpts.TriggerRecoConfig
import
Run3TriggerBSUnpackingCfg
23
cfg.merge(
Run3TriggerBSUnpackingCfg
(flags))
24
25
cfg.getEventAlgo(
"TrigDeserialiser"
).ExtraOutputs.add(
26
(
'xAOD::TrigCompositeContainer'
,
'StoreGateSvc+TruncationDebugInfo'
) )
27
28
cfg.addEventAlgo(CompFactory.TruncationAnalysisAlg(
"TruncationAnalysis"
),
29
sequenceName=
"HLTDecodingSeq"
)
30
31
import
sys
32
sys.exit(cfg.run().isFailure())
python.TriggerRecoConfig.Run3TriggerBSUnpackingCfg
def Run3TriggerBSUnpackingCfg(flags)
Definition:
TriggerRecoConfig.py:364
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
Generated on Wed Jan 8 2025 21:20:52 for ATLAS Offline Software by
1.8.18