Definition at line 190 of file exerciser.py.
◆ __init__()
def exerciser.ConditionsTests.__init__ |
( |
|
self, |
|
|
|
chain_label, |
|
|
|
n_sgnl = 4 , |
|
|
|
n_bkgd = 4 , |
|
|
|
bkgd_etmax = 20000. , |
|
|
|
label_ind = 0 |
|
) |
| |
Definition at line 192 of file exerciser.py.
199 CombinationsTests.__init__(self, n_sgnl, n_bkgd, bkgd_etmax)
200 self.chain_name =
'HLT_ConditionTests'
201 self.chain_label = chain_label
202 self.label_ind = label_ind
◆ 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.ConditionsTests.logfile_name |
( |
|
self, |
|
|
|
chain_name |
|
) |
| |
Definition at line 212 of file exerciser.py.
212 def logfile_name(self, chain_name):
213 return '%s_s%d_b%d_l%d' % (chain_name,
◆ 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.ConditionsTests.make_event_generator |
( |
|
self | ) |
|
Reimplemented from exerciser.CombinationsTests.
Definition at line 219 of file exerciser.py.
219 def make_event_generator(self):
222 generator.ets = [80000. + 1000.*i
for i
in range(self.n_sgnl)]
223 generator.etas = [0.5] * self.n_sgnl
228 for i
in range(len(generator.etas)):
229 generator.etas[i] *= factor
232 generator.n_bkgd = self.n_bkgd
233 generator.bkgd_etmax = self.bkgd_etmax
◆ make_helper_tool()
def exerciser.ConditionsTests.make_helper_tool |
( |
|
self | ) |
|
Reimplemented from exerciser.CombinationsTests.
Definition at line 204 of file exerciser.py.
204 def make_helper_tool(self):
206 toolSetter = ConditionsToolSetter(self.chain_name)
207 return trigJetHypoToolHelperFromDict_(self.chain_label,
209 toolSetter=toolSetter)
◆ bkgd_etmax
exerciser.CombinationsTests.bkgd_etmax |
|
inherited |
◆ chain_label
exerciser.ConditionsTests.chain_label |
◆ chain_name
exerciser.ConditionsTests.chain_name |
◆ label_ind
exerciser.ConditionsTests.label_ind |
◆ 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: