ATLAS Offline Software
Functions
python.HGTD_PrepRawDataFormationConfig Namespace Reference

Functions

def HGTD_ClusterMakerToolCfg (flags, name="HGTD_ClusterMakerTool", **kwargs)
 
def SinglePadClusterToolCfg (flags, name="SinglePadClusterTool", **kwargs)
 
def PadClusterizationCfg (flags, name="PadClusterizationAlg", **kwargs)
 

Function Documentation

◆ HGTD_ClusterMakerToolCfg()

def python.HGTD_PrepRawDataFormationConfig.HGTD_ClusterMakerToolCfg (   flags,
  name = "HGTD_ClusterMakerTool",
**  kwargs 
)
Configures a tool that forms HGTD clusters 

Definition at line 6 of file HGTD_PrepRawDataFormationConfig.py.

6 def HGTD_ClusterMakerToolCfg(flags, name = "HGTD_ClusterMakerTool", **kwargs):
7  """Configures a tool that forms HGTD clusters """
9 
10  acc.setPrivateTools(CompFactory.HGTD_ClusterMakerTool(name, **kwargs))
11  return acc
12 

◆ PadClusterizationCfg()

def python.HGTD_PrepRawDataFormationConfig.PadClusterizationCfg (   flags,
  name = "PadClusterizationAlg",
**  kwargs 
)
Schedules a clusterization alg to produce HGTD_Clusters out of HGTD_RDOs 

Definition at line 25 of file HGTD_PrepRawDataFormationConfig.py.

25 def PadClusterizationCfg(flags, name = "PadClusterizationAlg", **kwargs):
26  """Schedules a clusterization alg to produce HGTD_Clusters out of HGTD_RDOs """
27  acc = ComponentAccumulator()
28 
29  kwargs.setdefault("ClusterizationTool", acc.popToolsAndMerge(SinglePadClusterToolCfg(flags)))
30  kwargs.setdefault("RDOContainerName", "HGTD_RDOs")
31  kwargs.setdefault("PRDContainerName", "HGTD_Clusters")
32 
33  # Monitor Execution Time
34  if flags.HGTD.doMonitoring and 'MonTool' not in kwargs:
35  # Monitoring lives in ACTS since this is (will be) the same used for the ACTS clusterisation algorithm
36  from ActsConfig.ActsMonitoringConfig import ActsHgtdClusterizationMonitoringToolCfg
37  kwargs.setdefault('MonTool', acc.popToolsAndMerge(ActsHgtdClusterizationMonitoringToolCfg(flags)))
38 
39  acc.addEventAlgo(CompFactory.HGTD.PadClusterizationAlg(name, **kwargs))
40  return acc

◆ SinglePadClusterToolCfg()

def python.HGTD_PrepRawDataFormationConfig.SinglePadClusterToolCfg (   flags,
  name = "SinglePadClusterTool",
**  kwargs 
)
Configures a tool that creates 1-to-1 HGTD clusters out of single pads 

Definition at line 13 of file HGTD_PrepRawDataFormationConfig.py.

13 def SinglePadClusterToolCfg(flags, name = "SinglePadClusterTool", **kwargs):
14  """Configures a tool that creates 1-to-1 HGTD clusters out of single pads """
15  if flags.HGTD.Geometry.useGeoModelXml:
16  from HGTD_GeoModelXml.HGTD_GeoModelConfig import HGTD_ReadoutGeometryCfg
17  else:
18  from HGTD_GeoModel.HGTD_GeoModelConfig import HGTD_ReadoutGeometryCfg
19  acc = HGTD_ReadoutGeometryCfg(flags)
20 
21  kwargs.setdefault("ClusterMakerTool", acc.popToolsAndMerge(HGTD_ClusterMakerToolCfg(flags)))
22  acc.setPrivateTools(CompFactory.HGTD.SinglePadClusterTool(name, **kwargs))
23  return acc
24 
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
ActsMonitoringConfig.ActsHgtdClusterizationMonitoringToolCfg
ComponentAccumulator ActsHgtdClusterizationMonitoringToolCfg(flags, str name="ActsHgtdClusterizationMonitoringTool", **kwargs)
Definition: ActsMonitoringConfig.py:64
python.HGTD_PrepRawDataFormationConfig.PadClusterizationCfg
def PadClusterizationCfg(flags, name="PadClusterizationAlg", **kwargs)
Definition: HGTD_PrepRawDataFormationConfig.py:25
HGTD_GeoModelConfig.HGTD_ReadoutGeometryCfg
def HGTD_ReadoutGeometryCfg(flags)
Definition: python/HGTD_GeoModelConfig.py:23
python.HGTD_PrepRawDataFormationConfig.SinglePadClusterToolCfg
def SinglePadClusterToolCfg(flags, name="SinglePadClusterTool", **kwargs)
Definition: HGTD_PrepRawDataFormationConfig.py:13
python.HGTD_PrepRawDataFormationConfig.HGTD_ClusterMakerToolCfg
def HGTD_ClusterMakerToolCfg(flags, name="HGTD_ClusterMakerTool", **kwargs)
Definition: HGTD_PrepRawDataFormationConfig.py:6