Public Member Functions | |
def | __init__ (self, process, label, postfix, removePostfix="", noClones=[], addToTask=False, verbose=False) |
def | clonedSequence (self) |
def | enter (self, visitee) |
def | leave (self, visitee) |
Private Member Functions | |
def | __appendToTopSequence (self, visitee) |
def | _newLabel (self, label) |
Private Attributes | |
_addToTask | |
_clonedSequence | |
_moduleLabels | |
_noClones | |
_patAlgosToolsTask | |
_postfix | |
_process | |
_removePostfix | |
_verbose | |
Visitor that travels within a cms.Sequence, and returns a cloned version of the Sequence. All modules and sequences are cloned and a postfix is added
Definition at line 156 of file helpers.py.
def helpers.CloneSequenceVisitor.__init__ | ( | self, | |
process, | |||
label, | |||
postfix, | |||
removePostfix = "" , |
|||
noClones = [] , |
|||
addToTask = False , |
|||
verbose = False |
|||
) |
Definition at line 159 of file helpers.py.
|
private |
Definition at line 205 of file helpers.py.
References helpers.CloneSequenceVisitor._clonedSequence.
Referenced by helpers.CloneSequenceVisitor.enter().
|
private |
Definition at line 197 of file helpers.py.
References helpers.CloneSequenceVisitor._postfix, and helpers.CloneSequenceVisitor._removePostfix.
Referenced by helpers.CloneSequenceVisitor.enter().
def helpers.CloneSequenceVisitor.clonedSequence | ( | self | ) |
Definition at line 191 of file helpers.py.
def helpers.CloneSequenceVisitor.enter | ( | self, | |
visitee | |||
) |
Definition at line 172 of file helpers.py.
References helpers.CloneSequenceVisitor.__appendToTopSequence(), helpers.CloneSequenceVisitor._addToTask, helpers.CloneSequenceVisitor._moduleLabels, helpers.CloneSequenceVisitor._newLabel(), helpers.CloneSequenceVisitor._noClones, helpers.CloneSequenceVisitor._patAlgosToolsTask, helpers.CloneSequenceVisitor._process, PVValHelper.add(), and mps_setup.append.
def helpers.CloneSequenceVisitor.leave | ( | self, | |
visitee | |||
) |
Definition at line 188 of file helpers.py.
|
private |
Definition at line 164 of file helpers.py.
Referenced by helpers.CloneSequenceVisitor.enter().
|
private |
Definition at line 167 of file helpers.py.
Referenced by helpers.CloneSequenceVisitor.__appendToTopSequence().
|
private |
Definition at line 166 of file helpers.py.
Referenced by helpers.CloneSequenceVisitor.enter().
|
private |
Definition at line 163 of file helpers.py.
Referenced by helpers.CloneSequenceVisitor.enter().
|
private |
Definition at line 170 of file helpers.py.
Referenced by helpers.CloneSequenceVisitor.enter().
|
private |
Definition at line 161 of file helpers.py.
Referenced by helpers.CloneSequenceVisitor._newLabel().
|
private |
Definition at line 160 of file helpers.py.
Referenced by helpers.CloneSequenceVisitor.enter().
|
private |
Definition at line 162 of file helpers.py.
Referenced by helpers.CloneSequenceVisitor._newLabel().
|
private |
Definition at line 165 of file helpers.py.