ATLAS Offline Software
Public Member Functions | Public Attributes | List of all members
MenuComponents.HypoToolConf Class Reference
Collaboration diagram for MenuComponents.HypoToolConf:

Public Member Functions

def __init__ (self, hypoToolGen)
 
def setConf (self, chainDict)
 
def create (self, flags)
 
def confAndCreate (self, flags, chainDict)
 

Public Attributes

 hypoToolGen
 
 name
 
 chainDict
 

Detailed Description

Class to group info on hypotools for ChainDict

Definition at line 104 of file MenuComponents.py.

Constructor & Destructor Documentation

◆ __init__()

def MenuComponents.HypoToolConf.__init__ (   self,
  hypoToolGen 
)

Definition at line 106 of file MenuComponents.py.

106  def __init__(self, hypoToolGen):
107  self.hypoToolGen = hypoToolGen
108  self.name=hypoToolGen.__name__
109 

Member Function Documentation

◆ confAndCreate()

def MenuComponents.HypoToolConf.confAndCreate (   self,
  flags,
  chainDict 
)
sets the configuration and creates instance of the hypo tool

Definition at line 119 of file MenuComponents.py.

119  def confAndCreate(self, flags, chainDict):
120  """sets the configuration and creates instance of the hypo tool"""
121  self.setConf(chainDict)
122  return self.create(flags)
123 
124 

◆ create()

def MenuComponents.HypoToolConf.create (   self,
  flags 
)
creates instance of the hypo tool

Definition at line 115 of file MenuComponents.py.

115  def create(self, flags):
116  """creates instance of the hypo tool"""
117  return self.hypoToolGen( flags, self.chainDict )
118 

◆ setConf()

def MenuComponents.HypoToolConf.setConf (   self,
  chainDict 
)

Definition at line 110 of file MenuComponents.py.

110  def setConf( self, chainDict):
111  if type(chainDict) is not dict:
112  raise RuntimeError("Configuring hypo with %s, not good anymore, use chainDict" % str(chainDict) )
113  self.chainDict = chainDict
114 

Member Data Documentation

◆ chainDict

MenuComponents.HypoToolConf.chainDict

Definition at line 113 of file MenuComponents.py.

◆ hypoToolGen

MenuComponents.HypoToolConf.hypoToolGen

Definition at line 107 of file MenuComponents.py.

◆ name

MenuComponents.HypoToolConf.name

Definition at line 108 of file MenuComponents.py.


The documentation for this class was generated from the following file:
python.CaloAddPedShiftConfig.type
type
Definition: CaloAddPedShiftConfig.py:42
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