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 50 of file normFunctors.py.

References edm.print().

Referenced by lumiCalcAPI.deliveredLumiForIds().

50 def normFunctionCaller(funcName,*args,**kwds):
52  try:
53  myfunc=getattr(fac,funcName,None)
54  except AttributeError:
55  print('[ERROR] unknown correction function '+funcName)
56  raise
57  if callable(myfunc):
58  return myfunc(*args,**kwds)
59  else:
60  raise ValueError('uncallable function '+funcName)
def normFunctionCaller(funcName, args, kwds)
Definition: normFunctors.py:50
S & print(S &os, JobReport::InputFile const &f)
Definition: JobReport.cc:66

Variable Documentation

normFunctors.argvals

Definition at line 67 of file normFunctors.py.

normFunctors.constParams

Definition at line 66 of file normFunctors.py.

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

Definition at line 69 of file normFunctors.py.