Definition at line 78 of file cmpExerciser.py.
◆ result
◆ __init__()
| cmpExerciser.FastReductionLabeledCompTests.__init__ |
( |
| self, |
|
|
| label, |
|
|
| fn_frag, |
|
|
| mult_string ) |
Definition at line 80 of file cmpExerciser.py.
83 mult_string):
84
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'
89
◆ logfile_name()
| 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'
76
◆ make_chain_dict()
| 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"""
55
56 chainNameDecoder = DictFromChainName.DictFromChainName()
57
58
59
60
61
62 chain_dict = chainNameDecoder.getChainDict(self.chain_name)
63 assert len(chain_dict['chainParts']) == 1
64
65 chain_dict['chainParts'][0]['hypoScenario'] = 'combinationsTest'
66
67 return chain_dict
68
◆ make_helper_tool()
| 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)
73
void print(char *figname, TCanvas *c1)
◆ make_helper_tools()
| cmpExerciser.FastReductionLabeledCompTests.make_helper_tools |
( |
| self | ) |
|
Definition at line 90 of file cmpExerciser.py.
90 def make_helper_tools(self):
91
92 setter1 = ConditionsToolSetterTree('dummyChainName')
93 helper1 = trigJetHypoToolHelperFromDict_(self.chain_label,
94 self.chain_name,
95 setter1)
96
97
98
99
100
101
102
103
104
105
106
108 helper0.passflag = False
109
110 setter0 = ConditionsToolSetterFastReduction('dummyChainName')
111 helper0 = trigJetHypoToolHelperFromDict_(self.chain_label,
112 self.chain_name,
113 setter0)
114
115
116
117
118
119
120
121 return (helper0, helper1)
122
123
◆ chain_label
| cmpExerciser.FastReductionLabeledCompTests.chain_label = label |
◆ chain_name
| str cmpExerciser.FastReductionLabeledCompTests.chain_name = 'HLT_' + fn_frag |
◆ logname
| str cmpExerciser.FastReductionLabeledCompTests.logname = self.chain_name + mult_string + '.log' |
◆ n_bkgd
| cmpExerciser.CombinationsTests.n_bkgd |
|
inherited |
The documentation for this class was generated from the following file: