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 | |
__validator | |
_isFrozen | |
_isModified | |
Base class for classes which allow addition of _ParameterTypeBase data
def Mixins._Parameterizable.__init__ | ( | self, | |
* | arg, | ||
** | kargs | ||
) |
Reimplemented in Types.EDAlias, and Types.PSet.
Definition at line 165 of file Mixins.py.
References Mixins._Parameterizable.__setParameters().
|
private |
Reimplemented in Modules.SwitchProducer.
Definition at line 235 of file Mixins.py.
Referenced by Mixins._Parameterizable.__setattr__(), Modules.SwitchProducer.__setattr__(), Mixins._Parameterizable.__setParameters(), and Modules.SwitchProducer.__setParameters().
def Mixins._Parameterizable.__delattr__ | ( | self, | |
name | |||
) |
Definition at line 292 of file Mixins.py.
References Mixins._ParameterTypeBase.isFrozen(), Mixins._Parameterizable.isFrozen(), and MatrixUtil.remove().
|
staticprivate |
def Mixins._Parameterizable.__repr__ | ( | self | ) |
Definition at line 372 of file Mixins.py.
References Mixins._ParameterTypeBase.dumpPython(), Mixins.UsingBlock.dumpPython(), Mixins._Parameterizable.dumpPython(), Config.Process.dumpPython(), and Config.SubProcess.dumpPython().
def Mixins._Parameterizable.__setattr__ | ( | self, | |
name, | |||
value | |||
) |
Reimplemented in Modules.SwitchProducer.
Definition at line 263 of file Mixins.py.
References Mixins._Parameterizable.__addParameter(), Mixins._ParameterTypeBase._isModified, Mixins._SimpleParameterTypeBase._isModified, Mixins._Parameterizable._isModified, Mixins._ParameterTypeBase.dumpPython(), Mixins.UsingBlock.dumpPython(), Mixins._Parameterizable.dumpPython(), Config.Process.dumpPython(), Config.SubProcess.dumpPython(), Mixins._ParameterTypeBase.isFrozen(), Mixins._Parameterizable.isFrozen(), and reco::JetExtendedAssociation.setValue().
Referenced by GenObject.GenObject.setValue().
|
private |
Reimplemented in Modules.SwitchProducer.
Definition at line 254 of file Mixins.py.
References Mixins._Parameterizable.__addParameter(), and Mixins._Parameterizable.__validator.
Referenced by Mixins._Parameterizable.__init__().
def Mixins._Parameterizable.dumpPython | ( | self, | |
options = PrintOptions() |
|||
) |
Reimplemented in Types.EDAlias, Types.PSet, Types.SecSource, Mixins._TypedParameterizable, and Modules.SwitchProducer.
Definition at line 300 of file Mixins.py.
References Mixins._Parameterizable.__validator, join(), and Mixins._Parameterizable.parameterNames_().
Referenced by Modules.SwitchProducer.__addParameter(), Types._AllowedParameterTypes.__init__(), 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 207 of file Mixins.py.
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 193 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 | |||
) |
Reimplemented in Types.PSet.
Definition at line 374 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 286 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 183 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 180 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 227 of file Mixins.py.
References 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 237 of file Mixins.py.
Referenced by Mixins._Parameterizable.__setParameters(), and Mixins._Parameterizable.dumpPython().
|
private |
Definition at line 289 of file Mixins.py.
Referenced by Mixins._Parameterizable.isFrozen(), and SequenceTypes._ModuleSequenceType.isFrozen().
|
private |
Definition at line 178 of file Mixins.py.
Referenced by Modules.SwitchProducer.__addParameter(), Mixins._Parameterizable.__setattr__(), Modules.SwitchProducer.__setattr__(), Mixins._TypedParameterizable.copy(), and Mixins._Parameterizable.isModified().