test
CMS 3D CMS Logo

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

Go to the source code of this file.

Namespaces

 lumiCalc2
 

Functions

def lumiCalc2.parseInputFiles
 

Variables

string lumiCalc2.action = 'store_true'
 
list lumiCalc2.allowedActions = ['overview', 'delivered', 'recorded', 'lumibyls','lumibylsXing']
 
list lumiCalc2.amodetagChoices = [ "PROTPHYS","IONPHYS",'PAPHYS' ]
 
list lumiCalc2.beamChoices = ['PROTPHYS','IONPHYS','PAPHYS']
 
list lumiCalc2.beamModeChoices = [ "stable"]
 
tuple lumiCalc2.c = checkforupdate.checkforupdate()
 
 lumiCalc2.choices = amodetagChoices,
 ls filter More...
 
list lumiCalc2.cmsswWorkingBase = os.environ['CMSSW_BASE']
 
tuple lumiCalc2.dataidmap = lumiCalcAPI.runList(session.nominalSchema(),datatagid,runmin=reqrunmin,runmax=reqrunmax,fillmin=reqfillmin,fillmax=reqfillmax,startT=reqtimemin,stopT=reqtimemax,l1keyPattern=None,hltkeyPattern=None,amodetag=options.amodetag,nominalEnergy=options.beamenergy,energyFlut=options.beamfluctuation,requiretrg=reqTrg,requirehlt=reqHlt,preselectedruns=filerunlist)
 
tuple lumiCalc2.datatagid = revisionDML.getDataTagId(session.nominalSchema(),datatagname)
 
 lumiCalc2.datatagname = options.datatag
 check datatag

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

## Main Program

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