CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Functions
uploadPayloads Namespace Reference

Classes

class  FileObj
 

Functions

def main
 

Function Documentation

def uploadPayloads.main ( )

Definition at line 14 of file uploadPayloads.py.

References print(), submitPVValidationJobs.split(), and CommonMethods.uploadSqliteFile().

14 
15 def main():
16  payloadDir = "./Payloads_Repro2010Nov09/"
17  aCommand = "ls " + payloadDir + " | grep BeamSpotObjects_2009_LumiBased_ | grep txt"
18  output = subprocess.getstatusoutput( aCommand )
19  listOfFiles = output[1].split('\n')
20 # print listOfFiles
21  dropbox = "/DropBox"
22  for fileName in listOfFiles:
23  fileNameRoot = fileName[0:len(fileName)-4]
24  print(fileNameRoot)
25  uploadSqliteFile(payloadDir, fileNameRoot, dropbox)
26 
27 
28 
void print(TMatrixD &m, const char *label=nullptr, bool mathematicaFormat=false)
Definition: Utilities.cc:47