Classes | |
class | normFunctionFactory |
Functions | |
def | normFunctionCaller |
Variables | |
list | argvals = [luminonorm,intglumi,nBXs,0.0,0.0] |
dictionary | constParams = {'a0':1.0} |
float | intglumi = 3.309 |
float | luminonorm = 0.5061 |
int | nBXs = 1331 |
dictionary | polyParams = {'a0':7.268,'a1':0.063,'a2':-0.0037,'drift':0.01258,'c1':6.37,'afterglow':'[(213,0.992), (321,0.99), (423,0.988), (597,0.985), (700,0.984), (873,0.981), (1041,0.979), (1179,0.977),(1317,0.975)]'} |
def normFunctors::normFunctionCaller | ( | funcName, | |
args, | |||
kwds | |||
) |
Definition at line 49 of file normFunctors.py.
00050 : 00051 fac=normFunctionFactory() 00052 try: 00053 myfunc=getattr(fac,funcName,None) 00054 except AttributeError: 00055 print '[ERROR] unknown correction function '+funcName 00056 raise 00057 if callable(myfunc): 00058 return myfunc(*args,**kwds) 00059 else: raise ValueError('uncallable function '+funcName)
list normFunctors::argvals = [luminonorm,intglumi,nBXs,0.0,0.0] |
Definition at line 66 of file normFunctors.py.
dictionary normFunctors::constParams = {'a0':1.0} |
Definition at line 65 of file normFunctors.py.
float normFunctors::intglumi = 3.309 |
Definition at line 63 of file normFunctors.py.
float normFunctors::luminonorm = 0.5061 |
Definition at line 62 of file normFunctors.py.
int normFunctors::nBXs = 1331 |
Definition at line 64 of file normFunctors.py.
dictionary normFunctors::polyParams = {'a0':7.268,'a1':0.063,'a2':-0.0037,'drift':0.01258,'c1':6.37,'afterglow':'[(213,0.992), (321,0.99), (423,0.988), (597,0.985), (700,0.984), (873,0.981), (1041,0.979), (1179,0.977),(1317,0.975)]'} |
Definition at line 68 of file normFunctors.py.