CMS 3D CMS Logo

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

Go to the source code of this file.

Namespaces

 cmsLHEtoEOSManager
 

Functions

def cmsLHEtoEOSManager.articleExist
 
def cmsLHEtoEOSManager.fileUpload
 
def cmsLHEtoEOSManager.findXrdDir
 
def cmsLHEtoEOSManager.lastArticle
 

Variables

string cmsLHEtoEOSManager.__version__ = "$Revision: 1.13 $"
 
string cmsLHEtoEOSManager.action = 'store_true'
 
string cmsLHEtoEOSManager.default = ''
 
string cmsLHEtoEOSManager.defaultEOSchecksumCommand = 'xrdfs '
 
string cmsLHEtoEOSManager.defaultEOScpCommand = 'xrdcp -np '
 
string cmsLHEtoEOSManager.defaultEOSfeCommand = 'xrdfs '
 
string cmsLHEtoEOSManager.defaultEOSlistCommand = 'xrdfs '
 
string cmsLHEtoEOSManager.defaultEOSLoadPath = 'root://eoscms.cern.ch/'
 
string cmsLHEtoEOSManager.defaultEOSmkdirCommand = 'xrdfs '
 
string cmsLHEtoEOSManager.defaultEOSRootPath = '/eos/cms/store/lhe'
 
string cmsLHEtoEOSManager.dest = 'fileList'
 
tuple cmsLHEtoEOSManager.exeCheckIntegrity = subprocess.Popen(["/bin/sh","-c", theCheckIntegrityCommand])
 
tuple cmsLHEtoEOSManager.exeCheckSum = subprocess.Popen(["/afs/cern.ch/cms/caf/bin/cms_adler32",f], stdout=subprocess.PIPE, universal_newlines=True)
 
tuple cmsLHEtoEOSManager.exeCompression = subprocess.Popen(["/bin/sh","-c",theCompressionCommand])
 
tuple cmsLHEtoEOSManager.exeFullList = subprocess.Popen(["/bin/sh","-c",theCommand])
 
tuple cmsLHEtoEOSManager.exeList = subprocess.Popen(["/bin/sh","-c",theCommand], stdout=subprocess.PIPE, universal_newlines=True)
 
tuple cmsLHEtoEOSManager.exeUpload = subprocess.Popen(["/bin/sh","-c",theCommand])
 
tuple cmsLHEtoEOSManager.f = open(options.files_from)
 
tuple cmsLHEtoEOSManager.getCheckSum = subprocess.Popen(["awk", "{print $1}"], stdin=exeCheckSum.stdout, stdout=subprocess.PIPE, universal_newlines=True)
 
string cmsLHEtoEOSManager.help = 'LHE local file list to be uploaded, separated by ","'
 
tuple cmsLHEtoEOSManager.intCode = exeCheckIntegrity.wait()
 
tuple cmsLHEtoEOSManager.l = l.strip()
 
string cmsLHEtoEOSManager.listPath = defaultEOSRootPath+'/'
 
int cmsLHEtoEOSManager.newArt = 0
 
tuple cmsLHEtoEOSManager.oldArt = lastArticle()
 
tuple cmsLHEtoEOSManager.parser = optparse.OptionParser(usage)
 
 cmsLHEtoEOSManager.reallyDoIt = notoptions.dryRun
 
string cmsLHEtoEOSManager.theCheckIntegrityCommand = 'xmllint -noout '
 
list cmsLHEtoEOSManager.theCheckSumList = []
 
string cmsLHEtoEOSManager.theCommand = defaultEOSmkdirCommand+' '
 
list cmsLHEtoEOSManager.theCompressedFilesList = []
 
string cmsLHEtoEOSManager.theCompressionCommand = 'xz '
 
list cmsLHEtoEOSManager.theList = []
 
 cmsLHEtoEOSManager.type = int,
 
string cmsLHEtoEOSManager.uploadPath = ''
 
string cmsLHEtoEOSManager.usage = 'cmsLHEtoEOSManager.py <options>'