ATLAS Offline Software
Functions
python.BeamSpotConditionsConfig Namespace Reference

Functions

def BeamSpotCondAlgCfg (flags, name="BeamSpotCondAlg", **kwargs)
 

Function Documentation

◆ BeamSpotCondAlgCfg()

def python.BeamSpotConditionsConfig.BeamSpotCondAlgCfg (   flags,
  name = "BeamSpotCondAlg",
**  kwargs 
)
Configure the BeamSpotCondAlg.

Definition at line 7 of file BeamSpotConditionsConfig.py.

7 def BeamSpotCondAlgCfg(flags, name="BeamSpotCondAlg", **kwargs):
8  """Configure the BeamSpotCondAlg."""
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
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.BeamSpotConditionsConfig.BeamSpotCondAlgCfg
def BeamSpotCondAlgCfg(flags, name="BeamSpotCondAlg", **kwargs)
Definition: BeamSpotConditionsConfig.py:7
python.IOVDbSvcConfig.addFolders
def addFolders(flags, folderStrings, detDb=None, className=None, extensible=False, tag=None, db=None, modifiers='')
Definition: IOVDbSvcConfig.py:72
python.IOVDbSvcConfig.addFoldersSplitOnline
def addFoldersSplitOnline(flags, detDb, onlineFolders, offlineFolders, className=None, extensible=False, addMCString='_OFL', splitMC=False, tag=None, forceDb=None, modifiers='')
Definition: IOVDbSvcConfig.py:153
BeamSpotCondAlg
Definition: BeamSpotCondAlg.h:18