ATLAS Offline Software
Loading...
Searching...
No Matches
python.EventSelectionConfigExpr_unitTest.TestExprUnavailable Class Reference
Inheritance diagram for python.EventSelectionConfigExpr_unitTest.TestExprUnavailable:
Collaboration diagram for python.EventSelectionConfigExpr_unitTest.TestExprUnavailable:

Public Member Functions

 test_unknown_variable (self)
 test_unknown_collection (self)
 test_charge_is_deferred (self)

Detailed Description

Definition at line 71 of file EventSelectionConfigExpr_unitTest.py.

Member Function Documentation

◆ test_charge_is_deferred()

python.EventSelectionConfigExpr_unitTest.TestExprUnavailable.test_charge_is_deferred ( self)

Definition at line 80 of file EventSelectionConfigExpr_unitTest.py.

80 def test_charge_is_deferred(self):
81 # charge() is recognised but not yet implemented -> UnavailableFeatureError
82 self.assertRaises(UnavailableFeatureError, run,
83 "EXPR charge(el[0]) == 1", containers=ALL)
84 self.assertRaises(UnavailableFeatureError, run,
85 "EXPR charge(jet[0]) == 1", containers=ALL)
86
87

◆ test_unknown_collection()

python.EventSelectionConfigExpr_unitTest.TestExprUnavailable.test_unknown_collection ( self)

Definition at line 76 of file EventSelectionConfigExpr_unitTest.py.

76 def test_unknown_collection(self):
77 self.assertRaises(UnavailableFeatureError, run,
78 "EXPR pt(fjet[0]) > 30000", containers=ALL)
79

◆ test_unknown_variable()

python.EventSelectionConfigExpr_unitTest.TestExprUnavailable.test_unknown_variable ( self)

Definition at line 72 of file EventSelectionConfigExpr_unitTest.py.

72 def test_unknown_variable(self):
73 self.assertRaises(UnavailableFeatureError, run,
74 "EXPR mT2(jet[0], jet[1]) < 100000", containers=ALL)
75

The documentation for this class was generated from the following file: