CMS 3D CMS Logo

Namespaces | Functions | Variables

/data/refman/pasoursint/CMSSW_5_3_6/src/RecoVertex/BeamSpotProducer/scripts/createPayload.py File Reference

Go to the source code of this file.

Namespaces

namespace  createPayload

Functions

def createPayload::copyToWorkflowdir
def createPayload::mkWorkflowdir

Variables

string createPayload::allbeam_file = "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.
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 = '@'
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 = '.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 = '.db'
 READ and check sqlite file.
 createPayload::sqlite_file_name = tagname+suffix
string createPayload::suffix = "_"
string createPayload::tagname = ''
string createPayload::tagType = ''
string createPayload::timetype = 'runnumber'
string createPayload::tmp_datafilename = "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/'
string createPayload::workflowdirArchive = 'archive/'
string createPayload::workflowdirLastPayloads = 'lastPayloads/'
string createPayload::workflowdirTmp = 'tmp/'
tuple createPayload::writedb_template = os.getenv("CMSSW_BASE")