CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_7_hltpatch1/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','INTGLUMI','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 trgdataTableName():
00041        return 'TRGDATA'
00042 
00043 def lstrgTableName():
00044        return 'LSTRG'
00045        
00046 def trgTableName():
00047         return 'TRG'
00048 
00049 def hltTableName():
00050         return 'HLT'
00051 
00052 def hltdataTableName():
00053        return 'HLTDATA'
00054 
00055 def lshltTableName():
00056        return 'LSHLT'
00057 
00058 def trghltMapTableName():
00059         return 'TRGHLTMAP'
00060 
00061 def lumiresultTableName():
00062         return 'INTLUMI'
00063 
00064 def lumihltresultTableName():
00065         return 'INTLUMIHLT'
00066 
00067 def lumivalidationTableName():
00068        return 'LUMIVALIDATION'
00069 
00070 def intglumiTableName():
00071        return 'INTGLUMI'
00072        
00073 def idTableName( dataTableName ):
00074         return dataTableName+"_ID"
00075 
00076 def idTableColumnDefinition():
00077         return ('NEXTID','unsigned long long')
00078 
00079 def revmapTableName( dataTableName ):
00080        return dataTableName+'_REV'
00081 
00082 def entryTableName( dataTableName ):
00083        return dataTableName+'_ENTRIES'
00084 
00085 if __name__ == "__main__":
00086     pass
00087