Definition at line 146 of file exerciser.py.
◆ __init__()
def exerciser.SimpleConditionsTests.__init__ |
( |
|
self, |
|
|
|
n_sgnl = 4 , |
|
|
|
n_bkgd = 4 , |
|
|
|
bkgd_etmax = 20000. |
|
) |
| |
◆ 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.SimpleConditionsTests.logfile_name |
( |
|
self, |
|
|
|
chain_name |
|
) |
| |
Definition at line 170 of file exerciser.py.
170 def logfile_name(self, chain_name):
171 return chain_name +
'_s' +
str(self.n_sgnl) +
'_b' +
str(self.n_bkgd)+
'.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.SimpleConditionsTests.make_event_generator |
( |
|
self | ) |
|
Reimplemented from exerciser.CombinationsTests.
Definition at line 173 of file exerciser.py.
173 def make_event_generator(self):
176 generator.ets = [80000. + 1000.*i
for i
in range(self.n_sgnl)]
177 generator.etas = [0.5] * self.n_sgnl
181 for i
in range(len(generator.etas)):
182 generator.etas[i] *= factor
185 generator.n_bkgd = self.n_bkgd
186 generator.bkgd_etmax = self.bkgd_etmax
◆ make_helper_tool()
def exerciser.SimpleConditionsTests.make_helper_tool |
( |
|
self | ) |
|
Reimplemented from exerciser.CombinationsTests.
Definition at line 157 of file exerciser.py.
157 def make_helper_tool(self):
160 simple([(10et, 0eta320)(20et)])
164 toolSetter = ConditionsToolSetter(self.chain_name)
165 return trigJetHypoToolHelperFromDict_(chain_label,
167 toolSetter=toolSetter)
◆ bkgd_etmax
exerciser.CombinationsTests.bkgd_etmax |
|
inherited |
◆ chain_name
exerciser.SimpleConditionsTests.chain_name |
◆ 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: