Definition at line 78 of file cmpExerciser.py.
◆ __init__()
def cmpExerciser.FastReductionLabeledCompTests.__init__ |
( |
|
self, |
|
|
|
label, |
|
|
|
fn_frag, |
|
|
|
mult_string |
|
) |
| |
Definition at line 80 of file cmpExerciser.py.
85 CombinationsTests.__init__(self)
86 self.chain_name =
'HLT_' + fn_frag
87 self.chain_label = label
88 self.logname = self.chain_name + mult_string +
'.log'
◆ logfile_name()
def cmpExerciser.CombinationsTests.logfile_name |
( |
|
self | ) |
|
|
inherited |
Definition at line 74 of file cmpExerciser.py.
74 def logfile_name(self):
75 return self.chain_name +
'_b' +
str(self.n_bkgd) +
'_combs.log'
◆ make_chain_dict()
def cmpExerciser.CombinationsTests.make_chain_dict |
( |
|
self | ) |
|
|
inherited |
ChainDict to excercise modifications to CombinationsHelperTool
Definition at line 53 of file cmpExerciser.py.
53 def make_chain_dict(self):
54 """ChainDict to excercise modifications to CombinationsHelperTool"""
56 chainNameDecoder = DictFromChainName.DictFromChainName()
62 chain_dict = chainNameDecoder.getChainDict(self.chain_name)
63 assert len(chain_dict[
'chainParts']) == 1
65 chain_dict[
'chainParts'][0][
'hypoScenario'] =
'combinationsTest'
◆ make_helper_tool()
def cmpExerciser.CombinationsTests.make_helper_tool |
( |
|
self | ) |
|
|
inherited |
Definition at line 69 of file cmpExerciser.py.
69 def make_helper_tool(self):
70 chain_dict = self._make_chain_dict()
71 print(chain_dict[
'chainParts'][0])
72 return trigJetHypoToolHelperFromDict(chain_dict)
◆ make_helper_tools()
def cmpExerciser.FastReductionLabeledCompTests.make_helper_tools |
( |
|
self | ) |
|
Definition at line 90 of file cmpExerciser.py.
90 def make_helper_tools(self):
92 setter1 = ConditionsToolSetterTree(
'dummyChainName')
93 helper1 = trigJetHypoToolHelperFromDict_(self.chain_label,
108 helper0.passflag =
False
110 setter0 = ConditionsToolSetterFastReduction(
'dummyChainName')
111 helper0 = trigJetHypoToolHelperFromDict_(self.chain_label,
121 return (helper0, helper1)
◆ chain_label
cmpExerciser.FastReductionLabeledCompTests.chain_label |
◆ chain_name
cmpExerciser.FastReductionLabeledCompTests.chain_name |
◆ logname
cmpExerciser.FastReductionLabeledCompTests.logname |
The documentation for this class was generated from the following file: