ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
python.BuildSignatureFlags.FlagValuesTest Class Reference
Inheritance diagram for python.BuildSignatureFlags.FlagValuesTest:
Collaboration diagram for python.BuildSignatureFlags.FlagValuesTest:

Public Member Functions

def setUp (self)
 
def runTest (self)
 

Public Attributes

 newflags
 
 newflags2
 

Detailed Description

Definition at line 853 of file BuildSignatureFlags.py.

Member Function Documentation

◆ runTest()

def python.BuildSignatureFlags.FlagValuesTest.runTest (   self)

Definition at line 863 of file BuildSignatureFlags.py.

863  def runTest(self):
864  self.assertEqual(self.newflags.Tracking.ActiveConfig.pTmin, 3., msg="Preset value lost")
865  self.assertEqual(self.newflags.Tracking.ActiveConfig.input_name, "electron", msg="Incorrect config")
866  self.assertEqual(self.newflags2.Tracking.ActiveConfig.input_name, "muonLRT", msg="Incorrect config")
867 

◆ setUp()

def python.BuildSignatureFlags.FlagValuesTest.setUp (   self)

Definition at line 854 of file BuildSignatureFlags.py.

854  def setUp(self):
855  from AthenaConfiguration.AllConfigFlags import initConfigFlags
856  flags = initConfigFlags()
857  flags.Trigger.InDetTracking.electron.pTmin=3.
858  self.newflags = flags.cloneAndReplace('Tracking.ActiveConfig', 'Trigger.InDetTracking.electron',
859  keepOriginal = True)
860  self.newflags2 = flags.cloneAndReplace('Tracking.ActiveConfig', 'Trigger.InDetTracking.muonLRT',
861  keepOriginal = True)
862 

Member Data Documentation

◆ newflags

python.BuildSignatureFlags.FlagValuesTest.newflags

Definition at line 858 of file BuildSignatureFlags.py.

◆ newflags2

python.BuildSignatureFlags.FlagValuesTest.newflags2

Definition at line 860 of file BuildSignatureFlags.py.


The documentation for this class was generated from the following file:
python.AllConfigFlags.initConfigFlags
def initConfigFlags()
Definition: AllConfigFlags.py:19