Public Member Functions | |
def | __delattr__ (self, name) |
def | __init__ (self, arg, kargs) |
def | __repr__ (self) |
def | __setattr__ (self, name, value) |
def | dumpPython (self, options=PrintOptions()) |
def | getParameter (self, params) |
def | hasParameter (self, params) |
def | insertContentsInto (self, parameterSet) |
def | isFrozen (self) |
def | isModified (self) |
def | parameterNames_ (self) |
def | parameters_ (self) |
def | setIsFrozen (self) |
Private Member Functions | |
def | __addParameter (self, name, value) |
def | __setParameters (self, parameters) |
Static Private Member Functions | |
def | __raiseBadSetAttr (name) |
Private Attributes | |
_isFrozen | |
_isModified | |
Base class for classes which allow addition of _ParameterTypeBase data
def Mixins._Parameterizable.__init__ | ( | self, | |
arg, | |||
kargs | |||
) |
Definition at line 162 of file Mixins.py.
References Mixins._Parameterizable.__setParameters().
|
private |
Definition at line 230 of file Mixins.py.
References Mixins._Parameterizable.__raiseBadSetAttr(), Mixins._ParameterTypeBase._isModified, Mixins._SimpleParameterTypeBase._isModified, Mixins._Parameterizable._isModified, editorTools.UserCodeTool.dumpPython(), Vispa.Plugins.ConfigEditor.ToolDataAccessor.ImportTool.dumpPython(), Vispa.Plugins.ConfigEditor.ToolDataAccessor.ApplyTool.dumpPython(), Mixins._ParameterTypeBase.dumpPython(), ConfigToolBase.ConfigToolBase.dumpPython(), Mixins.UsingBlock.dumpPython(), Vispa.Plugins.ConfigEditor.ConfigEditorTabController.ConfigEditorTabController.dumpPython(), Mixins._Parameterizable.dumpPython(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.dumpPython(), Config.Process.dumpPython(), and Config.SubProcess.dumpPython().
Referenced by Mixins._Parameterizable.__setattr__(), Modules.SwitchProducer.__setattr__(), Mixins._Parameterizable.__setParameters(), and Modules.SwitchProducer.__setParameters().
def Mixins._Parameterizable.__delattr__ | ( | self, | |
name | |||
) |
Definition at line 275 of file Mixins.py.
References Mixins._ParameterTypeBase.isFrozen(), and Mixins._Parameterizable.isFrozen().
|
staticprivate |
Definition at line 281 of file Mixins.py.
Referenced by Mixins._Parameterizable.__addParameter().
def Mixins._Parameterizable.__repr__ | ( | self | ) |
Definition at line 351 of file Mixins.py.
References editorTools.UserCodeTool.dumpPython(), Vispa.Plugins.ConfigEditor.ToolDataAccessor.ImportTool.dumpPython(), Vispa.Plugins.ConfigEditor.ToolDataAccessor.ApplyTool.dumpPython(), Mixins._ParameterTypeBase.dumpPython(), ConfigToolBase.ConfigToolBase.dumpPython(), Mixins.UsingBlock.dumpPython(), Vispa.Plugins.ConfigEditor.ConfigEditorTabController.ConfigEditorTabController.dumpPython(), Mixins._Parameterizable.dumpPython(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.dumpPython(), Config.Process.dumpPython(), and Config.SubProcess.dumpPython().
def Mixins._Parameterizable.__setattr__ | ( | self, | |
name, | |||
value | |||
) |
Definition at line 246 of file Mixins.py.
References Mixins._Parameterizable.__addParameter(), Mixins._ParameterTypeBase._isModified, Mixins._SimpleParameterTypeBase._isModified, Mixins._Parameterizable._isModified, editorTools.UserCodeTool.dumpPython(), Vispa.Plugins.ConfigEditor.ToolDataAccessor.ImportTool.dumpPython(), Vispa.Plugins.ConfigEditor.ToolDataAccessor.ApplyTool.dumpPython(), Mixins._ParameterTypeBase.dumpPython(), ConfigToolBase.ConfigToolBase.dumpPython(), Mixins.UsingBlock.dumpPython(), Vispa.Plugins.ConfigEditor.ConfigEditorTabController.ConfigEditorTabController.dumpPython(), Mixins._Parameterizable.dumpPython(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor.dumpPython(), Config.Process.dumpPython(), Config.SubProcess.dumpPython(), Mixins._ParameterTypeBase.isFrozen(), Mixins._Parameterizable.isFrozen(), and reco::JetExtendedAssociation.setValue().
Referenced by GenObject.GenObject.setValue().
|
private |
Definition at line 242 of file Mixins.py.
References Mixins._Parameterizable.__addParameter().
Referenced by Mixins._Parameterizable.__init__().
def Mixins._Parameterizable.dumpPython | ( | self, | |
options = PrintOptions() |
|||
) |
Definition at line 283 of file Mixins.py.
References join(), and Mixins._Parameterizable.parameterNames_().
Referenced by Mixins._Parameterizable.__addParameter(), Modules.SwitchProducer.__addParameter(), Mixins._Parameterizable.__repr__(), Mixins._Parameterizable.__setattr__(), and Modules.SwitchProducer.__setattr__().
def Mixins._Parameterizable.getParameter | ( | self, | |
params | |||
) |
_getParameter_ Retrieve the specified parameter from the PSet Provided given the attribute chain returns None if not found
Definition at line 202 of file Mixins.py.
References edm.print(), and str.
Referenced by Mixins._Parameterizable.hasParameter().
def Mixins._Parameterizable.hasParameter | ( | self, | |
params | |||
) |
_hasParameter_ check that pset provided has the attribute chain specified. Eg, if params is [ 'attr1', 'attr2', 'attr3' ] check for pset.attr1.attr2.attr3 returns True if parameter exists, False if not
Definition at line 188 of file Mixins.py.
References DropBoxMetadata::Parameters.getParameter(), Args.getParameter(), QIE8Simulator.getParameter(), AbsElectronicODERHS.getParameter(), SiStripLorentzAngleCalibration.getParameter(), SiPixelLorentzAngleCalibration.getParameter(), IntegratedCalibrationBase.getParameter(), SiStripBackplaneCalibration.getParameter(), edm::ParameterSet.getParameter(), and Mixins._Parameterizable.getParameter().
def Mixins._Parameterizable.insertContentsInto | ( | self, | |
parameterSet | |||
) |
Definition at line 353 of file Mixins.py.
References Mixins._Parameterizable.parameterNames_().
Referenced by Modules.Service.insertInto(), Mixins._TypedParameterizable.insertInto(), and Types.PSet.insertInto().
def Mixins._Parameterizable.isFrozen | ( | self | ) |
Definition at line 269 of file Mixins.py.
References Mixins._ParameterTypeBase._isFrozen, and Mixins._Parameterizable._isFrozen.
Referenced by Mixins._Parameterizable.__delattr__(), Mixins._Parameterizable.__setattr__(), and Modules.SwitchProducer.__setattr__().
def Mixins._Parameterizable.isModified | ( | self | ) |
Definition at line 178 of file Mixins.py.
References Mixins._ParameterTypeBase._isModified, Mixins._SimpleParameterTypeBase._isModified, Mixins._Parameterizable._isModified, and Mixins._Parameterizable.parameterNames_().
def Mixins._Parameterizable.parameterNames_ | ( | self | ) |
Returns the name of the parameters
Definition at line 175 of file Mixins.py.
Referenced by Modules.SwitchProducer._chooseCase(), Modules.SwitchProducer.appendToProcessDescLists_(), Modules.SwitchProducer.clone(), Types.PSet.configValue(), Mixins._TypedParameterizable.dumpConfig(), Mixins._Parameterizable.dumpPython(), Modules.SwitchProducer.dumpPython(), Mixins._TypedParameterizable.dumpPython(), Types.EDAlias.dumpPython(), Modules.ESPrefer.dumpPythonAs(), Mixins._TypedParameterizable.dumpPythonAttributes(), Mixins._Parameterizable.insertContentsInto(), Modules.SwitchProducer.insertInto(), Types.EDAlias.insertInto(), Mixins._Parameterizable.isModified(), and Mixins._Parameterizable.parameters_().
def Mixins._Parameterizable.parameters_ | ( | self | ) |
Returns a dictionary of copies of the user-set parameters
Definition at line 222 of file Mixins.py.
References cmsPerfStripChart.dict, and Mixins._Parameterizable.parameterNames_().
Referenced by Mixins._TypedParameterizable.clone(), Types.PSet.clone(), Types.EDAlias.clone(), and Mixins._TypedParameterizable.copy().
def Mixins._Parameterizable.setIsFrozen | ( | self | ) |
|
private |
Definition at line 272 of file Mixins.py.
Referenced by SequenceTypes._ModuleSequenceType.isFrozen(), and Mixins._Parameterizable.isFrozen().
|
private |
Definition at line 173 of file Mixins.py.
Referenced by Mixins._Parameterizable.__addParameter(), Modules.SwitchProducer.__addParameter(), Mixins._Parameterizable.__setattr__(), Modules.SwitchProducer.__setattr__(), Mixins._TypedParameterizable.copy(), and Mixins._Parameterizable.isModified().