CMS 3D CMS Logo

Functions
relval_upgrade Namespace Reference

Functions

def makeStepName (key, frag, step, suffix)
 
def makeStepNameSim (key, frag, step, suffix)
 
def nano (s)
 

Function Documentation

◆ makeStepName()

def relval_upgrade.makeStepName (   key,
  frag,
  step,
  suffix 
)

Definition at line 15 of file relval_upgrade.py.

15 def makeStepName(key,frag,step,suffix):
16  return step+suffix+'_'+key
17 
18 #just define all of them
19 

References mps_setup.append, and python.rootplot.root2matplotlib.replace().

◆ makeStepNameSim()

def relval_upgrade.makeStepNameSim (   key,
  frag,
  step,
  suffix 
)

Definition at line 12 of file relval_upgrade.py.

12 def makeStepNameSim(key,frag,step,suffix):
13  return frag+'_'+key+'_'+step+suffix
14 

◆ nano()

def relval_upgrade.nano (   s)

Definition at line 97 of file relval_upgrade.py.

97  def nano(s):
98  if "Nano" in s:
99  if "_" in s:
100  return s.replace("_", "PUPRMXCombined_")
101  return s+"PUPRMXCombined"
102  return s

References list(), genParticles_cff.map, and python.rootplot.root2matplotlib.replace().

relval_upgrade.makeStepNameSim
def makeStepNameSim(key, frag, step, suffix)
Definition: relval_upgrade.py:12
relval_upgrade.nano
def nano(s)
Definition: relval_upgrade.py:97
relval_upgrade.makeStepName
def makeStepName(key, frag, step, suffix)
Definition: relval_upgrade.py:15