CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Variables
lumiNorm Namespace Reference

Variables

string action = 'store'
 
tuple allnorms = normDML.allNorms(dbsession.nominalSchema())
 
list allowedActions = ['list','create','insert','setdefault','unsetdefault']
 
list amodetag = normvalueDict['amodetag']
 
tuple branchinfo = (revision_id,'NORM')
 
string commentStr = ''
 
list correctorStr = normvalueDict['corrector']
 
tuple dbsession = svc.openSession(isReadOnly=False,cpp2sqltype=[('unsigned int','NUMBER(10)'),('unsigned long long','NUMBER(20)')])
 create,insert More...
 
 default = None,
 
string dest = 'connect'
 
list detailcomment = normvalueDict['comment']
 
tuple egev = int(normvalueDict['egev'])
 
string help = 'connect string to lumiDB,optional'
 
int istypedefault = 0
 
tuple luminormidmap = normDML.normIdByType(dbsession.nominalSchema(),lumitype=options.lumitype,defaultonly=False)
 
string lumitype = 'HF'
 
tuple normdata = normfileparser.parse()
 
tuple normdata_id = normDML.normIdByName(dbsession.nominalSchema(),normname)
 
list normdataid = norminfo[0]
 
list normdefinitionDict = normdata[0]
 
tuple normfileparser = normFileParser.normFileParser(options.normfile)
 
tuple norminfo = normDML.normInfoByName(dbsession.nominalSchema(),options.normname)
 
string normname = ''
 
list normvalues = normdata[1]
 
tuple options = parser.parse_args()
 
dictionary parameterDict = {}
 
tuple parser = argparse.ArgumentParser(prog=os.path.basename(sys.argv[0]),description="Luminosity normalization/correction management tool",formatter_class=argparse.ArgumentDefaultsHelpFormatter)
 

## Main Program

More...
 
 required = False,
 
tuple sincerun = int(normvalueDict['since'])
 
tuple svc = sessionManager.sessionManager(options.connect,authpath=options.authpath,siteconfpath=options.siteconfpath)
 pre-check option compatibility More...
 

Variable Documentation

string lumiNorm.action = 'store'

Definition at line 26 of file lumiNorm.py.

tuple lumiNorm.allnorms = normDML.allNorms(dbsession.nominalSchema())

Definition at line 164 of file lumiNorm.py.

list lumiNorm.allowedActions = ['list','create','insert','setdefault','unsetdefault']

Definition at line 22 of file lumiNorm.py.

list lumiNorm.amodetag = normvalueDict['amodetag']

Definition at line 125 of file lumiNorm.py.

tuple lumiNorm.branchinfo = (revision_id,'NORM')

Definition at line 111 of file lumiNorm.py.

list lumiNorm.commentStr = ''

Definition at line 105 of file lumiNorm.py.

list lumiNorm.correctorStr = normvalueDict['corrector']

Definition at line 120 of file lumiNorm.py.

tuple lumiNorm.dbsession = svc.openSession(isReadOnly=False,cpp2sqltype=[('unsigned int','NUMBER(10)'),('unsigned long long','NUMBER(20)')])

create,insert

list

setdefault/unsetdefault

Definition at line 82 of file lumiNorm.py.

lumiNorm.default = None,

Definition at line 52 of file lumiNorm.py.

string lumiNorm.dest = 'connect'

Definition at line 25 of file lumiNorm.py.

list lumiNorm.detailcomment = normvalueDict['comment']

Definition at line 127 of file lumiNorm.py.

tuple lumiNorm.egev = int(normvalueDict['egev'])

Definition at line 126 of file lumiNorm.py.

string lumiNorm.help = 'connect string to lumiDB,optional'

Definition at line 28 of file lumiNorm.py.

tuple lumiNorm.istypedefault = 0

Definition at line 102 of file lumiNorm.py.

tuple lumiNorm.luminormidmap = normDML.normIdByType(dbsession.nominalSchema(),lumitype=options.lumitype,defaultonly=False)

Definition at line 158 of file lumiNorm.py.

list lumiNorm.lumitype = 'HF'

Definition at line 96 of file lumiNorm.py.

tuple lumiNorm.normdata = normfileparser.parse()

Definition at line 84 of file lumiNorm.py.

tuple lumiNorm.normdata_id = normDML.normIdByName(dbsession.nominalSchema(),normname)

Definition at line 114 of file lumiNorm.py.

list lumiNorm.normdataid = norminfo[0]

Definition at line 154 of file lumiNorm.py.

list lumiNorm.normdefinitionDict = normdata[0]

Definition at line 85 of file lumiNorm.py.

tuple lumiNorm.normfileparser = normFileParser.normFileParser(options.normfile)

Definition at line 83 of file lumiNorm.py.

tuple lumiNorm.norminfo = normDML.normInfoByName(dbsession.nominalSchema(),options.normname)

Definition at line 153 of file lumiNorm.py.

list lumiNorm.normname = ''

Definition at line 88 of file lumiNorm.py.

tuple lumiNorm.normvalues = normdata[1]

Definition at line 86 of file lumiNorm.py.

tuple lumiNorm.options = parser.parse_args()

Definition at line 58 of file lumiNorm.py.

dictionary lumiNorm.parameterDict = {}

Definition at line 129 of file lumiNorm.py.

tuple lumiNorm.parser = argparse.ArgumentParser(prog=os.path.basename(sys.argv[0]),description="Luminosity normalization/correction management tool",formatter_class=argparse.ArgumentDefaultsHelpFormatter)

## Main Program

Definition at line 21 of file lumiNorm.py.

lumiNorm.required = False,

Definition at line 27 of file lumiNorm.py.

tuple lumiNorm.sincerun = int(normvalueDict['since'])

Definition at line 121 of file lumiNorm.py.

tuple lumiNorm.svc = sessionManager.sessionManager(options.connect,authpath=options.authpath,siteconfpath=options.siteconfpath)

pre-check option compatibility

Definition at line 77 of file lumiNorm.py.