CMS 3D CMS Logo

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

Go to the source code of this file.

Namespaces

 dqmPostProcessing_online
 

Functions

def dqmPostProcessing_online.filecheck
 
def dqmPostProcessing_online.sendmail
 

Variables

list dqmPostProcessing_online.allOldFiles = []
 
string dqmPostProcessing_online.DB = '/home/dqm/dqm.db'
 
string dqmPostProcessing_online.destdir = "%s/%s/%s"
 
string dqmPostProcessing_online.destfile = "%s/DQM_V%04d_R%s.root"
 
string dqmPostProcessing_online.DIR = '/data/dqm/dropbox'
 
string dqmPostProcessing_online.DONEDIR = '/data/dqm/done'
 
string dqmPostProcessing_online.donedir = "%s/%s/%s"
 
string dqmPostProcessing_online.donefile = "%s/%s/%s/%s"
 
list dqmPostProcessing_online.existing = [long(x) for x in os.popen("sqlite3 %s 'select distinct runnr from t_data'" % TMPDB).read().split()]
 
string dqmPostProcessing_online.f = "%s/%s"
 
string dqmPostProcessing_online.FILEDIR = '/data/dqm/merged'
 
list dqmPostProcessing_online.files = NEW[run]
 
string dqmPostProcessing_online.logfile = "%s.log"
 
tuple dqmPostProcessing_online.LOGFILE = open(logfile, 'a')
 
int dqmPostProcessing_online.MAX_RUNS = 10
 
int dqmPostProcessing_online.MAX_TOTAL_RUNS = 400
 
dictionary dqmPostProcessing_online.NEW = {}
 
tuple dqmPostProcessing_online.newer = sorted([x for x in existing if x > runnr])
 
list dqmPostProcessing_online.newFiles = []
 
int dqmPostProcessing_online.NFOUND = 0
 
int dqmPostProcessing_online.NRUNS = 0
 search new files More...
 
tuple dqmPostProcessing_online.older = sorted([x for x in existing if x < runnr])
 
tuple dqmPostProcessing_online.oldfiles = sorted(glob.glob("%s/DQM_V????_R%s.root" % (destdir, runnr)))
 
list dqmPostProcessing_online.runnr = f[-14:-5]
 
string dqmPostProcessing_online.ServerMail = "dqm@srv-C2D05-19.cms"
 
string dqmPostProcessing_online.TMPDB = '/home/dqm/dqm.db.tmp'
 
string dqmPostProcessing_online.tmpdestfile = "%s.tmp"
 
tuple dqmPostProcessing_online.version = int(oldfiles[0][-20:-16])
 
int dqmPostProcessing_online.WAITTIME = 120
 
string dqmPostProcessing_online.YourMail = "lilopera@cern.ch"