CMS 3D CMS Logo

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

Go to the source code of this file.

Namespaces

 checklumidiff
 

Functions

def checklumidiff.findlpcdir
 
def checklumidiff.parseplotcache
 

Variables

int checklumidiff.dellumi = 0
 
int checklumidiff.delta = 0
 
int checklumidiff.fillmin = 2450
 
tuple checklumidiff.l = open(lpcfile,'rb')
 
tuple checklumidiff.line = line.strip()
 
tuple checklumidiff.lpcdelperrun = float(rundataline[3])
 
string checklumidiff.lpcdir = '/afs/cern.ch/cms/CAF/CMSCOMM/COMM_GLOBAL/LHCFILES/'
 
tuple checklumidiff.lpcfile = os.path.join(lpcdir,str(fill),str(fill)+'_summary_CMS.txt')
 
tuple checklumidiff.lpcfill2012 = findlpcdir(lpcdir,fillmin)
 
dictionary checklumidiff.lpcresult = {}
 
int checklumidiff.lumi_lpc = 0
 
int checklumidiff.lumi_pplot = 0
 
int checklumidiff.nrun_lpc = 0
 
int checklumidiff.nruns_pplot = 0
 
tuple checklumidiff.ofile = open('checklumi.log','w')
 
string checklumidiff.plotcachedir = '/afs/cern.ch/cms/lumi/www/publicplots/public_lumi_plots_cache/pp_all'
 
list checklumidiff.plotfiles = [f for f in glob.glob(os.path.join(plotcachedir,'lumicalc_cache_2012-??-??.csv')) if os.path.getsize(f)>0]
 
dictionary checklumidiff.plotfilldata = {}
 
tuple checklumidiff.rundataline = line.split()
 
list checklumidiff.runs = plotfilldata[fill]
 
 checklumidiff.tot_diff = tot_lumipplot-tot_lumilpc
 
int checklumidiff.tot_lumilpc = 0
 
int checklumidiff.tot_lumipplot = 0
 
int checklumidiff.tot_nrunlpc = 0
 
int checklumidiff.tot_nrunpplot = 0
 
int checklumidiff.tot_rel = 0