ATLAS Offline Software
Functions
GepClusteringAlgConfig Namespace Reference

Functions

def CaloCellsHandlerToolCfg (flags, scheme, energyEncoding, truncationFEBs)
 
def GepClusteringAlgCfg (flags, name='GepClusteringAlg', TopoClAlg='CaloWFS', outputCaloClustersKey='GEPWFSClusters', GEPEnergyEncodingScheme="6-10-4", HardwareStyleEnergyEncoding=True, TruncationOfOverflowingFEBs=True, OutputLevel=None)
 

Function Documentation

◆ CaloCellsHandlerToolCfg()

def GepClusteringAlgConfig.CaloCellsHandlerToolCfg (   flags,
  scheme,
  energyEncoding,
  truncationFEBs 
)

Definition at line 7 of file GepClusteringAlgConfig.py.

7 def CaloCellsHandlerToolCfg(flags, scheme, energyEncoding, truncationFEBs):
9  caloCellsHandler = CompFactory.CaloCellsHandlerTool(
10  GEPEnergyEncodingScheme = scheme,
11  HardwareStyleEnergyEncoding = energyEncoding,
12  TruncationOfOverflowingFEBs = truncationFEBs
13  )
14  cfg.setPrivateTools(caloCellsHandler)
15  return cfg
16 
17 

◆ GepClusteringAlgCfg()

def GepClusteringAlgConfig.GepClusteringAlgCfg (   flags,
  name = 'GepClusteringAlg',
  TopoClAlg = 'CaloWFS',
  outputCaloClustersKey = 'GEPWFSClusters',
  GEPEnergyEncodingScheme = "6-10-4",
  HardwareStyleEnergyEncoding = True,
  TruncationOfOverflowingFEBs = True,
  OutputLevel = None 
)

Definition at line 18 of file GepClusteringAlgConfig.py.

18 def GepClusteringAlgCfg(flags, name='GepClusteringAlg',
19  TopoClAlg='CaloWFS',
20  outputCaloClustersKey='GEPWFSClusters',
21  GEPEnergyEncodingScheme = "6-10-4",
22  HardwareStyleEnergyEncoding = True,
23  TruncationOfOverflowingFEBs = True,
24  OutputLevel=None):
25 
26  cfg = ComponentAccumulator()
27 
28  tool = cfg.popToolsAndMerge(CaloCellsHandlerToolCfg(flags, GEPEnergyEncodingScheme, HardwareStyleEnergyEncoding, TruncationOfOverflowingFEBs))
29 
30  alg = CompFactory.GepClusteringAlg(
31  name,
32  TopoClAlg=TopoClAlg,
33  outputCaloClustersKey=outputCaloClustersKey,
34  CaloCellHandler=tool
35  )
36 
37  if OutputLevel is not None:
38  alg.OutputLevel = OutputLevel
39 
40  cfg.addEventAlgo(alg)
41  return cfg
42 
43 
GepClusteringAlgConfig.CaloCellsHandlerToolCfg
def CaloCellsHandlerToolCfg(flags, scheme, energyEncoding, truncationFEBs)
Definition: GepClusteringAlgConfig.py:7
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
GepClusteringAlgConfig.GepClusteringAlgCfg
def GepClusteringAlgCfg(flags, name='GepClusteringAlg', TopoClAlg='CaloWFS', outputCaloClustersKey='GEPWFSClusters', GEPEnergyEncodingScheme="6-10-4", HardwareStyleEnergyEncoding=True, TruncationOfOverflowingFEBs=True, OutputLevel=None)
Definition: GepClusteringAlgConfig.py:18