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 103 of file MenuComponents.py.

Constructor & Destructor Documentation

◆ __init__()

def MenuComponents.HypoToolConf.__init__ (   self,
  hypoToolGen 
)

Definition at line 105 of file MenuComponents.py.

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

Member Function Documentation

◆ confAndCreate()

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

Definition at line 118 of file MenuComponents.py.

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

◆ create()

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

Definition at line 114 of file MenuComponents.py.

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

◆ setConf()

def MenuComponents.HypoToolConf.setConf (   self,
  chainDict 
)

Definition at line 109 of file MenuComponents.py.

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

Member Data Documentation

◆ chainDict

MenuComponents.HypoToolConf.chainDict

Definition at line 112 of file MenuComponents.py.

◆ hypoToolGen

MenuComponents.HypoToolConf.hypoToolGen

Definition at line 106 of file MenuComponents.py.

◆ name

MenuComponents.HypoToolConf.name

Definition at line 107 of file MenuComponents.py.


The documentation for this class was generated from the following file:
python.processes.powheg.ZZj_MiNNLO.ZZj_MiNNLO.__init__
def __init__(self, base_directory, **kwargs)
Constructor: all process options are set here.
Definition: ZZj_MiNNLO.py:18
python.CaloAddPedShiftConfig.type
type
Definition: CaloAddPedShiftConfig.py:42
str
Definition: BTagTrackIpAccessor.cxx:11