ATLAS Offline Software
Classes | Functions | Variables
test_interactive_athena Namespace Reference

Classes

class  TestAlg
 

Functions

def test_lock ()
 

Variables

 job = acas.AlgSequence()
 
 StatusCode = PyAthena.StatusCode
 

Function Documentation

◆ test_lock()

def test_interactive_athena.test_lock ( )

Definition at line 36 of file test_interactive_athena.py.

36 def test_lock():
37  print ('test lock')
38  sg = PyAthena.py_svc('StoreGateSvc')
39  ei = PyAthena.EventInfo()
40  sg.record (ei, 'EventInfo')
41  sg.setConst (ei).ignore()
42 
43  ll = PyAthena.MyLockableDataObj()
44  assert (not ll.m_locked)
45  sg.record (ll, 'lockable')
46  assert (not ll.m_locked)
47  sg.setConst (ll).ignore()
48  assert (ll.m_locked)
49  print ('done test lock')
50  import sys
51  sys.stdout.flush()
52  return
53 

Variable Documentation

◆ job

test_interactive_athena.job = acas.AlgSequence()

Definition at line 6 of file test_interactive_athena.py.

◆ StatusCode

test_interactive_athena.StatusCode = PyAthena.StatusCode

Definition at line 9 of file test_interactive_athena.py.

test_interactive_athena.test_lock
def test_lock()
Definition: test_interactive_athena.py:36
DiTauMassTools::ignore
void ignore(T &&)
Definition: PhysicsAnalysis/TauID/DiTauMassTools/DiTauMassTools/HelperFunctions.h:54