ATLAS Offline Software
Loading...
Searching...
No Matches
TrigServicesHelper.py
Go to the documentation of this file.
1# Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
2
3"""
4TrigServicesHelper - Python interface to call ITrigEventLoopMgr methods directly.
5
6This module provides a way to call prepareForStart(), prepareForRun(), and
7hltUpdateAfterFork() on the HltEventLoopMgr without going through PSC/HLTMPPU.
8
9Usage 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
27from libTrigServicesHelper import TrigServicesHelper
28
29__all__ = ['TrigServicesHelper']