ATLAS Offline Software
Loading...
Searching...
No Matches
exerciser.PartitionvsFlowNetworkTests Class Reference
Inheritance diagram for exerciser.PartitionvsFlowNetworkTests:
Collaboration diagram for exerciser.PartitionvsFlowNetworkTests:

Public Types

typedef HLT::TypeInformation::for_each_type_c< typenameEDMLIST::map, my_functor, my_result<>, my_arg< HLT::TypeInformation::get_cont, CONTAINER > >::type result

Public Member Functions

 __init__ (self, n_conds=6, n_bkgd=4, bkgd_etmax=50000., run_with_partitions=False)
 make_chain_dict (self)
 make_event_generator (self)
 logfile_name (self, chain_name)

Public Attributes

 n_conds = n_conds
 n_bkgd = n_bkgd
 bkgd_etmax = bkgd_etmax
 run_with_partitions = run_with_partitions
str chain_name = 'HLT'

Detailed Description

Definition at line 19 of file exerciser.py.

Member Typedef Documentation

◆ result

Definition at line 90 of file EDM_MasterSearch.h.

Constructor & Destructor Documentation

◆ __init__()

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):
26
27 self.n_conds = n_conds
28 self.n_bkgd = n_bkgd
29 self.bkgd_etmax = bkgd_etmax
30 self.run_with_partitions = run_with_partitions
31
32

Member Function Documentation

◆ logfile_name()

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'
65 else:
66 lfn = self.chain_name + '_b' + str(self.n_bkgd) + '.log'
67
68 return lfn
69

◆ make_chain_dict()

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"""
35
36 chainNameDecoder = DictFromChainName.DictFromChainName()
37 self.chain_name = 'HLT'
38 for i in range(self.n_conds):
39 self.chain_name += '_j80'
40
41
42 chain_dict = chainNameDecoder.getChainDict(self.chain_name)
43 assert len(chain_dict['chainParts']) == self.n_conds
44
45 if (self.run_with_partitions):
46 for cp in chain_dict['chainParts']:
47 cp['hypoScenario'] = 'simple_partition'
48
49 return chain_dict
50
51

◆ make_event_generator()

exerciser.PartitionvsFlowNetworkTests.make_event_generator ( self)

Definition at line 52 of file exerciser.py.

52 def make_event_generator(self):
54
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
59
60 return generator
61

Member Data Documentation

◆ bkgd_etmax

exerciser.PartitionvsFlowNetworkTests.bkgd_etmax = bkgd_etmax

Definition at line 29 of file exerciser.py.

◆ chain_name

str exerciser.PartitionvsFlowNetworkTests.chain_name = 'HLT'

Definition at line 37 of file exerciser.py.

◆ n_bkgd

exerciser.PartitionvsFlowNetworkTests.n_bkgd = n_bkgd

Definition at line 28 of file exerciser.py.

◆ n_conds

exerciser.PartitionvsFlowNetworkTests.n_conds = n_conds

Definition at line 27 of file exerciser.py.

◆ run_with_partitions

exerciser.PartitionvsFlowNetworkTests.run_with_partitions = run_with_partitions

Definition at line 30 of file exerciser.py.


The documentation for this class was generated from the following file: