ATLAS Offline Software
Static Public Member Functions | Static Public Attributes | List of all members
MenuComponentsNaming.CFNaming Class Reference
Inheritance diagram for MenuComponentsNaming.CFNaming:
Collaboration diagram for MenuComponentsNaming.CFNaming:

Static Public Member Functions

def stepName (nstep)
 
def menuSequenceName (Hypo)
 
def filterName (ChainStepName)
 
def simplifyOutName (suffix, name)
 
def filterOutName (filter_name, filterIn)
 
def inputMakerOutName (IMname)
 
def hypoAlgOutName (HypoName)
 
def comboHypoName (HypoName)
 
def comboSequenceCopyName (SequenceName, ncopy, StepName)
 
def comboHypoCopyName (HypoName, ncopy, StepName)
 
def comboHypoOutputName (comboName, inputName)
 
def stepRecoNodeName (HLTNodeName, StepCFName)
 
def stepSummaryName (StepCFName)
 
def stepRecoName (stepName)
 
def stepContentName (stepName)
 

Static Public Attributes

 RECO_POSTFIX
 
 CONTENT_POSTFIX
 
 FILTER_POSTFIX
 

Detailed Description

Static Class to collect all string manipulations on CF object names 

Definition at line 5 of file MenuComponentsNaming.py.

Member Function Documentation

◆ 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)
59 

◆ comboHypoName()

def MenuComponentsNaming.CFNaming.comboHypoName (   HypoName)
static

Definition at line 43 of file MenuComponentsNaming.py.

43  def comboHypoName(HypoName):
44  return "ComboHypo_" + HypoName
45 

◆ 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))
63 

◆ 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:
49  sequence = []
50  for sq in SequenceName:
51  sequence.append("%s%d_for_%s"%(sq, ncopy, StepName))
52  return sequence
53  else:
54  return "%s%d_for_%s"%(SequenceName, ncopy, StepName)
55 

◆ filterName()

def MenuComponentsNaming.CFNaming.filterName (   ChainStepName)
static

Definition at line 21 of file MenuComponentsNaming.py.

21  def filterName(ChainStepName):
22  return "F" + ChainStepName
23 

◆ 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)
33 

◆ 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)
41 

◆ 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)
37 

◆ menuSequenceName()

def MenuComponentsNaming.CFNaming.menuSequenceName (   Hypo)
static

Definition at line 17 of file MenuComponentsNaming.py.

17  def menuSequenceName(Hypo):
18  return "S" + Hypo
19 

◆ 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", "")
28 
29 

◆ 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

Definition at line 13 of file MenuComponentsNaming.py.

13  def stepName(nstep):
14  return "Step%i"%(nstep+1)
15 

◆ 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
75 

◆ 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
67 

◆ stepSummaryName()

def MenuComponentsNaming.CFNaming.stepSummaryName (   StepCFName)
static

Definition at line 69 of file MenuComponentsNaming.py.

69  def stepSummaryName(StepCFName):
70  return "TriggerSummary" + StepCFName
71 

Member Data Documentation

◆ CONTENT_POSTFIX

MenuComponentsNaming.CFNaming.CONTENT_POSTFIX
static

Definition at line 9 of file MenuComponentsNaming.py.

◆ FILTER_POSTFIX

MenuComponentsNaming.CFNaming.FILTER_POSTFIX
static

Definition at line 10 of file MenuComponentsNaming.py.

◆ RECO_POSTFIX

MenuComponentsNaming.CFNaming.RECO_POSTFIX
static

Definition at line 8 of file MenuComponentsNaming.py.


The documentation for this class was generated from the following file:
replace
std::string replace(std::string s, const std::string &s2, const std::string &s3)
Definition: hcg.cxx:307
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
str
Definition: BTagTrackIpAccessor.cxx:11