CMS 3D CMS Logo

Classes | Namespaces | Functions | Variables
CommonMethods.py File Reference

Go to the source code of this file.

Classes

class  CommonMethods.ParsingError
 

Namespaces

 CommonMethods
 

Functions

def CommonMethods.appendSqliteFile (combinedSqliteFileName, sqliteFileName, tagName, IOVSince, IOVTill, tmpDir="/tmp/")
 
def CommonMethods.checkLock ()
 
def CommonMethods.cmp_list_lumi (a, b)
 
def CommonMethods.cmp_list_run (a, b)
 
def CommonMethods.cp (fromDir, toDir, listOfFiles, overwrite=False, smallList=False)
 
def CommonMethods.createWeightedPayloads (fileName, listbeam=[], weighted=True)
 CREATE FILE FOR PAYLOADS. More...
 
def CommonMethods.createWeightedPayloadsNew (fileName, listbeam=[], weighted=True)
 
def CommonMethods.delta (x, xerr, nextx, nextxerr)
 
def CommonMethods.deltaSig (x)
 
def CommonMethods.dirExists (dir)
 
def CommonMethods.dump (beam, file)
 
def CommonMethods.dumpValues (beam, file)
 
def CommonMethods.exit (msg="")
 
def CommonMethods.isnan (num)
 
def CommonMethods.lock ()
 
def CommonMethods.ls (dir, filter="")
 
def CommonMethods.nonzero (self)
 
def CommonMethods.pack (high, low)
 lumi tools CondCore/Utilities/python/timeUnitHelper.py More...
 
def CommonMethods.parse (docstring, arglist=None)
 
def CommonMethods.readBeamSpotFile (fileName, listbeam=[], IOVbase="runbase", firstRun='1', lastRun='4999999999')
 
def CommonMethods.readSqliteFile (sqliteFileName, tagName, sqliteTemplateFile, tmpDir="/tmp/")
 
def CommonMethods.rmLock ()
 
def CommonMethods.sendEmail (mailList, error)
 General utilities. More...
 
def CommonMethods.setLockName (name)
 
def CommonMethods.sortAndCleanBeamList (listbeam=[], IOVbase="lumibase")
 Sort and clean list of data for consecutive duplicates and bad fits. More...
 
def CommonMethods.timeoutManager (type, timeout=-1, fileName=".timeout")
 
def CommonMethods.unpack (i)
 
def CommonMethods.unpackLumiid (i)
 
def CommonMethods.uploadSqliteFile (sqliteFileDirName, sqliteFileName, dropbox="/DropBox")
 
def CommonMethods.weight (x1, x1err, x2, x2err)
 
def CommonMethods.writeSqliteFile (sqliteFileName, tagName, timeType, beamSpotFile, sqliteTemplateFile, tmpDir="/tmp/")
 

Variables

 CommonMethods.__nonzero__
 
 CommonMethods.lockFile
 
 CommonMethods.USAGE
 OPTIONS. More...