ATLAS Offline Software
Public Member Functions | List of all members
cmpExerciser.CombinationsTests Class Reference
Inheritance diagram for cmpExerciser.CombinationsTests:
Collaboration diagram for cmpExerciser.CombinationsTests:

Public Member Functions

def __init__ (self)
 
def make_chain_dict (self)
 
def make_helper_tool (self)
 
def logfile_name (self)
 

Detailed Description

Definition at line 48 of file cmpExerciser.py.

Constructor & Destructor Documentation

◆ __init__()

def cmpExerciser.CombinationsTests.__init__ (   self)

Definition at line 50 of file cmpExerciser.py.

50  def __init__(self):
51  pass
52 

Member Function Documentation

◆ logfile_name()

def cmpExerciser.CombinationsTests.logfile_name (   self)

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

def cmpExerciser.CombinationsTests.make_chain_dict (   self)
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  #make a chain dict to be perverted:
59  # its hypoScenario will be overwritten by the value
60  # 'combinationsTest'. This will result in a hardwired chain label
61  # being used.
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()

def cmpExerciser.CombinationsTests.make_helper_tool (   self)

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 

The documentation for this class was generated from the following file:
print
void print(char *figname, TCanvas *c1)
Definition: TRTCalib_StrawStatusPlots.cxx:25
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