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

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

Definition at line 15 of file relval_upgrade.py.

References mps_setup.append.

15 def makeStepName(key,frag,step,suffix):
16  return step+suffix+'_'+key
17 
18 #just define all of them
19 
def makeStepName(key, frag, step, suffix)
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 
def makeStepNameSim(key, frag, step, suffix)
def relval_upgrade.nano (   s)

Definition at line 93 of file relval_upgrade.py.

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

93  def nano(s):
94  if "Nano" in s:
95  if "_" in s:
96  return s.replace("_", "PUPRMXCombined_")
97  return s+"PUPRMXCombined"
98  return s