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

Public Member Functions

 test_window (self)
 test_veto (self)

Detailed Description

Definition at line 24 of file EventSelectionConfigDilepton_unitTest.py.

Member Function Documentation

◆ test_veto()

python.EventSelectionConfigDilepton_unitTest.TestMLLWindow.test_veto ( self)

Definition at line 32 of file EventSelectionConfigDilepton_unitTest.py.

32 def test_veto(self):
33 algs = named(run("MLLWINDOW 80000 100000 veto", containers=ELMU), "MLLWINDOW")
34 self.assertTrue(prop(algs[0], "vetoMode"))
35
36
int run(int argc, char *argv[])

◆ test_window()

python.EventSelectionConfigDilepton_unitTest.TestMLLWindow.test_window ( self)

Definition at line 25 of file EventSelectionConfigDilepton_unitTest.py.

25 def test_window(self):
26 algs = named(run("MLLWINDOW 80000 100000", containers=ELMU), "MLLWINDOW")
27 self.assertEqual(algs[0].getType(), "CP::DileptonInvariantMassWindowSelectorAlg")
28 self.assertEqual(prop(algs[0], "lowMLL"), 80000.0)
29 self.assertEqual(prop(algs[0], "highMLL"), 100000.0)
30 self.assertFalse(prop(algs[0], "vetoMode", False))
31

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