ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
exerciser.PartitionvsFlowNetworkTests Class Reference
Inheritance diagram for exerciser.PartitionvsFlowNetworkTests:
Collaboration diagram for exerciser.PartitionvsFlowNetworkTests:

Public Member Functions

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

Public Attributes

 n_conds
 
 n_bkgd
 
 bkgd_etmax
 
 run_with_partitions
 
 chain_name
 

Detailed Description

Definition at line 19 of file exerciser.py.

Constructor & Destructor Documentation

◆ __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.

21  def __init__(self,
22  n_conds=6,
23  n_bkgd=4,
24  bkgd_etmax=50000., # MeV
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()

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

◆ 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"""
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()

def exerciser.PartitionvsFlowNetworkTests.make_event_generator (   self)

Definition at line 52 of file exerciser.py.

52  def make_event_generator(self):
53  generator = SimpleHypoJetVectorGenerator()
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

Definition at line 25 of file exerciser.py.

◆ chain_name

exerciser.PartitionvsFlowNetworkTests.chain_name

Definition at line 37 of file exerciser.py.

◆ n_bkgd

exerciser.PartitionvsFlowNetworkTests.n_bkgd

Definition at line 24 of file exerciser.py.

◆ n_conds

exerciser.PartitionvsFlowNetworkTests.n_conds

Definition at line 23 of file exerciser.py.

◆ run_with_partitions

exerciser.PartitionvsFlowNetworkTests.run_with_partitions

Definition at line 26 of file exerciser.py.


The documentation for this class was generated from the following file:
SimpleHypoJetVectorGenerator
Definition: SimpleHypoJetVectorGenerator.h:14
plotBeamSpotVxVal.range
range
Definition: plotBeamSpotVxVal.py:195
python.processes.powheg.ZZ.ZZ.__init__
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Definition: ZZ.py:18
str
Definition: BTagTrackIpAccessor.cxx:11