test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Namespaces | Functions | Variables
pixelLumiCalc.py File Reference

Go to the source code of this file.

Namespaces

 pixelLumiCalc
 

Functions

def pixelLumiCalc.parseInputFiles
 

Variables

string pixelLumiCalc.action = 'store_true'
 
list pixelLumiCalc.allowedActions = ['overview', 'recorded', 'lumibyls']
 
tuple pixelLumiCalc.c = checkforupdate.checkforupdate('pixeltagstatus.txt')
 
list pixelLumiCalc.cmsswWorkingBase = os.environ['CMSSW_BASE']
 
tuple pixelLumiCalc.dataidmap = lumiCalcAPI.runList(session.nominalSchema(),datatagid,runmin=reqrunmin,runmax=reqrunmax,fillmin=reqfillmin,fillmax=reqfillmax,startT=reqtimemin,stopT=reqtimemax,l1keyPattern=None,hltkeyPattern=None,amodetag=None,nominalEnergy=None,energyFlut=None,requiretrg=reqTrg,requirehlt=reqHlt,preselectedruns=filerunlist,lumitype='PIXEL')
 
tuple pixelLumiCalc.datatagid = revisionDML.getDataTagId(session.nominalSchema(),datatagname,lumitype='PIXEL')
 
 pixelLumiCalc.datatagname = options.datatag
 check datatag

More...
 
string pixelLumiCalc.default = 'frontier://LumiCalc/CMS_LUMI_PROD'
 arg to select exact hltpath or pattern More...
 
string pixelLumiCalc.dest = 'withoutNorm'
 switches More...
 
 pixelLumiCalc.filerunlist = None
 
tuple pixelLumiCalc.GrunsummaryData = lumiCalcAPI.runsummaryMap(session.nominalSchema(),irunlsdict,dataidmap,lumitype='PIXEL')
 ls level # More...
 
string pixelLumiCalc.help = 'command actions'
 
 pixelLumiCalc.hltname = options.hltpath
 
 pixelLumiCalc.hltpat = None
 
list pixelLumiCalc.iresults = []
 
dictionary pixelLumiCalc.irunlsdict = {}
 check run/ls list More...
 
tuple pixelLumiCalc.lute = lumiTime.lumiTime()
 
int pixelLumiCalc.normid = 0
 
tuple pixelLumiCalc.normmap = normDML.normIdByType(session.nominalSchema(),lumitype='PIXEL',defaultonly=True)
 
string pixelLumiCalc.normname = 'NONE'
 check normtag and get norm values if required More...
 
dictionary pixelLumiCalc.normvalueDict = {}
 
 pixelLumiCalc.noWarning = options.nowarning
 
tuple pixelLumiCalc.options = parser.parse_args()
 
tuple pixelLumiCalc.parser = argparse.ArgumentParser(prog=os.path.basename(sys.argv[0]),description = "Lumi Calculation Based on Pixel",formatter_class=argparse.ArgumentDefaultsHelpFormatter)
 

## Main Program

More...
 
 pixelLumiCalc.reqfillmax = None
 
 pixelLumiCalc.reqfillmin = None
 
 pixelLumiCalc.reqHlt = False
 
 pixelLumiCalc.reqrunmax = None
 
 pixelLumiCalc.reqrunmin = None
 
 pixelLumiCalc.reqtimemax = None
 
tuple pixelLumiCalc.reqtimemaxT = lute.StrToDatetime(reqtimemax,customfm='%m/%d/%y %H:%M:%S')
 
 pixelLumiCalc.reqtimemin = None
 
tuple pixelLumiCalc.reqtimeminT = lute.StrToDatetime(reqtimemin,customfm='%m/%d/%y %H:%M:%S')
 
 pixelLumiCalc.reqTrg = False
 
 pixelLumiCalc.required = False,
 arg to select exact run and ls More...
 
tuple pixelLumiCalc.result = lumiCalcAPI.lumiForIds(session.nominalSchema(),irunlsdict,dataidmap,runsummaryMap=GrunsummaryData,beamstatusfilter=None,timeFilter=timeFilter,normmap=normvalueDict,lumitype='PIXEL')
 
list pixelLumiCalc.rruns = []
 
tuple pixelLumiCalc.session = svc.openSession(isReadOnly=True,cpp2sqltype=[('unsigned int','NUMBER(10)'),('unsigned long long','NUMBER(20)')])
 
tuple pixelLumiCalc.svc
 pre-check option compatibility More...
 
list pixelLumiCalc.thiscmmd = sys.argv[0]
 
list pixelLumiCalc.timeFilter = [None,None]
 
 pixelLumiCalc.type = int,
 global scale factor More...
 
string pixelLumiCalc.updateversion = 'NONE'
 
tuple pixelLumiCalc.updateversionList = c.checkforupdate(workingversion,isverbose=False)
 
string pixelLumiCalc.workingversion = 'UNKNOWN'
 check working environment More...