ATLAS Offline Software
Loading...
Searching...
No Matches
python.CaloEstimatedGainTool_test Namespace Reference

Classes

class  TestAlg

Functions

 i32 (x)
 testCfg (flags)

Variables

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

Function Documentation

◆ i32()

python.CaloEstimatedGainTool_test.i32 ( x)

Definition at line 16 of file CaloEstimatedGainTool_test.py.

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

◆ testCfg()

python.CaloEstimatedGainTool_test.testCfg ( flags)

Definition at line 85 of file CaloEstimatedGainTool_test.py.

85def 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.