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

Constructor & Destructor Documentation

◆ __init__()

MenuComponents.HypoToolConf.__init__ ( self,
hypoToolGen )

Definition at line 104 of file MenuComponents.py.

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

Member Function Documentation

◆ confAndCreate()

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

Definition at line 117 of file MenuComponents.py.

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

◆ create()

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

Definition at line 113 of file MenuComponents.py.

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

◆ setConf()

MenuComponents.HypoToolConf.setConf ( self,
chainDict )

Definition at line 108 of file MenuComponents.py.

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

Member Data Documentation

◆ chainDict

MenuComponents.HypoToolConf.chainDict = chainDict

Definition at line 111 of file MenuComponents.py.

◆ hypoToolGen

MenuComponents.HypoToolConf.hypoToolGen = hypoToolGen

Definition at line 105 of file MenuComponents.py.

◆ name

MenuComponents.HypoToolConf.name = hypoToolGen.__name__

Definition at line 106 of file MenuComponents.py.


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