ATLAS Offline Software
Functions
python.AlignmentErrorToolConfig Namespace Reference

Functions

def AlignmentErrorToolCfg (flags, name="AlignmentErrorTool", **kwargs)
 

Function Documentation

◆ AlignmentErrorToolCfg()

def python.AlignmentErrorToolConfig.AlignmentErrorToolCfg (   flags,
  name = "AlignmentErrorTool",
**  kwargs 
)

Definition at line 6 of file AlignmentErrorToolConfig.py.

6 def AlignmentErrorToolCfg(flags, name="AlignmentErrorTool", **kwargs):
8 
9  from MuonConfig.MuonGeometryConfig import MuonGeoModelCfg
10  acc.merge(MuonGeoModelCfg(flags))
11 
12  if not (flags.IOVDb.DatabaseInstance == 'COMP200' \
13  or 'HLT' in flags.IOVDb.GlobalTag \
14  or flags.Common.isOnline or flags.Muon.MuonTrigger) :
15  from MuonConfig.MuonGeometryConfig import MuonAlignmentErrorDbAlgCfg
16  acc.merge(MuonAlignmentErrorDbAlgCfg(flags))
17 
18 
21 
22 
23  from MuonConfig.MuonGeometryConfig import MuonIdHelperSvcCfg
24  kwargs.setdefault("MuonIdHelperSvc", acc.getPrimaryAndMerge(MuonIdHelperSvcCfg(flags)))
25 
26  acc.setPrivateTools(
27  CompFactory.MuonAlign.AlignmentErrorTool(name, **kwargs))
28 
29  return acc
30 
python.AlignmentErrorToolConfig.AlignmentErrorToolCfg
def AlignmentErrorToolCfg(flags, name="AlignmentErrorTool", **kwargs)
Definition: AlignmentErrorToolConfig.py:6
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.MuonGeometryConfig.MuonIdHelperSvcCfg
def MuonIdHelperSvcCfg(flags)
Definition: MuonGeometryConfig.py:15
python.MuonGeometryConfig.MuonAlignmentErrorDbAlgCfg
def MuonAlignmentErrorDbAlgCfg(flags)
Definition: MuonGeometryConfig.py:133
python.MuonGeometryConfig.MuonGeoModelCfg
def MuonGeoModelCfg(flags)
Definition: MuonGeometryConfig.py:28