ViewVC Help
View File | Revision Log | Show Annotations | Root Listing
root/cvsroot/UserCode/andersj/HcalPlotter/tests_scp.py
(Generate patch)

Comparing UserCode/andersj/HcalPlotter/tests_scp.py (file contents):
Revision 1.2 by andersj, Thu Aug 18 19:50:17 2011 UTC vs.
Revision 1.3 by andersj, Tue Oct 18 20:26:10 2011 UTC

# Line 30 | Line 30 | process.maxEvents = cms.untracked.PSet(
30      input = cms.untracked.int32(-1)
31   )
32   inFileName = 'EcalHcalCombined2011_{0:08d}.0.root'.format(RUNNUMBER)
33 < if not os.access('moe5/{0}'.format(inFileName), os.R_OK):
33 > if not os.access('tb_data/{0}'.format(inFileName), os.R_OK):
34      cmd = ['scp','-Cp','daq@cmsmoe5:/data0/spool/{0}'.format(inFileName),
35 <           'moe5/{0}'.format(inFileName)]
35 >           'tb_data/{0}'.format(inFileName)]
36      print ' '.join(cmd)
37      subprocess.call(cmd)
38      
39  
40   process.source = cms.Source("PoolSource",
41      fileNames = cms.untracked.vstring(
42 <    "file:moe5/{0}".format(inFileName),
42 >    "file:tb_data/{0}".format(inFileName),
43      )
44   )
45  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines