6 """Static Class to collect all string manipulations on CF object names """
9 CONTENT_POSTFIX =
"_content"
10 FILTER_POSTFIX =
"_filter"
14 return "Step%i"%(nstep+1)
22 return "F" + ChainStepName
26 """Removes all HLT_decisions except the front one + additiona cleaning of common words"""
27 return suffix + name.replace(
"HLTNav_",
"").
replace(
"Trig",
"").
replace(
"Alg",
"")
32 return CFNaming.simplifyOutName(
"HLTNav_",
"HLTNav_" + filter_name +
"__" + filterIn)
36 return CFNaming.simplifyOutName(
"_HLTNav_",
"HLTNav_" + IMname)
40 return CFNaming.simplifyOutName(
"_HLTNav_",
"HLTNav_" + HypoName)
44 return "ComboHypo_" + HypoName
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)
58 return "%s%d_for_%s"%(HypoName,ncopy,StepName)
62 return CFNaming.simplifyOutName(
"_HLTNav_",
"HLTNav_" + comboName+
"_"+
str(inputName))
66 return HLTNodeName +
"_" + StepCFName
70 return "TriggerSummary" + StepCFName
74 return stepName + CFNaming.RECO_POSTFIX
78 return stepName + CFNaming.CONTENT_POSTFIX