Definition at line 119 of file exerciser.py.
◆ __init__()
def exerciser.PartitionsTests.__init__ |
( |
|
self, |
|
|
|
n_sgnl = 4 , |
|
|
|
n_bkgd = 4 , |
|
|
|
bkgd_etmax = 50000. |
|
) |
| |
◆ _make_chain_dict()
def exerciser.PartitionsTests._make_chain_dict |
( |
|
self | ) |
|
|
private |
ChainDict to excercise modifications to CombinationsHelperTool
Definition at line 128 of file exerciser.py.
128 def _make_chain_dict(self):
129 """ChainDict to excercise modifications to CombinationsHelperTool"""
131 chain_dict = CombinationsTests.make_chain_dict(self)
132 chain_dict[
'chainParts'][0][
'hypoScenario'] =
'partitionsTest'
◆ logfile_name() [1/2]
def exerciser.CombinationsTests.logfile_name |
( |
|
self | ) |
|
|
inherited |
Definition at line 115 of file exerciser.py.
115 def logfile_name(self):
116 return self.chain_name +
'_b' +
str(self.n_bkgd) +
'_combs.log'
◆ logfile_name() [2/2]
def exerciser.PartitionsTests.logfile_name |
( |
|
self, |
|
|
|
chain_name |
|
) |
| |
Definition at line 142 of file exerciser.py.
142 def logfile_name(self, chain_name):
143 return chain_name +
'_b' +
str(self.n_bkgd) +
'_parts.log'
◆ make_chain_dict()
def exerciser.CombinationsTests.make_chain_dict |
( |
|
self | ) |
|
|
inherited |
ChainDict to excercise modifications to CombinationsHelperTool
Definition at line 82 of file exerciser.py.
82 def make_chain_dict(self):
83 """ChainDict to excercise modifications to CombinationsHelperTool"""
85 chainNameDecoder = DictFromChainName.DictFromChainName()
91 chain_dict = chainNameDecoder.getChainDict(self.chain_name)
92 assert len(chain_dict[
'chainParts']) == 1
94 chain_dict[
'chainParts'][0][
'hypoScenario'] =
'combinationsTest'
◆ make_event_generator()
def exerciser.CombinationsTests.make_event_generator |
( |
|
self | ) |
|
|
inherited |
◆ make_helper_tool()
def exerciser.PartitionsTests.make_helper_tool |
( |
|
self | ) |
|
Reimplemented from exerciser.CombinationsTests.
Definition at line 136 of file exerciser.py.
136 def make_helper_tool(self):
137 chain_dict = self._make_chain_dict()
138 print(chain_dict[
'chainParts'][0])
139 return trigJetHypoToolHelperFromDict(chain_dict)
◆ bkgd_etmax
exerciser.CombinationsTests.bkgd_etmax |
|
inherited |
◆ chain_name
exerciser.CombinationsTests.chain_name |
|
inherited |
◆ n_bkgd
exerciser.CombinationsTests.n_bkgd |
|
inherited |
◆ n_sgnl
exerciser.CombinationsTests.n_sgnl |
|
inherited |
The documentation for this class was generated from the following file: