CMS 3D CMS Logo

Namespaces | Functions | Variables

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/RecoLuminosity/LumiDB/python/revisionDML.py File Reference

Go to the source code of this file.

Namespaces

namespace  revisionDML

Functions

def revisionDML::addEntry
def revisionDML::addRevision
def revisionDML::addRunToCurrentDataTag
def revisionDML::alldataTags
def revisionDML::bookNewEntry
def revisionDML::bookNewRevision
def revisionDML::branchInfoByName
def revisionDML::branchType
def revisionDML::createBranch
def revisionDML::createDataTag
 Data Tagging API.
def revisionDML::currentDataTag
def revisionDML::dataIdsByCurrentTag
def revisionDML::dataIdsByTagId
def revisionDML::dataIdsByTagName
def revisionDML::dataRevisionsOfEntry
def revisionDML::dataTagInfo
def revisionDML::entryInBranch
def revisionDML::getDataTagId
def revisionDML::latestDataRevisionOfEntry
def revisionDML::revisionsInBranch
def revisionDML::revisionsInBranchName
def revisionDML::revisionsInTag

Variables

tuple revisionDML::databranchinfo = (branchid,'DATA')
tuple revisionDML::datainfo = createBranch(schema,'DATA','TRUNK',comment='hold data')
tuple revisionDML::entryinfo = (revision_id,entry_id,str(runnum),data_id)
tuple revisionDML::hltentryid = entryInBranch(schema,nameDealer.hltdataTableName(),str(runnum),'DATA')
tuple revisionDML::latestrevision = latestDataRevisionOfEntry(schema,nameDealer.lumidataTableName(),lumientry_id,revlist)
tuple revisionDML::lumientry_id = entryInBranch(schema,nameDealer.lumidataTableName(),'1211','DATA')
tuple revisionDML::lumientryid = entryInBranch(schema,nameDealer.lumidataTableName(),str(runnum),'DATA')
string revisionDML::myconstr = 'sqlite_file:test.db'
tuple revisionDML::norminfo = createBranch(schema,'NORM','TRUNK',comment='hold normalization factor')
tuple revisionDML::revisioninfo = bookNewRevision( schema,nameDealer.lumidataTableName() )
tuple revisionDML::revlist = revisionsInBranchName(schema,'DATA')
tuple revisionDML::schema = session.nominalSchema()
tuple revisionDML::session = svc.openSession(isReadOnly=False,cpp2sqltype=[('unsigned int','NUMBER(10)'),('unsigned long long','NUMBER(20)')])
tuple revisionDML::svc = sessionManager.sessionManager(myconstr,debugON=False)
tuple revisionDML::tables = lumidbDDL.createTables(schema)
tuple revisionDML::trgentryid = entryInBranch(schema,nameDealer.trgdataTableName(),str(runnum),'DATA')
tuple revisionDML::trunkinfo = createBranch(schema,'TRUNK',None,comment='main')