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
 
 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 34 of file summaryLumi.py.

References createfilelist.int.

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

Definition at line 18 of file summaryLumi.py.

References createfilelist.int.

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

Variable Documentation

summaryLumi.action

Definition at line 59 of file summaryLumi.py.

summaryLumi.allfillname

Definition at line 15 of file summaryLumi.py.

summaryLumi.allfillsFromDB

Definition at line 156 of file summaryLumi.py.

summaryLumi.amodetag

Definition at line 156 of file summaryLumi.py.

summaryLumi.authdir

Definition at line 148 of file summaryLumi.py.

summaryLumi.authpath

Definition at line 152 of file summaryLumi.py.

summaryLumi.bstatus

Definition at line 214 of file summaryLumi.py.

summaryLumi.clineElements

Definition at line 179 of file summaryLumi.py.

summaryLumi.connect

Definition at line 152 of file summaryLumi.py.

summaryLumi.cpp2sqltype

Definition at line 153 of file summaryLumi.py.

summaryLumi.dbname

Definition at line 147 of file summaryLumi.py.

Referenced by RPCDetId.operator<().

summaryLumi.debugON

Definition at line 152 of file summaryLumi.py.

summaryLumi.default

Definition at line 62 of file summaryLumi.py.

summaryLumi.deliveredintl

Definition at line 221 of file summaryLumi.py.

summaryLumi.description

Definition at line 55 of file summaryLumi.py.

summaryLumi.dest

Definition at line 58 of file summaryLumi.py.

summaryLumi.exestat

Definition at line 195 of file summaryLumi.py.

summaryLumi.f

Definition at line 199 of file summaryLumi.py.

summaryLumi.fillmax

Definition at line 156 of file summaryLumi.py.

summaryLumi.fillmin

Definition at line 156 of file summaryLumi.py.

summaryLumi.filloutdir

Definition at line 225 of file summaryLumi.py.

summaryLumi.fillstoprocess

Definition at line 144 of file summaryLumi.py.

summaryLumi.finalcmmd

Definition at line 193 of file summaryLumi.py.

summaryLumi.float

Definition at line 123 of file summaryLumi.py.

summaryLumi.formatter_class

Definition at line 55 of file summaryLumi.py.

summaryLumi.help

Definition at line 61 of file summaryLumi.py.

summaryLumi.isReadOnly

Definition at line 153 of file summaryLumi.py.

summaryLumi.lastcompletedFill

Definition at line 159 of file summaryLumi.py.

summaryLumi.lcount

Definition at line 200 of file summaryLumi.py.

Referenced by edm::RootFile.fillIndexIntoFile().

summaryLumi.line

Definition at line 208 of file summaryLumi.py.

summaryLumi.lineList

Definition at line 209 of file summaryLumi.py.

summaryLumi.lines

Definition at line 201 of file summaryLumi.py.

summaryLumi.lslength

Definition at line 176 of file summaryLumi.py.

summaryLumi.lumip

Definition at line 175 of file summaryLumi.py.

summaryLumi.MAXFILL

Definition at line 14 of file summaryLumi.py.

summaryLumi.maxfillnum

Definition at line 145 of file summaryLumi.py.

summaryLumi.MINFILL

Definition at line 13 of file summaryLumi.py.

summaryLumi.ofile

Definition at line 233 of file summaryLumi.py.

summaryLumi.options

Definition at line 141 of file summaryLumi.py.

summaryLumi.parser

## Main Program

Definition at line 55 of file summaryLumi.py.

summaryLumi.processedfills

Definition at line 158 of file summaryLumi.py.

summaryLumi.prog

Definition at line 55 of file summaryLumi.py.

summaryLumi.pydate

Definition at line 216 of file summaryLumi.py.

summaryLumi.required

Definition at line 60 of file summaryLumi.py.

summaryLumi.resultStr

Definition at line 195 of file summaryLumi.py.

summaryLumi.rundata

Definition at line 238 of file summaryLumi.py.

summaryLumi.runnum
summaryLumi.runtofilldqmfile

Definition at line 16 of file summaryLumi.py.

summaryLumi.schema

Definition at line 155 of file summaryLumi.py.

summaryLumi.session

Definition at line 153 of file summaryLumi.py.

summaryLumi.stablefillmap

Definition at line 202 of file summaryLumi.py.

summaryLumi.summaryfilename

Definition at line 231 of file summaryLumi.py.

summaryLumi.summaryfilenameTMP

Definition at line 146 of file summaryLumi.py.

summaryLumi.svc

Definition at line 152 of file summaryLumi.py.

summaryLumi.t

Definition at line 215 of file summaryLumi.py.

summaryLumi.timestamp

Definition at line 213 of file summaryLumi.py.

summaryLumi.True

Definition at line 153 of file summaryLumi.py.

summaryLumi.type

Definition at line 118 of file summaryLumi.py.

summaryLumi.unixts

Definition at line 220 of file summaryLumi.py.