ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
HLT
Trigger
TrigControl
TrigServices
python
TrigServicesHelper.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
2
3
"""
4
TrigServicesHelper - Python interface to call ITrigEventLoopMgr methods directly.
5
6
This module provides a way to call prepareForStart(), prepareForRun(), and
7
hltUpdateAfterFork() on the HltEventLoopMgr without going through PSC/HLTMPPU.
8
9
Usage in athenaEF.py:
10
11
from TrigServices.TrigServicesHelper import TrigServicesHelper
12
13
# After app.initialize() but before app.start():
14
helper = TrigServicesHelper()
15
success = helper.prepareForStart(
16
run_number=args.run_number,
17
det_mask=args.detector_mask,
18
sor_time=args.sor_time,
19
lb_number=args.lb_number,
20
beam_type=0,
21
beam_energy=0,
22
toroids_current=20400.0,
23
solenoid_current=7730.0
24
)
25
"""
26
27
from
libTrigServicesHelper
import
TrigServicesHelper
28
29
__all__ = [
'TrigServicesHelper'
]
Generated on
for ATLAS Offline Software by
1.17.0