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 127 of file Mixins.py.
References Mixins._Parameterizable.__setParameters().
|
private |
Definition at line 195 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(), Mixins._ParameterTypeBase.dumpPython(), Vispa.Plugins.ConfigEditor.ToolDataAccessor.ApplyTool.dumpPython(), Mixins.UsingBlock.dumpPython(), ConfigToolBase.ConfigToolBase.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__(), Mixins._Parameterizable.__setParameters(), and Types.EDAlias.__setParameters().
def Mixins._Parameterizable.__delattr__ | ( | self, | |
name | |||
) |
Definition at line 240 of file Mixins.py.
References Mixins._ParameterTypeBase.isFrozen(), and Mixins._Parameterizable.isFrozen().
|
staticprivate |
Definition at line 246 of file Mixins.py.
Referenced by Mixins._Parameterizable.__addParameter(), and Types.EDAlias.__addParameter().
def Mixins._Parameterizable.__repr__ | ( | self | ) |
Definition at line 315 of file Mixins.py.
References editorTools.UserCodeTool.dumpPython(), Vispa.Plugins.ConfigEditor.ToolDataAccessor.ImportTool.dumpPython(), Mixins._ParameterTypeBase.dumpPython(), Vispa.Plugins.ConfigEditor.ToolDataAccessor.ApplyTool.dumpPython(), Mixins.UsingBlock.dumpPython(), ConfigToolBase.ConfigToolBase.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 211 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(), Mixins._ParameterTypeBase.dumpPython(), Vispa.Plugins.ConfigEditor.ToolDataAccessor.ApplyTool.dumpPython(), Mixins.UsingBlock.dumpPython(), ConfigToolBase.ConfigToolBase.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 207 of file Mixins.py.
References Mixins._Parameterizable.__addParameter().
Referenced by Mixins._Parameterizable.__init__(), and Types.EDAlias.__init__().
def Mixins._Parameterizable.dumpPython | ( | self, | |
options = PrintOptions() |
|||
) |
Definition at line 248 of file Mixins.py.
References join(), and Mixins._Parameterizable.parameterNames_().
Referenced by Mixins._Parameterizable.__addParameter(), Mixins._Parameterizable.__repr__(), and Mixins._Parameterizable.__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 167 of file Mixins.py.
References harvestTrackValidationPlots.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 153 of file Mixins.py.
References DropBoxMetadata::Parameters.getParameter(), Args.getParameter(), QIE8Simulator.getParameter(), AbsElectronicODERHS.getParameter(), IntegratedCalibrationBase.getParameter(), SiStripLorentzAngleCalibration.getParameter(), SiPixelLorentzAngleCalibration.getParameter(), SiStripBackplaneCalibration.getParameter(), edm::ParameterSet.getParameter(), and Mixins._Parameterizable.getParameter().
def Mixins._Parameterizable.insertContentsInto | ( | self, | |
parameterSet | |||
) |
Definition at line 317 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 234 of file Mixins.py.
References Mixins._ParameterTypeBase._isFrozen, and Mixins._Parameterizable._isFrozen.
Referenced by Mixins._Parameterizable.__delattr__(), and Mixins._Parameterizable.__setattr__().
def Mixins._Parameterizable.isModified | ( | self | ) |
Definition at line 143 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 140 of file Mixins.py.
Referenced by Types.PSet.configValue(), Mixins._TypedParameterizable.dumpConfig(), Mixins._Parameterizable.dumpPython(), Mixins._TypedParameterizable.dumpPython(), Types.EDAlias.dumpPython(), Modules.ESPrefer.dumpPythonAs(), Mixins._TypedParameterizable.dumpPythonAttributes(), Mixins._Parameterizable.insertContentsInto(), 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 187 of file Mixins.py.
References cmsPerfStripChart.dict, and Mixins._Parameterizable.parameterNames_().
Referenced by Mixins._TypedParameterizable.clone(), Types.PSet.clone(), and Mixins._TypedParameterizable.copy().
def Mixins._Parameterizable.setIsFrozen | ( | self | ) |
|
private |
Definition at line 237 of file Mixins.py.
Referenced by SequenceTypes._ModuleSequenceType.isFrozen(), and Mixins._Parameterizable.isFrozen().
|
private |
Definition at line 138 of file Mixins.py.
Referenced by Mixins._Parameterizable.__addParameter(), Mixins._Parameterizable.__setattr__(), Mixins._TypedParameterizable.copy(), and Mixins._Parameterizable.isModified().