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 | |||
) |
Definition at line 170 of file Mixins.py.
References Mixins._Parameterizable.__setParameters().
|
private |
Definition at line 239 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 296 of file Mixins.py.
References Mixins._ParameterTypeBase.isFrozen(), Mixins._Parameterizable.isFrozen(), and MatrixUtil.remove().
|
staticprivate |
def Mixins._Parameterizable.__repr__ | ( | self | ) |
Definition at line 376 of file Mixins.py.
References Mixins._ParameterTypeBase.dumpPython(), Mixins.UsingBlock.dumpPython(), Mixins._Parameterizable.dumpPython(), Config.Process.dumpPython(), Config.SubProcess.dumpPython(), and Config.ProcessAccelerator.dumpPython().
def Mixins._Parameterizable.__setattr__ | ( | self, | |
name, | |||
value | |||
) |
Definition at line 267 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(), Config.ProcessAccelerator.dumpPython(), Mixins._ParameterTypeBase.isFrozen(), Mixins._Parameterizable.isFrozen(), and reco::JetExtendedAssociation.setValue().
Referenced by GenObject.GenObject.setValue().
|
private |
Definition at line 258 of file Mixins.py.
References Mixins._Parameterizable.__addParameter(), and Mixins._Parameterizable.__validator.
Referenced by Mixins._Parameterizable.__init__().
def Mixins._Parameterizable.dumpPython | ( | self, | |
options = PrintOptions() |
|||
) |
Definition at line 304 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 212 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 198 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 378 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 290 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 188 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 185 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(), Modules.SwitchProducer.modulesForConditionalTask_(), Mixins._Parameterizable.parameters_(), and Modules.SwitchProducer.setLabel().
def Mixins._Parameterizable.parameters_ | ( | self | ) |
Returns a dictionary of copies of the user-set parameters
Definition at line 231 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 | ) |
Definition at line 292 of file Mixins.py.
Referenced by Modules._Module.__init__().
|
private |
Definition at line 241 of file Mixins.py.
Referenced by Mixins._Parameterizable.__setParameters(), and Mixins._Parameterizable.dumpPython().
|
private |
Definition at line 293 of file Mixins.py.
Referenced by Mixins._Parameterizable.isFrozen(), and SequenceTypes._ModuleSequenceType.isFrozen().
|
private |
Definition at line 183 of file Mixins.py.
Referenced by Modules.SwitchProducer.__addParameter(), Mixins._Parameterizable.__setattr__(), Modules.SwitchProducer.__setattr__(), Mixins._TypedParameterizable.copy(), and Mixins._Parameterizable.isModified().