test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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.defaultEOScpCommand = 'xrdcp -np '
 
string cmsLHEtoEOSManager.defaultEOSfeCommand = 'xrd eoscms existfile '
 
string cmsLHEtoEOSManager.defaultEOSlistCommand = 'xrd eoscms dirlist '
 
string cmsLHEtoEOSManager.defaultEOSLoadPath = 'root://eoscms/'
 
string cmsLHEtoEOSManager.defaultEOSmkdirCommand = 'xrd eoscms mkdir '
 
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)
 
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)
 
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)
 
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 = []
 
string cmsLHEtoEOSManager.uploadPath = ''
 
string cmsLHEtoEOSManager.usage = 'cmsLHEtoEOSManager.py <options>'