ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
graphics
VP1
VP1AlgsEventProd
python
VP1AlgsEventProdConfig.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2
3
from
AthenaConfiguration.ComponentAccumulator
import
ComponentAccumulator
4
from
AthenaConfiguration.ComponentFactory
import
CompFactory
5
6
def
VP1AlgsEventProdCfg
(flags, StreamESD, **kwargs):
7
8
acc = ComponentAccumulator()
9
10
if
"OnlineEventDisplaysSvc"
not
in
kwargs:
11
from
EventDisplaysOnline.OnlineEventDisplaysSvcConfig
import
OnlineEventDisplaysSvcCfg
12
acc.merge(OnlineEventDisplaysSvcCfg(flags))
13
kwargs.setdefault(
"OnlineEventDisplaysSvc"
, acc.getService(
"OnlineEventDisplaysSvc"
))
14
15
kwargs.setdefault(
"InputPoolFile"
, StreamESD.OutputFile)
16
kwargs.setdefault(
"IsOnline"
,
True
)
17
kwargs.setdefault(
"MaxNumberOfFiles"
, -1)
18
vp1Alg = CompFactory.VP1EventProd(name=
"VP1AlgsEventProd"
, **kwargs)
19
acc.addEventAlgo(vp1Alg, primary=
True
)
20
21
return
acc
VP1AlgsEventProdConfig.VP1AlgsEventProdCfg
VP1AlgsEventProdCfg(flags, StreamESD, **kwargs)
Definition
VP1AlgsEventProdConfig.py:6
Generated on
for ATLAS Offline Software by
1.17.0