Definition at line 19 of file exerciser.py.
◆ __init__()
def exerciser.PartitionvsFlowNetworkTests.__init__ |
( |
|
self, |
|
|
|
n_conds = 6 , |
|
|
|
n_bkgd = 4 , |
|
|
|
bkgd_etmax = 50000. , |
|
|
|
run_with_partitions = False |
|
) |
| |
Definition at line 21 of file exerciser.py.
25 run_with_partitions=False):
27 self.n_conds = n_conds
29 self.bkgd_etmax = bkgd_etmax
30 self.run_with_partitions = run_with_partitions
◆ logfile_name()
def exerciser.PartitionvsFlowNetworkTests.logfile_name |
( |
|
self, |
|
|
|
chain_name |
|
) |
| |
Definition at line 62 of file exerciser.py.
62 def logfile_name(self, chain_name):
63 if (self.run_with_partitions):
64 lfn = self.chain_name +
'_b' +
str(self.n_bkgd) +
'_part.log'
66 lfn = self.chain_name +
'_b' +
str(self.n_bkgd) +
'.log'
◆ make_chain_dict()
def exerciser.PartitionvsFlowNetworkTests.make_chain_dict |
( |
|
self | ) |
|
Chaindicts for Partion vs flownetwork strudies
Definition at line 33 of file exerciser.py.
33 def make_chain_dict(self):
34 """Chaindicts for Partion vs flownetwork strudies"""
36 chainNameDecoder = DictFromChainName.DictFromChainName()
37 self.chain_name =
'HLT'
38 for i
in range(self.n_conds):
39 self.chain_name +=
'_j80'
42 chain_dict = chainNameDecoder.getChainDict(self.chain_name)
43 assert len(chain_dict[
'chainParts']) == self.n_conds
45 if (self.run_with_partitions):
46 for cp
in chain_dict[
'chainParts']:
47 cp[
'hypoScenario'] =
'simple_partition'
◆ make_event_generator()
def exerciser.PartitionvsFlowNetworkTests.make_event_generator |
( |
|
self | ) |
|
Definition at line 52 of file exerciser.py.
52 def make_event_generator(self):
55 generator.ets = [80000. + 1000.*i
for i
in range(self.n_sgnl)]
56 generator.etas = [0.5] * self.n_sgnl
57 generator.n_bkgd = self.n_bkgd
58 generator.bkgd_etmax = self.bkgd_etmax
◆ bkgd_etmax
exerciser.PartitionvsFlowNetworkTests.bkgd_etmax |
◆ chain_name
exerciser.PartitionvsFlowNetworkTests.chain_name |
◆ n_bkgd
exerciser.PartitionvsFlowNetworkTests.n_bkgd |
◆ n_conds
exerciser.PartitionvsFlowNetworkTests.n_conds |
◆ run_with_partitions
exerciser.PartitionvsFlowNetworkTests.run_with_partitions |
The documentation for this class was generated from the following file: