ATLAS Offline Software
Functions
DetectorVolumeSvcCfg Namespace Reference

Functions

def DetectorVolumeSvcCfg (flags, name="DetectorVolumeSvc", **kwargs)
 
def ActsSimpleCylinderDetBuilderToolCfg (flags, name="SimpleCylinderDetBuilderTool", **kwargs)
 

Function Documentation

◆ ActsSimpleCylinderDetBuilderToolCfg()

def DetectorVolumeSvcCfg.ActsSimpleCylinderDetBuilderToolCfg (   flags,
  name = "SimpleCylinderDetBuilderTool",
**  kwargs 
)

Definition at line 17 of file DetectorVolumeSvcCfg.py.

17 def ActsSimpleCylinderDetBuilderToolCfg(flags, name="SimpleCylinderDetBuilderTool", **kwargs):
18  result = ComponentAccumulator()
19  theSvc = CompFactory.ActsTrk.SimpleCylinderDetBuilderTool(name, **kwargs)
20  result.setPrivateTools(theSvc)
21  return result

◆ DetectorVolumeSvcCfg()

def DetectorVolumeSvcCfg.DetectorVolumeSvcCfg (   flags,
  name = "DetectorVolumeSvc",
**  kwargs 
)

Definition at line 5 of file DetectorVolumeSvcCfg.py.

5 def DetectorVolumeSvcCfg(flags, name="DetectorVolumeSvc", **kwargs):
6  result = ComponentAccumulator()
7  detBuilders = []
8  if flags.Detector.GeometryMuon:
9  from ActsMuonDetector.ActsMuonDetectorCfg import MuonDetectorBuilderToolCfg
10  detBuilders += [result.getPrimaryAndMerge(ActsSimpleCylinderDetBuilderToolCfg(flags))]
11  detBuilders += [result.getPrimaryAndMerge(MuonDetectorBuilderToolCfg(flags))]
12  kwargs.setdefault("DetectorBuilders", detBuilders)
13  theSvc = CompFactory.ActsTrk.DetectorVolumeSvc(name, **kwargs)
14  result.addService(theSvc, primary=True)
15  return result
16 
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
ActsMuonDetectorCfg.MuonDetectorBuilderToolCfg
def MuonDetectorBuilderToolCfg(flags, name="MuonDetectorBuilderTool", **kwargs)
Definition: ActsMuonDetectorCfg.py:5
DetectorVolumeSvcCfg.ActsSimpleCylinderDetBuilderToolCfg
def ActsSimpleCylinderDetBuilderToolCfg(flags, name="SimpleCylinderDetBuilderTool", **kwargs)
Definition: DetectorVolumeSvcCfg.py:17
DetectorVolumeSvcCfg.DetectorVolumeSvcCfg
def DetectorVolumeSvcCfg(flags, name="DetectorVolumeSvc", **kwargs)
Definition: DetectorVolumeSvcCfg.py:5