CMS 3D CMS Logo

Classes | Functions | Variables
normFunctors Namespace Reference

Classes

class  normFunctionFactory
 

Functions

def normFunctionCaller (funcName, args, kwds)
 

Variables

 argvals
 
 constParams
 
 intglumi
 
 luminonorm
 
 nBXs
 
 polyParams
 

Function Documentation

def normFunctors.normFunctionCaller (   funcName,
  args,
  kwds 
)

Definition at line 49 of file normFunctors.py.

Referenced by lumiCalcAPI.deliveredLumiForIds().

49 def normFunctionCaller(funcName,*args,**kwds):
51  try:
52  myfunc=getattr(fac,funcName,None)
53  except AttributeError:
54  print '[ERROR] unknown correction function '+funcName
55  raise
56  if callable(myfunc):
57  return myfunc(*args,**kwds)
58  else:
59  raise ValueError('uncallable function '+funcName)
def normFunctionCaller(funcName, args, kwds)
Definition: normFunctors.py:49

Variable Documentation

normFunctors.argvals

Definition at line 66 of file normFunctors.py.

normFunctors.constParams

Definition at line 65 of file normFunctors.py.

normFunctors.intglumi
normFunctors.luminonorm
normFunctors.nBXs
normFunctors.polyParams

Definition at line 68 of file normFunctors.py.