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.12 $"
 
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.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])
 
string cmsLHEtoEOSManager.help = 'LHE local file list to be uploaded, separated by ","'
 
tuple cmsLHEtoEOSManager.intCode = exeCheckIntegrity.wait()
 
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 '
 
string cmsLHEtoEOSManager.theCommand = defaultEOSmkdirCommand+' '
 
list cmsLHEtoEOSManager.theCompressedFilesList = []
 
string cmsLHEtoEOSManager.theCompressionCommand = 'xz '
 
tuple cmsLHEtoEOSManager.theList = options.fileList.split(',')
 
string cmsLHEtoEOSManager.uploadPath = ''
 
string cmsLHEtoEOSManager.usage = 'cmsLHEtoEOSManager.py <options>'