ATLAS Offline Software
Loading...
Searching...
No Matches
MenuComponents.HypoToolConf Class Reference
Collaboration diagram for MenuComponents.HypoToolConf:

Public Member Functions

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

Public Attributes

 hypoToolGen = hypoToolGen
 name = hypoToolGen.__name__
 chainDict = chainDict

Detailed Description

Class to group info on hypotools for ChainDict

Definition at line 103 of file MenuComponents.py.

Constructor & Destructor Documentation

◆ __init__()

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

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

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

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 = chainDict

Definition at line 112 of file MenuComponents.py.

◆ hypoToolGen

MenuComponents.HypoToolConf.hypoToolGen = hypoToolGen

Definition at line 106 of file MenuComponents.py.

◆ name

MenuComponents.HypoToolConf.name = hypoToolGen.__name__

Definition at line 107 of file MenuComponents.py.


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