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 155 of file helpers.py.
def helpers.CloneSequenceVisitor.__init__ | ( | self, | |
process, | |||
label, | |||
postfix, | |||
removePostfix = "" , |
|||
noClones = [] , |
|||
addToTask = False , |
|||
verbose = False |
|||
) |
Definition at line 158 of file helpers.py.
|
private |
Definition at line 204 of file helpers.py.
References helpers.CloneSequenceVisitor._clonedSequence.
Referenced by helpers.CloneSequenceVisitor.enter().
|
private |
Definition at line 196 of file helpers.py.
References helpers.CloneSequenceVisitor._postfix, and helpers.CloneSequenceVisitor._removePostfix.
Referenced by helpers.CloneSequenceVisitor.enter(), and helpers.CloneTaskVisitor.enter().
def helpers.CloneSequenceVisitor.clonedSequence | ( | self | ) |
Definition at line 190 of file helpers.py.
def helpers.CloneSequenceVisitor.enter | ( | self, | |
visitee | |||
) |
Definition at line 171 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 187 of file helpers.py.
|
private |
Definition at line 163 of file helpers.py.
Referenced by helpers.CloneSequenceVisitor.enter().
|
private |
Definition at line 166 of file helpers.py.
Referenced by helpers.CloneSequenceVisitor.__appendToTopSequence().
|
private |
Definition at line 165 of file helpers.py.
Referenced by helpers.CloneSequenceVisitor.enter(), and helpers.CloneTaskVisitor.enter().
|
private |
Definition at line 162 of file helpers.py.
Referenced by helpers.CloneSequenceVisitor.enter(), and helpers.CloneTaskVisitor.enter().
|
private |
Definition at line 169 of file helpers.py.
Referenced by helpers.CloneSequenceVisitor.enter().
|
private |
Definition at line 160 of file helpers.py.
Referenced by helpers.CloneSequenceVisitor._newLabel(), and helpers.CloneTaskVisitor._newLabel().
|
private |
Definition at line 159 of file helpers.py.
Referenced by helpers.CloneSequenceVisitor.enter(), and helpers.CloneTaskVisitor.enter().
|
private |
Definition at line 161 of file helpers.py.
Referenced by helpers.CloneSequenceVisitor._newLabel(), and helpers.CloneTaskVisitor._newLabel().
|
private |
Definition at line 164 of file helpers.py.