CMS 3D CMS Logo

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

Go to the source code of this file.

Namespaces

 filesave_online
 

Functions

def filesave_online.convert
 
def filesave_online.copy2dropbox
 
def filesave_online.filecheck
 

Variables

string filesave_online.DIR = '/home/dqmprolocal/output'
 
tuple filesave_online.dqmfile = fname_T.replace('Playback','DQM')
 For SiStrip files. More...
 
string filesave_online.exedir = '/home/dqmprolocal/filecopy'
 
list filesave_online.fhead = fname[:i]
 
list filesave_online.fheads = []
 extract head of file name (ex. More...
 
tuple filesave_online.file = fname.replace(fname[:fname.find('/DQM_')],FILEDIR)
 
string filesave_online.FILEDIR = '/data/dqm/dropbox'
 
string filesave_online.fname = fhead+'_R0000'
 extract single good file for single subsys More...
 
list filesave_online.fname_T = fname_Ts[i]
 
tuple filesave_online.fname_Ts = os.popen('ls -rt '+fhead+'_R????'+run+'_T*.root')
 
tuple filesave_online.i = tagfile.find('/tagfile_runend_')
 
tuple filesave_online.NEW_ = os.popen('find '+ DIR +'/ -type f -name "tagfile_runend_?????_*" -newer '+ TimeTag)
 ENDLESS LOOP WITH SLEEP. More...
 
tuple filesave_online.numbers = range(len(fname_Ts))
 
list filesave_online.pairs = []
 sort tag files by run number More...
 
tuple filesave_online.playbacks = glob.glob(DIR + '/Playback*SiStrip_R????' + run + '_T*.root')
 
list filesave_online.run = tagfile[i+16:i+21]
 
list filesave_online.Runs = []
 extract uniq runs More...
 
string filesave_online.server = 'srv-c2d05-19'
 
list filesave_online.subfiles = []
 extract new files & copy to dropbox More...
 
string filesave_online.TempTag = TimeTag+'-tmp'
 
string filesave_online.TimeTag = '/home/dqmprolocal/output/timetag'
 
string filesave_online.TMPDIR = '/data/dqm/.dropbox_tmp'
 
tuple filesave_online.tmpfile = fname.replace(fname[:fname.find('/DQM_')],TMPDIR)
 
tuple filesave_online.UniqHeads = list(Set(fheads))
 
tuple filesave_online.UniqRuns = list(Set(Runs))
 
int filesave_online.WAITTIME = 120