CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
nameDealer Namespace Reference

Functions

def cmsrunsummaryTableName
 
def commonTables
 
def entryTableName
 
def fillschemeTableName
 
def hltdataTableName
 
def hltTableName
 
def idTableColumnDefinition
 
def idTableName
 
def intglumiTableName
 
def intglumiv2TableName
 
def lshltTableName
 
def lstrgTableName
 
def lumidataTableName
 
def lumidetailTableName
 
def lumihltresultTableName
 
def luminormTableName
 
def luminormv2dataTableName
 
def luminormv2TableName
 
def lumiresultTableName
 
def lumisummaryTableName
 
def lumisummaryv2TableName
 
def lumivalidationTableName
 
def pixellumidataTableName
 
def pixellumisummaryv2TableName
 
def pixeltagRunsTableName
 
def pixeltagsTableName
 
def revisionTableName
 
def revmapTableName
 
def schemaV1Tables
 
def schemaV2Tables
 
def tagRunsTableName
 
def tagsTableName
 
def trgdataTableName
 
def trghltMapTableName
 
def trgTableName
 

Detailed Description

central place for all the table names

Function Documentation

def nameDealer.cmsrunsummaryTableName ( )
def nameDealer.commonTables ( )

Definition at line 9 of file nameDealer.py.

9 
10 def commonTables():
return [ 'CMSRUNSUMMARY','TRGHLTMAP','LUMIVALIDATION','FILLSCHEME']
def commonTables
Definition: nameDealer.py:9
def nameDealer.entryTableName (   dataTableName)

Definition at line 103 of file nameDealer.py.

Referenced by lumi::RevisionDML.addEntry(), revisionDML.addEntry(), revisionDML.bookNewEntry(), dbUtil.dbUtil.createEntryTable(), dbUtil.dbUtil.createTable(), dataDML.dataentryIdByRun(), lumidbDDL.dropTables(), and revisionDML.entryInBranch().

104 def entryTableName( dataTableName ):
105  return dataTableName+'_ENTRIES'
def entryTableName
Definition: nameDealer.py:103
def nameDealer.fillschemeTableName ( )

Definition at line 13 of file nameDealer.py.

Referenced by dataDML.allfillschemes(), lumiCorrections.correctionsForRangeV2(), lumidbDDL.createTables(), dataDML.fillschemePatternMap(), and lumiCorrections.pixelcorrectionsForRange().

13 
15  return 'FILLSCHEME'
def fillschemeTableName
Definition: nameDealer.py:13
def nameDealer.hltdataTableName ( )

Definition at line 58 of file nameDealer.py.

Referenced by dataDML.addHLTRunDataToBranch(), lumidbDDL.createTables(), dataDML.dataentryIdByRun(), lumidbDDL.dropTables(), dataDML.hltRunById(), lumi::RevisionDML.insertHltRunData(), dataDML.latestdataIdByEntry(), and dataDML.runList().

58 
59 def hltdataTableName():
60  return 'HLTDATA'
def hltdataTableName
Definition: nameDealer.py:58
def nameDealer.hltTableName ( )

Definition at line 55 of file nameDealer.py.

Referenced by lumiQueryAPI.allruns(), lumiSchema.createIndex(), lumiSchema.createLumi(), lumidbDDL.createOldSchema(), lumidbDDL.createTables(), lumiSchema.dropIndex(), lumiSchema.dropLumi(), lumidbDDL.dropTables(), lumiQueryAPI.hltAllpathByrun(), lumiQueryAPI.hltBypathByrun(), queryDataSource.hltFromOldLumi(), and lumiQueryAPI.recordedLumiForRun().

55 
56 def hltTableName():
57  return 'HLT'
def hltTableName
Definition: nameDealer.py:55
def nameDealer.idTableColumnDefinition ( )

Definition at line 97 of file nameDealer.py.

Referenced by dbUtil.dbUtil.createIDTable().

97 
99  return ('NEXTID','unsigned long long')
def idTableColumnDefinition
Definition: nameDealer.py:97
def nameDealer.idTableName (   dataTableName)

Definition at line 94 of file nameDealer.py.

Referenced by dbUtil.dbUtil.createIDTable(), dbUtil.dbUtil.dropTable(), lumidbDDL.dropTables(), idDealer.idDealer.generateNextIDForTable(), and idDealer.idDealer.getIDforTable().

94 
95 def idTableName( dataTableName ):
96  return dataTableName+"_ID"
def idTableName
Definition: nameDealer.py:94
def nameDealer.intglumiTableName ( )

Definition at line 88 of file nameDealer.py.

Referenced by lumiCorrections.driftcorrectionsForRange().

88 
89 def intglumiTableName():
90  return 'INTGLUMI'
def intglumiTableName
Definition: nameDealer.py:88
def nameDealer.intglumiv2TableName ( )

Definition at line 91 of file nameDealer.py.

Referenced by dataDML.intglumiForRange().

91 
93  return 'INTGLUMIV2'
def intglumiv2TableName
Definition: nameDealer.py:91
def nameDealer.lshltTableName ( )

Definition at line 61 of file nameDealer.py.

Referenced by dataDML.bulkInsertHltLSData(), lumidbDDL.createTables(), and dataDML.hltLSById().

61 
62 def lshltTableName():
63  return 'LSHLT'
def lshltTableName
Definition: nameDealer.py:61
def nameDealer.lstrgTableName ( )

Definition at line 49 of file nameDealer.py.

Referenced by dataDML.bulkInsertTrgLSData(), lumidbDDL.createTables(), and dataDML.trgLSById().

49 
50 def lstrgTableName():
51  return 'LSTRG'
def lstrgTableName
Definition: nameDealer.py:49
def nameDealer.lumidataTableName ( )

Definition at line 19 of file nameDealer.py.

Referenced by lumiCalcAPI.beamForRange(), dataDML.beamInfoById(), lumidbDDL.createTables(), dataDML.dataentryIdByRun(), lumidbDDL.dropTables(), lumi::RevisionDML.insertLumiRunData(), lumiCalcAPI.instLumiForIds(), dataDML.latestdataIdByEntry(), dataDML.lumiRunById(), and dataDML.runList().

19 
20 def lumidataTableName():
21  return 'LUMIDATA'
def lumidataTableName
Definition: nameDealer.py:19
def nameDealer.lumidetailTableName ( )

Definition at line 34 of file nameDealer.py.

Referenced by lumiSchema.createLumi(), lumidbDDL.createOldSchema(), lumiSchema.dropLumi(), lumidbDDL.dropTables(), lumiQueryAPI.lumidetailAllalgosByrun(), lumiQueryAPI.lumidetailByrunByAlgo(), queryDataSource.uncalibratedlumiFromOldLumi(), and lumiQueryAPI.xingLuminosityForRun().

34 
36  return 'LUMIDETAIL'
def lumidetailTableName
Definition: nameDealer.py:34
def nameDealer.lumihltresultTableName ( )

Definition at line 82 of file nameDealer.py.

Referenced by lumiSchema.createLumi(), and lumiSchema.dropLumi().

82 
84  return 'INTLUMIHLT'
def lumihltresultTableName
Definition: nameDealer.py:82
def nameDealer.luminormTableName ( )

Definition at line 37 of file nameDealer.py.

Referenced by dataDML.addNormToBranch(), lumidbDDL.createTables(), lumidbDDL.dropTables(), dataDML.guessnormIdByContext(), dataDML.guessnormIdByName(), and dataDML.luminormById().

37 
38 def luminormTableName():
39  return 'LUMINORMS'
def luminormTableName
Definition: nameDealer.py:37
def nameDealer.luminormv2dataTableName ( )

Definition at line 43 of file nameDealer.py.

Referenced by normDML.insertValueToNormId(), and normDML.normValueById().

43 
45  return 'LUMINORMSV2DATA'
def luminormv2dataTableName
Definition: nameDealer.py:43
def nameDealer.luminormv2TableName ( )

Definition at line 40 of file nameDealer.py.

Referenced by normDML.allNorms(), normDML.createNorm(), normDML.demoteNormFromTypeDefault(), normDML.normIdByName(), normDML.normIdByType(), and normDML.normInfoByName().

40 
42  return 'LUMINORMSV2'
def luminormv2TableName
Definition: nameDealer.py:40
def nameDealer.lumiresultTableName ( )

Definition at line 79 of file nameDealer.py.

Referenced by lumiSchema.createLumi(), and lumiSchema.dropLumi().

79 
81  return 'INTLUMI'
def lumiresultTableName
Definition: nameDealer.py:79
def nameDealer.lumisummaryTableName ( )

Definition at line 25 of file nameDealer.py.

Referenced by lumiQueryAPI.allruns(), lumiSchema.createIndex(), lumiSchema.createLumi(), lumidbDDL.createOldSchema(), lumiQueryAPI.deliveredLumiForRun(), lumiSchema.dropIndex(), lumiSchema.dropLumi(), lumidbDDL.dropTables(), lumiQueryAPI.lumidetailAllalgosByrun(), lumiQueryAPI.lumidetailByrunByAlgo(), lumiQueryAPI.lumisumByrun(), lumiQueryAPI.lumisummaryByrun(), lumiQueryAPI.lumisummarytrgbitzeroByrun(), lumiQueryAPI.recordedLumiForRun(), queryDataSource.uncalibratedlumiFromOldLumi(), and lumiQueryAPI.xingLuminosityForRun().

25 
27  return 'LUMISUMMARY'
def lumisummaryTableName
Definition: nameDealer.py:25
def nameDealer.lumisummaryv2TableName ( )

Definition at line 28 of file nameDealer.py.

Referenced by dataDML.beamInfoById(), dataDML.beamstatusByIds(), lumidbDDL.createTables(), lumidbDDL.dropTables(), lumiCalcAPI.instLumiForIds(), dataDML.lumiBXByAlgo(), and dataDML.lumiLSById().

28 
30  return 'LUMISUMMARYV2'
def lumisummaryv2TableName
Definition: nameDealer.py:28
def nameDealer.lumivalidationTableName ( )

Definition at line 85 of file nameDealer.py.

Referenced by lumiSchema.createLumi(), lumidbDDL.createOldSchema(), lumidbDDL.createTables(), lumiSchema.createValidation(), lumiSchema.dropLumi(), and lumiQueryAPI.validation().

85 
87  return 'LUMIVALIDATION'
def lumivalidationTableName
Definition: nameDealer.py:85
def nameDealer.pixellumidataTableName ( )

Definition at line 22 of file nameDealer.py.

Referenced by lumiCalcAPI.instLumiForIds(), dataDML.lumiRunById(), and dataDML.runList().

22 
24  return 'PIXELLUMIDATA'
def pixellumidataTableName
Definition: nameDealer.py:22
def nameDealer.pixellumisummaryv2TableName ( )

Definition at line 31 of file nameDealer.py.

Referenced by lumiCalcAPI.instLumiForIds().

31 
33  return 'PIXELLUMISUMMARYV2'
def pixellumisummaryv2TableName
Definition: nameDealer.py:31
def nameDealer.pixeltagRunsTableName ( )

Definition at line 70 of file nameDealer.py.

Referenced by revisionDML.addRunToCurrentDataTag(), revisionDML.alldataTags(), revisionDML.dataIdsByTagId(), revisionDML.dataTagInfo(), and dataDML.runList().

70 
72  return 'PIXELTAGRUNS'
def pixeltagRunsTableName
Definition: nameDealer.py:70
def nameDealer.pixeltagsTableName ( )

Definition at line 73 of file nameDealer.py.

Referenced by revisionDML.alldataTags(), revisionDML.createDataTag(), revisionDML.currentDataTag(), revisionDML.dataIdsByTagName(), revisionDML.dataTagInfo(), and revisionDML.getDataTagId().

73 
74 def pixeltagsTableName():
75  return 'PIXELTAGS'
def pixeltagsTableName
Definition: nameDealer.py:73
def nameDealer.revisionTableName ( )

Definition at line 11 of file nameDealer.py.

Referenced by revisionDML.addEntry(), revisionDML.addRevision(), revisionDML.bookNewEntry(), revisionDML.bookNewRevision(), revisionDML.branchInfoByName(), revisionDML.branchType(), revisionDML.createBranch(), lumidbDDL.createTables(), lumidbDDL.createUniqueConstraints(), revisionDML.entryInBranch(), revisionDML.revisionsInBranch(), and revisionDML.revisionsInTag().

11 
12 def revisionTableName():
return 'REVISIONS'
def revisionTableName
Definition: nameDealer.py:11
def nameDealer.revmapTableName (   dataTableName)

Definition at line 100 of file nameDealer.py.

Referenced by lumi::RevisionDML.addEntry(), revisionDML.addEntry(), lumi::RevisionDML.addRevision(), revisionDML.addRevision(), dbUtil.dbUtil.createRevMapTable(), revisionDML.dataRevisionsOfEntry(), lumidbDDL.dropTables(), and dataDML.latestdataIdByEntry().

101 def revmapTableName( dataTableName ):
102  return dataTableName+'_REV'
def revmapTableName
Definition: nameDealer.py:100
def nameDealer.schemaV1Tables ( )

Definition at line 7 of file nameDealer.py.

7 
8 def schemaV1Tables():
return [ 'LUMISUMMARY','LUMIDETAIL','TRG','HLT']
def schemaV1Tables
Definition: nameDealer.py:7
def nameDealer.schemaV2Tables ( )

Definition at line 5 of file nameDealer.py.

Referenced by lumidb2Schema.dropLumi().

5 
6 def schemaV2Tables():
return ['REVISIONS','LUMIDATA','PIXELLUMIDATA','LUMISUMMARYV2','LUMINORMS','TRGDATA','LSTRG', 'HLTDATA', 'LSHLT','INTGLUMIV2','PIXELLUMISUMMARYV2']
def schemaV2Tables
Definition: nameDealer.py:5
def nameDealer.tagRunsTableName ( )

Definition at line 64 of file nameDealer.py.

Referenced by revisionDML.addRunToCurrentDataTag(), revisionDML.alldataTags(), revisionDML.dataIdsByTagId(), revisionDML.dataTagInfo(), and dataDML.runList().

64 
65 def tagRunsTableName():
66  return 'TAGRUNS'
def tagRunsTableName
Definition: nameDealer.py:64
def nameDealer.tagsTableName ( )

Definition at line 67 of file nameDealer.py.

Referenced by revisionDML.alldataTags(), revisionDML.createDataTag(), revisionDML.currentDataTag(), revisionDML.dataIdsByTagName(), revisionDML.dataTagInfo(), and revisionDML.getDataTagId().

67 
68 def tagsTableName():
69  return 'TAGS'
def tagsTableName
Definition: nameDealer.py:67
def nameDealer.trgdataTableName ( )

Definition at line 46 of file nameDealer.py.

Referenced by dataDML.addTrgRunDataToBranch(), lumidbDDL.createTables(), dataDML.dataentryIdByRun(), lumidbDDL.dropTables(), lumi::RevisionDML.insertTrgRunData(), dataDML.latestdataIdByEntry(), dataDML.runList(), and dataDML.trgRunById().

46 
47 def trgdataTableName():
48  return 'TRGDATA'
def trgdataTableName
Definition: nameDealer.py:46
def nameDealer.trghltMapTableName ( )

Definition at line 76 of file nameDealer.py.

Referenced by lumiSchema.createLumi(), lumidbDDL.createOldSchema(), lumidbDDL.createTables(), lumiSchema.dropLumi(), dataDML.hlttrgMappingByrun(), lumiQueryAPI.hlttrgMappingByrun(), dataDML.insertTrgHltMap(), and lumiQueryAPI.recordedLumiForRun().

76 
77 def trghltMapTableName():
78  return 'TRGHLTMAP'
def trghltMapTableName
Definition: nameDealer.py:76
def nameDealer.trgTableName ( )

Definition at line 52 of file nameDealer.py.

Referenced by lumiQueryAPI.allruns(), lumiSchema.createIndex(), lumiSchema.createLumi(), lumidbDDL.createOldSchema(), lumiSchema.dropIndex(), lumiSchema.dropLumi(), lumidbDDL.dropTables(), lumiQueryAPI.lumisummarytrgbitzeroByrun(), lumiQueryAPI.recordedLumiForRun(), lumiQueryAPI.trgAllbitsByrun(), lumiQueryAPI.trgbitzeroByrun(), lumiQueryAPI.trgBybitnameByrun(), and queryDataSource.trgFromOldLumi().

52 
53 def trgTableName():
54  return 'TRG'
def trgTableName
Definition: nameDealer.py:52