Definition at line 146 of file exerciser.py.
◆ result
◆ __init__()
| exerciser.SimpleConditionsTests.__init__ |
( |
| self, |
|
|
| n_sgnl = 4, |
|
|
| n_bkgd = 4, |
|
|
| bkgd_etmax = 20000. ) |
Definition at line 148 of file exerciser.py.
152 ):
153
154 CombinationsTests.__init__(self, n_sgnl, n_bkgd, bkgd_etmax)
155 self.chain_name = 'HLT_DijetConditionTests'
156
◆ logfile_name()
| exerciser.SimpleConditionsTests.logfile_name |
( |
| self, |
|
|
| chain_name ) |
Reimplemented from exerciser.CombinationsTests.
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'
172
◆ make_chain_dict()
| 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"""
84
85 chainNameDecoder = DictFromChainName.DictFromChainName()
86
87
88
89
90
91 chain_dict = chainNameDecoder.getChainDict(self.chain_name)
92 assert len(chain_dict['chainParts']) == 1
93
94 chain_dict['chainParts'][0]['hypoScenario'] = 'combinationsTest'
95
96 return chain_dict
97
◆ make_event_generator()
| exerciser.SimpleConditionsTests.make_event_generator |
( |
| self | ) |
|
Reimplemented from exerciser.CombinationsTests.
Definition at line 173 of file exerciser.py.
173 def make_event_generator(self):
175
176 generator.ets = [80000. + 1000.*i for i in range(self.n_sgnl)]
177 generator.etas = [0.5] * self.n_sgnl
178
179
180 factor = 1
181 for i in range(len(generator.etas)):
182 generator.etas[i] *= factor
183 factor *= -1
184
185 generator.n_bkgd = self.n_bkgd
186 generator.bkgd_etmax = self.bkgd_etmax
187
188 return generator
189
◆ make_helper_tool()
| exerciser.SimpleConditionsTests.make_helper_tool |
( |
| self | ) |
|
Reimplemented from exerciser.CombinationsTests.
Definition at line 157 of file exerciser.py.
157 def make_helper_tool(self):
158 chain_label = """
159 z([]
160 simple([(10et, 0eta320)(20et)])
161 )"""
162
163
164 toolSetter = ConditionsToolSetter(self.chain_name)
165 return trigJetHypoToolHelperFromDict_(chain_label,
166 self.chain_name,
167 toolSetter=toolSetter)
168
169
◆ bkgd_etmax
| exerciser.CombinationsTests.bkgd_etmax = bkgd_etmax |
|
inherited |
◆ chain_name
| str exerciser.CombinationsTests.chain_name = 'HLT_j80_L1J20' |
|
inherited |
◆ n_bkgd
| exerciser.CombinationsTests.n_bkgd = n_bkgd |
|
inherited |
◆ n_sgnl
| exerciser.CombinationsTests.n_sgnl = n_sgnl |
|
inherited |
The documentation for this class was generated from the following file: