CMS 3D CMS Logo

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

Go to the source code of this file.

Namespaces

 createPayload
 

Functions

def createPayload.copyToWorkflowdir
 
def createPayload.mkWorkflowdir
 

Variables

string createPayload.allbeam_file = workflowdirArchive+"AllIOVs/"
 
tuple createPayload.allfile = open( allbeam_file, 'a')
 
tuple createPayload.alllines = mergedfile.readlines()
 
tuple createPayload.alumi = line.split()
 
string createPayload.alumis = ''
 
string createPayload.arun = ''
 
tuple createPayload.atime = line.split()
 
list createPayload.beam_file = sortedlist[key]
 WRITE sqlite file. More...
 
list createPayload.beam_file_tmp = workflowdirTmp+beam_file[beam_file.rfind('/')+1:]
 
list createPayload.block = alllines[i * 23: (i+1)*23]
 
 createPayload.checkType = tagType
 
string createPayload.destDB = 'oracle://cms_orcon_prod/CMS_COND_31X_BEAMSPOT'
 
tuple createPayload.dfile = open(metadata_file,'w')
 
string createPayload.dropbox = "/DropBox"
 
string createPayload.final_sqlite_file_name = tagname+'@'
 
string createPayload.iov_comment = 'Beam spot position'
 
string createPayload.iov_since = '1'
 
string createPayload.iov_since_first = '1'
 
string createPayload.iov_till = ''
 
string createPayload.IOVbase = 'runbase'
 
tuple createPayload.keys = sortedlist.keys()
 
list createPayload.line = block[0]
 
tuple createPayload.listoffiles = copyToWorkflowdir(option.data)
 
tuple createPayload.mergedfile = open(beam_file)
 
string createPayload.metadata_file = workflowdirTmp+sqlite_file_name+'.txt'
 
tuple createPayload.newtmpfile = open(beam_file_tmp,"w")
 
int createPayload.nfile = 0
 
tuple createPayload.npayloads = len(alllines)
 
string createPayload.optionstring = ''
 
tuple createPayload.readdb_template = os.getenv("CMSSW_BASE")
 
 createPayload.skip = False
 
dictionary createPayload.sortedlist = {}
 
string createPayload.sqlite_file = workflowdirTmp+sqlite_file_name+'.db'
 READ and check sqlite file. More...
 
 createPayload.sqlite_file_name = tagname+suffix
 
string createPayload.suffix = "_"
 
string createPayload.tagname = ''
 
string createPayload.tagType = ''
 
string createPayload.timetype = 'runnumber'
 
string createPayload.tmp_datafilename = workflowdirTmp+"tmp_datafile.txt"
 
string createPayload.tmp_lumi_since = ""
 
string createPayload.tmp_lumi_till = ""
 
string createPayload.tmp_run = ""
 
tuple createPayload.tmpfile = open(beam_file)
 
tuple createPayload.total_files = len(keys)
 
tuple createPayload.uuid = commands.getstatusoutput('uuidgen -t')
 
string createPayload.workflowdir = 'test/workflow/'
 3 More...
 
string createPayload.workflowdirArchive = workflowdir+'archive/'
 
string createPayload.workflowdirLastPayloads = workflowdir+'lastPayloads/'
 
string createPayload.workflowdirTmp = workflowdir+'tmp/'
 
tuple createPayload.writedb_template = os.getenv("CMSSW_BASE")