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

Public Member Functions

 test_eventflag_feeds_next_cut (self)
 test_globaltrigmatch_default (self)
 test_globaltrigmatch_postfix (self)
 test_import_feeds_next_cut (self)

Detailed Description

Definition at line 27 of file EventSelectionConfigChaining_unitTest.py.

Member Function Documentation

◆ test_eventflag_feeds_next_cut()

python.EventSelectionConfigChaining_unitTest.TestFlags.test_eventflag_feeds_next_cut ( self)

Definition at line 28 of file EventSelectionConfigChaining_unitTest.py.

28 def test_eventflag_feeds_next_cut(self):
29 algs = named(run("EVENTFLAG mytrigger_%SYS%\nJET_N 30000 >= 2",
30 containers={"jets": "AnaJets"}), "NJET")
31 self.assertIn("mytrigger", prop(algs[0], "eventPreselection"))
32
int run(int argc, char *argv[])

◆ test_globaltrigmatch_default()

python.EventSelectionConfigChaining_unitTest.TestFlags.test_globaltrigmatch_default ( self)

Definition at line 33 of file EventSelectionConfigChaining_unitTest.py.

33 def test_globaltrigmatch_default(self):
34 algs = named(run("GLOBALTRIGMATCH\nJET_N 30000 >= 2",
35 containers={"jets": "AnaJets"}), "NJET")
36 self.assertIn("globalTriggerMatch", prop(algs[0], "eventPreselection"))
37

◆ test_globaltrigmatch_postfix()

python.EventSelectionConfigChaining_unitTest.TestFlags.test_globaltrigmatch_postfix ( self)

Definition at line 38 of file EventSelectionConfigChaining_unitTest.py.

38 def test_globaltrigmatch_postfix(self):
39 algs = named(run("GLOBALTRIGMATCH _LooseID\nJET_N 30000 >= 2",
40 containers={"jets": "AnaJets"}), "NJET")
41 self.assertIn("globalTriggerMatch_LooseID", prop(algs[0], "eventPreselection"))
42

◆ test_import_feeds_next_cut()

python.EventSelectionConfigChaining_unitTest.TestFlags.test_import_feeds_next_cut ( self)

Definition at line 43 of file EventSelectionConfigChaining_unitTest.py.

43 def test_import_feeds_next_cut(self):
44 algs = named(run("IMPORT presel\nJET_N 30000 >= 2",
45 containers={"jets": "AnaJets"}), "NJET")
46 self.assertIn("pass_presel", prop(algs[0], "eventPreselection"))
47
48

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