ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetConditions
BeamSpotConditions
python
BeamSpotConditionsConfig.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
2
3
from
AthenaConfiguration.ComponentAccumulator
import
ComponentAccumulator
4
from
AthenaConfiguration.ComponentFactory
import
CompFactory
5
6
7
def
BeamSpotCondAlgCfg
(flags, name="BeamSpotCondAlg", **kwargs):
8
"""Configure the BeamSpotCondAlg."""
9
acc = ComponentAccumulator()
10
11
from
IOVDbSvc.IOVDbSvcConfig
import
addFoldersSplitOnline,addFolders
12
if
flags.Common.doExpressProcessing :
13
acc.merge(addFolders(flags,
"/Indet/Onl/Beampos<key>/Indet/Beampos</key>"
,
"INDET_ONL"
,
14
className=
"AthenaAttributeList"
))
15
else
:
16
acc.merge(addFoldersSplitOnline(flags,
"INDET"
,
"/Indet/Onl/Beampos"
,
17
"/Indet/Beampos"
, className=
"AthenaAttributeList"
,
18
extensible=flags.Trigger.doHLT
and
flags.Trigger.Online.isPartition))
19
20
BeamSpotCondAlg = CompFactory.BeamSpotCondAlg
21
acc.addCondAlgo(
BeamSpotCondAlg
(name, **kwargs))
22
23
return
acc
BeamSpotCondAlg
Definition
BeamSpotCondAlg.h:18
python.BeamSpotConditionsConfig.BeamSpotCondAlgCfg
BeamSpotCondAlgCfg(flags, name="BeamSpotCondAlg", **kwargs)
Definition
BeamSpotConditionsConfig.py:7
Generated on
for ATLAS Offline Software by
1.17.0