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

Public Member Functions

 test_mll (self)
 test_missing_input (self)

Detailed Description

Definition at line 12 of file EventSelectionConfigDilepton_unitTest.py.

Member Function Documentation

◆ test_missing_input()

python.EventSelectionConfigDilepton_unitTest.TestMLL.test_missing_input ( self)

Definition at line 20 of file EventSelectionConfigDilepton_unitTest.py.

20 def test_missing_input(self):
21 self.assertRaises(ValueError, run, "MLL > 80000")
22
23

◆ test_mll()

python.EventSelectionConfigDilepton_unitTest.TestMLL.test_mll ( self)

Definition at line 13 of file EventSelectionConfigDilepton_unitTest.py.

13 def test_mll(self):
14 algs = named(run("MLL > 80000", containers=ELMU), "MLL_")
15 self.assertEqual(len(algs), 1)
16 self.assertEqual(algs[0].getType(), "CP::DileptonInvariantMassSelectorAlg")
17 self.assertEqual(prop(algs[0], "sign"), "GT")
18 self.assertEqual(prop(algs[0], "refMLL"), 80000.0)
19
int run(int argc, char *argv[])

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