CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_13_patch3/src/RecoLuminosity/LumiDB/python/nameDealer.py

Go to the documentation of this file.
00001 
00002 '''
00003 central place for all the table names
00004 '''
00005 def schemaV2Tables():
00006        return ['REVISIONS','LUMIDATA','PIXELLUMIDATA','LUMISUMMARYV2','LUMINORMS','TRGDATA','LSTRG', 'HLTDATA', 'LSHLT','INTGLUMIV2','PIXELLUMISUMMARYV2']
00007 def schemaV1Tables():
00008        return [ 'LUMISUMMARY','LUMIDETAIL','TRG','HLT']
00009 def commonTables():
00010        return [ 'CMSRUNSUMMARY','TRGHLTMAP','LUMIVALIDATION','FILLSCHEME']
00011 def revisionTableName():
00012        return 'REVISIONS'
00013 def fillschemeTableName():
00014         return 'FILLSCHEME'
00015 
00016 def cmsrunsummaryTableName():
00017        return 'CMSRUNSUMMARY'
00018 
00019 def lumidataTableName():
00020         return 'LUMIDATA'
00021 
00022 def pixellumidataTableName():
00023         return 'PIXELLUMIDATA'
00024 
00025 def lumisummaryTableName():
00026         return 'LUMISUMMARY'
00027 
00028 def lumisummaryv2TableName():
00029         return 'LUMISUMMARYV2'
00030  
00031 def pixellumisummaryv2TableName():
00032        return 'PIXELLUMISUMMARYV2'
00033 
00034 def lumidetailTableName():
00035         return 'LUMIDETAIL'
00036  
00037 def luminormTableName():
00038        return 'LUMINORMS'
00039 
00040 def luminormv2TableName():
00041        return 'LUMINORMSV2'
00042 
00043 def luminormv2dataTableName():
00044        return 'LUMINORMSV2DATA'
00045 
00046 def trgdataTableName():
00047        return 'TRGDATA'
00048 
00049 def lstrgTableName():
00050        return 'LSTRG'
00051        
00052 def trgTableName():
00053         return 'TRG'
00054 
00055 def hltTableName():
00056         return 'HLT'
00057 
00058 def hltdataTableName():
00059        return 'HLTDATA'
00060 
00061 def lshltTableName():
00062        return 'LSHLT'
00063 
00064 def tagRunsTableName():
00065        return 'TAGRUNS'
00066 
00067 def tagsTableName():
00068        return 'TAGS'
00069 
00070 def pixeltagRunsTableName():
00071        return 'PIXELTAGRUNS'
00072 
00073 def pixeltagsTableName():
00074        return 'PIXELTAGS'
00075 
00076 def trghltMapTableName():
00077         return 'TRGHLTMAP'
00078 
00079 def lumiresultTableName():
00080         return 'INTLUMI'
00081 
00082 def lumihltresultTableName():
00083         return 'INTLUMIHLT'
00084 
00085 def lumivalidationTableName():
00086        return 'LUMIVALIDATION'
00087 
00088 def intglumiTableName():
00089        return 'INTGLUMI'
00090 
00091 def intglumiv2TableName():
00092        return 'INTGLUMIV2'
00093        
00094 def idTableName( dataTableName ):
00095         return dataTableName+"_ID"
00096 
00097 def idTableColumnDefinition():
00098         return ('NEXTID','unsigned long long')
00099 
00100 def revmapTableName( dataTableName ):
00101        return dataTableName+'_REV'
00102 
00103 def entryTableName( dataTableName ):
00104        return dataTableName+'_ENTRIES'
00105 
00106 if __name__ == "__main__":
00107     pass
00108