CMS 3D CMS Logo

Functions | Variables
summaryLumi Namespace Reference

Functions

def lastcompleteFill (infile)
 
def listfilldir (indir)
 

Variables

 action
 
 allfillname
 
 allfillsFromDB
 
 amodetag
 
 authdir
 
 authpath
 
 bstatus
 
 clineElements
 
 connect
 
 cpp2sqltype
 
 dbname
 
 debugON
 
 default
 
 deliveredintl
 
 description
 
 dest
 
 exestat
 
 f
 
 file
 
 fillmax
 
 fillmin
 
 filloutdir
 
 fillstoprocess
 
 finalcmmd
 
 float
 
 formatter_class
 
 help
 
 isReadOnly
 
 lastcompletedFill
 
 lcount
 
 line
 
 lineList
 
 lines
 
 lslength
 
 lumip
 
 MAXFILL
 
 maxfillnum
 
 MINFILL
 
 ofile
 
 options
 
 parser
 

## Main Program

More...
 
 processedfills
 
 prog
 
 pydate
 
 required
 
 resultStr
 
 rundata
 
 runnum
 
 runtofilldqmfile
 
 schema
 
 session
 
 stablefillmap
 
 summaryfilename
 
 summaryfilenameTMP
 
 svc
 
 t
 
 timestamp
 
 True
 
 type
 
 unixts
 

Function Documentation

def summaryLumi.lastcompleteFill (   infile)

Definition at line 35 of file summaryLumi.py.

References createfilelist.int.

35 def lastcompleteFill(infile):
36  lastfill=None
37  hlinepat=r'(LASTCOMPLETEFILL )([0-9]{4})'
38  h=re.compile(hlinepat)
39  dqmfile=open(infile,'r')
40  for line in dqmfile:
41  result=h.match(line)
42  if result:
43  lastfill=result.group(2)
44  break
45  return int(lastfill)
46 
def lastcompleteFill(infile)
Definition: summaryLumi.py:35
def summaryLumi.listfilldir (   indir)

Definition at line 19 of file summaryLumi.py.

References createfilelist.int.

19 def listfilldir(indir):
20  fillnamepat=r'^[0-9]{4}$'
21  p=re.compile(fillnamepat)
22  processedfills=[]
23  dirList=os.listdir(indir)
24  for fname in dirList:
25  if p.match(fname) and os.path.isdir(os.path.join(indir,fname)):#found fill dir
26  allfs=os.listdir(os.path.join(indir,fname))
27  for myfile in allfs:
28  sumfilenamepat=r'^[0-9]{4}_bxsum_CMS.txt$'
29  s=re.compile(sumfilenamepat)
30  if s.match(myfile):
31  #only if fill_summary_CMS.txt file exists
32  processedfills.append(int(fname))
33  return processedfills
34 
def listfilldir(indir)
Definition: summaryLumi.py:19

Variable Documentation

summaryLumi.action

Definition at line 60 of file summaryLumi.py.

summaryLumi.allfillname

Definition at line 16 of file summaryLumi.py.

summaryLumi.allfillsFromDB

Definition at line 157 of file summaryLumi.py.

summaryLumi.amodetag

Definition at line 157 of file summaryLumi.py.

summaryLumi.authdir

Definition at line 149 of file summaryLumi.py.

summaryLumi.authpath

Definition at line 153 of file summaryLumi.py.

summaryLumi.bstatus

Definition at line 215 of file summaryLumi.py.

summaryLumi.clineElements

Definition at line 180 of file summaryLumi.py.

summaryLumi.connect

Definition at line 153 of file summaryLumi.py.

summaryLumi.cpp2sqltype

Definition at line 154 of file summaryLumi.py.

summaryLumi.dbname

Definition at line 148 of file summaryLumi.py.

Referenced by RPCDetId.operator<().

summaryLumi.debugON

Definition at line 153 of file summaryLumi.py.

summaryLumi.default

Definition at line 63 of file summaryLumi.py.

summaryLumi.deliveredintl

Definition at line 222 of file summaryLumi.py.

summaryLumi.description

Definition at line 56 of file summaryLumi.py.

summaryLumi.dest

Definition at line 59 of file summaryLumi.py.

summaryLumi.exestat

Definition at line 196 of file summaryLumi.py.

summaryLumi.f

Definition at line 200 of file summaryLumi.py.

summaryLumi.file

Definition at line 236 of file summaryLumi.py.

summaryLumi.fillmax

Definition at line 157 of file summaryLumi.py.

summaryLumi.fillmin

Definition at line 157 of file summaryLumi.py.

summaryLumi.filloutdir

Definition at line 226 of file summaryLumi.py.

summaryLumi.fillstoprocess

Definition at line 145 of file summaryLumi.py.

summaryLumi.finalcmmd

Definition at line 194 of file summaryLumi.py.

summaryLumi.float

Definition at line 124 of file summaryLumi.py.

summaryLumi.formatter_class

Definition at line 56 of file summaryLumi.py.

summaryLumi.help

Definition at line 62 of file summaryLumi.py.

summaryLumi.isReadOnly

Definition at line 154 of file summaryLumi.py.

summaryLumi.lastcompletedFill

Definition at line 160 of file summaryLumi.py.

summaryLumi.lcount

Definition at line 201 of file summaryLumi.py.

Referenced by edm::RootFile.fillIndexIntoFile().

summaryLumi.line

Definition at line 209 of file summaryLumi.py.

summaryLumi.lineList

Definition at line 210 of file summaryLumi.py.

summaryLumi.lines

Definition at line 202 of file summaryLumi.py.

summaryLumi.lslength

Definition at line 177 of file summaryLumi.py.

summaryLumi.lumip

Definition at line 176 of file summaryLumi.py.

summaryLumi.MAXFILL

Definition at line 15 of file summaryLumi.py.

summaryLumi.maxfillnum

Definition at line 146 of file summaryLumi.py.

summaryLumi.MINFILL

Definition at line 14 of file summaryLumi.py.

summaryLumi.ofile

Definition at line 234 of file summaryLumi.py.

summaryLumi.options

Definition at line 142 of file summaryLumi.py.

summaryLumi.parser

## Main Program

Definition at line 56 of file summaryLumi.py.

summaryLumi.processedfills

Definition at line 159 of file summaryLumi.py.

summaryLumi.prog

Definition at line 56 of file summaryLumi.py.

summaryLumi.pydate

Definition at line 217 of file summaryLumi.py.

summaryLumi.required

Definition at line 61 of file summaryLumi.py.

summaryLumi.resultStr

Definition at line 196 of file summaryLumi.py.

summaryLumi.rundata

Definition at line 239 of file summaryLumi.py.

summaryLumi.runnum
summaryLumi.runtofilldqmfile

Definition at line 17 of file summaryLumi.py.

summaryLumi.schema

Definition at line 156 of file summaryLumi.py.

summaryLumi.session

Definition at line 154 of file summaryLumi.py.

summaryLumi.stablefillmap

Definition at line 203 of file summaryLumi.py.

summaryLumi.summaryfilename

Definition at line 232 of file summaryLumi.py.

summaryLumi.summaryfilenameTMP

Definition at line 147 of file summaryLumi.py.

summaryLumi.svc

Definition at line 153 of file summaryLumi.py.

summaryLumi.t

Definition at line 216 of file summaryLumi.py.

summaryLumi.timestamp

Definition at line 214 of file summaryLumi.py.

summaryLumi.True

Definition at line 154 of file summaryLumi.py.

summaryLumi.type

Definition at line 119 of file summaryLumi.py.

summaryLumi.unixts

Definition at line 221 of file summaryLumi.py.