Functions | |
def | convert |
def | copy2dropbox |
def | filecheck |
Variables | |
string | DIR = '/home/dqmprolocal/output' |
tuple | dqmfile = fname_T.replace('Playback','DQM') |
For SiStrip files. More... | |
string | exedir = '/home/dqmprolocal/filecopy' |
list | fhead = fname[:i] |
list | fheads = [] |
extract head of file name (ex. More... | |
tuple | file = fname.replace(fname[:fname.find('/DQM_')],FILEDIR) |
string | FILEDIR = '/data/dqm/dropbox' |
string | fname = fhead+'_R0000' |
extract single good file for single subsys More... | |
list | fname_T = fname_Ts[i] |
tuple | fname_Ts = os.popen('ls -rt '+fhead+'_R????'+run+'_T*.root') |
tuple | i = tagfile.find('/tagfile_runend_') |
tuple | NEW_ = os.popen('find '+ DIR +'/ -type f -name "tagfile_runend_?????_*" -newer '+ TimeTag) |
ENDLESS LOOP WITH SLEEP. More... | |
tuple | numbers = range(len(fname_Ts)) |
list | pairs = [] |
sort tag files by run number More... | |
tuple | playbacks = glob.glob(DIR + '/Playback*SiStrip_R????' + run + '_T*.root') |
list | run = tagfile[i+16:i+21] |
list | Runs = [] |
extract uniq runs More... | |
string | server = 'srv-c2d05-19' |
list | subfiles = [] |
extract new files & copy to dropbox More... | |
string | TempTag = TimeTag+'-tmp' |
string | TimeTag = '/home/dqmprolocal/output/timetag' |
string | TMPDIR = '/data/dqm/.dropbox_tmp' |
tuple | tmpfile = fname.replace(fname[:fname.find('/DQM_')],TMPDIR) |
tuple | UniqHeads = list(Set(fheads)) |
tuple | UniqRuns = list(Set(Runs)) |
int | WAITTIME = 120 |
def filesave_online.convert | ( | infile, | |
ofile | |||
) |
Definition at line 57 of file filesave_online.py.
def filesave_online.copy2dropbox | ( | org, | |
tmp, | |||
final | |||
) |
Definition at line 33 of file filesave_online.py.
def filesave_online.filecheck | ( | rootfile | ) |
Definition at line 15 of file filesave_online.py.
References SiPixelLorentzAngle_cfi.read, and split.
string filesave_online.DIR = '/home/dqmprolocal/output' |
Definition at line 8 of file filesave_online.py.
tuple filesave_online.dqmfile = fname_T.replace('Playback','DQM') |
For SiStrip files.
Definition at line 133 of file filesave_online.py.
string filesave_online.exedir = '/home/dqmprolocal/filecopy' |
Definition at line 7 of file filesave_online.py.
Definition at line 113 of file filesave_online.py.
list filesave_online.fheads = [] |
extract head of file name (ex.
'/home/dqmprolocal/output/DQM_SiStrip')
Definition at line 110 of file filesave_online.py.
tuple filesave_online.file = fname.replace(fname[:fname.find('/DQM_')],FILEDIR) |
Definition at line 140 of file filesave_online.py.
string filesave_online.FILEDIR = '/data/dqm/dropbox' |
Definition at line 10 of file filesave_online.py.
tuple filesave_online.fname = fhead+'_R0000' |
extract single good file for single subsys
Definition at line 119 of file filesave_online.py.
Definition at line 126 of file filesave_online.py.
Definition at line 120 of file filesave_online.py.
tuple filesave_online.i = tagfile.find('/tagfile_runend_') |
Definition at line 90 of file filesave_online.py.
tuple filesave_online.NEW_ = os.popen('find '+ DIR +'/ -type f -name "tagfile_runend_?????_*" -newer '+ TimeTag) |
ENDLESS LOOP WITH SLEEP.
search new tag files NEW_ = os.popen('find '+ DIR +'/ -type f -name "DQM_*_R?????????.root" -newer '+ TimeTag).read().split()
Definition at line 75 of file filesave_online.py.
tuple filesave_online.numbers = range(len(fname_Ts)) |
Definition at line 123 of file filesave_online.py.
Referenced by MuonGeometrySanityCheckCustomFrame.MuonGeometrySanityCheckCustomFrame().
list filesave_online.pairs = [] |
sort tag files by run number
Definition at line 88 of file filesave_online.py.
Referenced by AutoCorrMat.add(), TagProbeFitTreeProducer.analyze(), SiStripFedCablingBuilderFromDb.assignDcuAndDetIds(), IsoTrig.beginJob(), FastFedCablingHistosUsingDb.connections(), MultiHitGeneratorFromChi2.hitSets(), PixelTripletNoTipGenerator.hitTriplets(), PixelTripletLowPtGenerator.hitTriplets(), SMS.location(), DTRecSegment2DProducer.produce(), DTRecSegment2DExtendedProducer.produce(), DTClusterer.produce(), and tnp::TagProbePairMaker.run().
Definition at line 106 of file filesave_online.py.
Definition at line 91 of file filesave_online.py.
list filesave_online.Runs = [] |
extract uniq runs
Definition at line 96 of file filesave_online.py.
string filesave_online.server = 'srv-c2d05-19' |
Definition at line 12 of file filesave_online.py.
tuple filesave_online.subfiles = [] |
extract new files & copy to dropbox
Definition at line 104 of file filesave_online.py.
Definition at line 65 of file filesave_online.py.
string filesave_online.TimeTag = '/home/dqmprolocal/output/timetag' |
Definition at line 11 of file filesave_online.py.
string filesave_online.TMPDIR = '/data/dqm/.dropbox_tmp' |
Definition at line 9 of file filesave_online.py.
tuple filesave_online.tmpfile = fname.replace(fname[:fname.find('/DQM_')],TMPDIR) |
Definition at line 139 of file filesave_online.py.
Referenced by BeamMonitor.FitAndFill().
Definition at line 115 of file filesave_online.py.
Definition at line 99 of file filesave_online.py.
int filesave_online.WAITTIME = 120 |
Definition at line 62 of file filesave_online.py.