Static Class to collect all string manipulations on CF object names
Definition at line 5 of file MenuComponentsNaming.py.
◆ comboHypoCopyName()
def MenuComponentsNaming.CFNaming.comboHypoCopyName |
( |
|
HypoName, |
|
|
|
ncopy, |
|
|
|
StepName |
|
) |
| |
|
static |
Definition at line 57 of file MenuComponentsNaming.py.
57 def comboHypoCopyName(HypoName,ncopy,StepName):
58 return "%s%d_for_%s"%(HypoName,ncopy,StepName)
◆ comboHypoName()
def MenuComponentsNaming.CFNaming.comboHypoName |
( |
|
HypoName | ) |
|
|
static |
◆ comboHypoOutputName()
def MenuComponentsNaming.CFNaming.comboHypoOutputName |
( |
|
comboName, |
|
|
|
inputName |
|
) |
| |
|
static |
Definition at line 61 of file MenuComponentsNaming.py.
61 def comboHypoOutputName(comboName, inputName):
62 return CFNaming.simplifyOutName(
"_HLTNav_",
"HLTNav_" + comboName+
"_"+
str(inputName))
◆ comboSequenceCopyName()
def MenuComponentsNaming.CFNaming.comboSequenceCopyName |
( |
|
SequenceName, |
|
|
|
ncopy, |
|
|
|
StepName |
|
) |
| |
|
static |
Definition at line 47 of file MenuComponentsNaming.py.
47 def comboSequenceCopyName(SequenceName, ncopy, StepName):
48 if type(SequenceName)
is list:
50 for sq
in SequenceName:
51 sequence.append(
"%s%d_for_%s"%(sq, ncopy, StepName))
54 return "%s%d_for_%s"%(SequenceName, ncopy, StepName)
◆ filterName()
def MenuComponentsNaming.CFNaming.filterName |
( |
|
ChainStepName | ) |
|
|
static |
◆ filterOutName()
def MenuComponentsNaming.CFNaming.filterOutName |
( |
|
filter_name, |
|
|
|
filterIn |
|
) |
| |
|
static |
Definition at line 31 of file MenuComponentsNaming.py.
31 def filterOutName(filter_name, filterIn):
32 return CFNaming.simplifyOutName(
"HLTNav_",
"HLTNav_" + filter_name +
"__" + filterIn)
◆ hypoAlgOutName()
def MenuComponentsNaming.CFNaming.hypoAlgOutName |
( |
|
HypoName | ) |
|
|
static |
Definition at line 39 of file MenuComponentsNaming.py.
39 def hypoAlgOutName(HypoName):
40 return CFNaming.simplifyOutName(
"_HLTNav_",
"HLTNav_" + HypoName)
◆ inputMakerOutName()
def MenuComponentsNaming.CFNaming.inputMakerOutName |
( |
|
IMname | ) |
|
|
static |
Definition at line 35 of file MenuComponentsNaming.py.
35 def inputMakerOutName(IMname):
36 return CFNaming.simplifyOutName(
"_HLTNav_",
"HLTNav_" + IMname)
◆ menuSequenceName()
def MenuComponentsNaming.CFNaming.menuSequenceName |
( |
|
Hypo | ) |
|
|
static |
◆ simplifyOutName()
def MenuComponentsNaming.CFNaming.simplifyOutName |
( |
|
suffix, |
|
|
|
name |
|
) |
| |
|
static |
Removes all HLT_decisions except the front one + additiona cleaning of common words
Definition at line 25 of file MenuComponentsNaming.py.
25 def simplifyOutName(suffix, name):
26 """Removes all HLT_decisions except the front one + additiona cleaning of common words"""
27 return suffix + name.replace(
"HLTNav_",
"").
replace(
"Trig",
"").
replace(
"Alg",
"")
◆ stepContentName()
def MenuComponentsNaming.CFNaming.stepContentName |
( |
|
stepName | ) |
|
|
static |
Definition at line 77 of file MenuComponentsNaming.py.
77 def stepContentName(stepName):
78 return stepName + CFNaming.CONTENT_POSTFIX
◆ stepName()
def MenuComponentsNaming.CFNaming.stepName |
( |
|
nstep | ) |
|
|
static |
◆ stepRecoName()
def MenuComponentsNaming.CFNaming.stepRecoName |
( |
|
stepName | ) |
|
|
static |
Definition at line 73 of file MenuComponentsNaming.py.
73 def stepRecoName(stepName):
74 return stepName + CFNaming.RECO_POSTFIX
◆ stepRecoNodeName()
def MenuComponentsNaming.CFNaming.stepRecoNodeName |
( |
|
HLTNodeName, |
|
|
|
StepCFName |
|
) |
| |
|
static |
Definition at line 65 of file MenuComponentsNaming.py.
65 def stepRecoNodeName(HLTNodeName, StepCFName):
66 return HLTNodeName +
"_" + StepCFName
◆ stepSummaryName()
def MenuComponentsNaming.CFNaming.stepSummaryName |
( |
|
StepCFName | ) |
|
|
static |
Definition at line 69 of file MenuComponentsNaming.py.
69 def stepSummaryName(StepCFName):
70 return "TriggerSummary" + StepCFName
◆ CONTENT_POSTFIX
MenuComponentsNaming.CFNaming.CONTENT_POSTFIX |
|
static |
◆ FILTER_POSTFIX
MenuComponentsNaming.CFNaming.FILTER_POSTFIX |
|
static |
◆ RECO_POSTFIX
MenuComponentsNaming.CFNaming.RECO_POSTFIX |
|
static |
The documentation for this class was generated from the following file: