ATLAS Offline Software
Classes | Functions | Variables
python.CaloEstimatedGainTool_test Namespace Reference

Classes

class  TestAlg
 

Functions

def i32 (x)
 
def testCfg (flags)
 

Variables

 flags = initConfigFlags()
 
 Files
 
 GeometryLAr
 
 GeometryTile
 
 acc = MainServicesCfg(flags)
 

Function Documentation

◆ i32()

def python.CaloEstimatedGainTool_test.i32 (   x)

Definition at line 16 of file CaloEstimatedGainTool_test.py.

16 def i32(x):
17  if x >= (1<<31):
18  x -= (1<<32)
19  return x
20 
21 

◆ testCfg()

def python.CaloEstimatedGainTool_test.testCfg (   flags)

Definition at line 85 of file CaloEstimatedGainTool_test.py.

85 def testCfg (flags):
86  result = ComponentAccumulator()
87 
88  from LArGeoAlgsNV.LArGMConfig import LArGMCfg
89  from TileGeoModel.TileGMConfig import TileGMCfg
90  result.merge(LArGMCfg(flags))
91  result.merge(TileGMCfg(flags))
92 
93  from CaloTools.CaloEstimatedGainToolConfig import CaloEstimatedGainToolCfg
94  acc = CaloEstimatedGainToolCfg (flags)
95  acc.popPrivateTools()
96  result.merge (acc)
97 
98  result.addEventAlgo (TestAlg ('TestAlg'))
99  return result
100 
101 

Variable Documentation

◆ acc

python.CaloEstimatedGainTool_test.acc = MainServicesCfg(flags)

Definition at line 113 of file CaloEstimatedGainTool_test.py.

◆ Files

python.CaloEstimatedGainTool_test.Files

Definition at line 105 of file CaloEstimatedGainTool_test.py.

◆ flags

python.CaloEstimatedGainTool_test.flags = initConfigFlags()

Definition at line 104 of file CaloEstimatedGainTool_test.py.

◆ GeometryLAr

python.CaloEstimatedGainTool_test.GeometryLAr

Definition at line 106 of file CaloEstimatedGainTool_test.py.

◆ GeometryTile

python.CaloEstimatedGainTool_test.GeometryTile

Definition at line 107 of file CaloEstimatedGainTool_test.py.

python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.CaloEstimatedGainTool_test.testCfg
def testCfg(flags)
Definition: CaloEstimatedGainTool_test.py:85
LArGMConfig.LArGMCfg
def LArGMCfg(flags)
Definition: LArGMConfig.py:8
python.CaloEstimatedGainTool_test.i32
def i32(x)
Definition: CaloEstimatedGainTool_test.py:16
TileGMConfig.TileGMCfg
def TileGMCfg(flags)
Definition: TileGMConfig.py:7