Functions | |
def | get_iovs |
def | get_tags |
def | guess_condition_from_tag |
def | make_popcon_config_file |
def | run_popcon |
Variables | |
string | base_dir = "." |
list | condition_type = guessed_condition['condition_type'] |
string | dropbox_comment = 'generated by CaloOnlineTools/HcalOnlineDb/test/o2o.py script' |
string | dropbox_destination_db = 'oracle://cms_orcon_prod/CMS_COND_31X_HCAL' |
string | dropbox_dir = "./dropbox" |
tuple | dropbox_file_name_prefix = str(output_dir) |
tuple | dropbox_txt_file = open(dropbox_txt_file_name, "w") |
tuple | dropbox_txt_file_name = str(dropbox_file_name_prefix) |
tuple | gotten_iovs = get_iovs(tag, input_pool_connect_string, mode) |
tuple | guessed_condition = guess_condition_from_tag(tag) |
int | i = 0 |
string | input_pool_connect_string = "sqlite_file:/nfshome0/kukartse/hcal/dcs/HcalDcsValues_v1.00_offline.db" |
tuple | iov = int(line) |
list | isnewtag = gotten_iovs['newtag'] |
string | mode = 'online' |
list | o2o_iovs = gotten_iovs['iovs'] |
string | o2o_tag_list_file = "o2o_tag_list.txt" |
string | omds_accessor_string = "occi://CMS_HCL_APPUSER_R@anyhost/cms_omds_lb?PASSWORD=HCAL_Reader_44" |
string | output_dir = "." |
string | output_pool_connect_string = "sqlite_file:/nfshome0/kukartse/hcal/dcs/HcalDcsValues_v1.00_offline.db" |
string | pool_auth_path = "/nfshome0/popcondev/conddb" |
pool_iov = iov | |
string | pool_logconnect = "sqlite_file:/nfshome0/kukartse/hcal/dcs/log.db" |
list | pool_record = guessed_condition['pool_record'] |
string | python_popcon_file = "dbwrite_o2o.py" |
string | python_popcon_template_file = "dbwrite_o2o_template.py" |
tuple | query = query_file.read() |
tuple | query_file = open(query_file_name, "r") |
list | query_file_name = guessed_condition['query_file_name'] |
query_save = query | |
tuple | run_result = run_popcon() |
tuple | tag = tag_name.strip() |
tuple | tags = get_tags(base_dir+"/"+o2o_tag_list_file) |
string | use_dropbox = 'false' |
def o2o.get_iovs | ( | tag, | |
input_pool_connect_string, | |||
mode | |||
) |
Definition at line 171 of file o2o.py.
References python.multivaluedict.append(), and communicate().
def o2o.get_tags | ( | tag_list_file_name | ) |
Definition at line 157 of file o2o.py.
References python.multivaluedict.append().
def o2o.guess_condition_from_tag | ( | tagname | ) |
def o2o.run_popcon | ( | ) |
Definition at line 217 of file o2o.py.
list o2o.condition_type = guessed_condition['condition_type'] |
string o2o.dropbox_comment = 'generated by CaloOnlineTools/HcalOnlineDb/test/o2o.py script' |
string o2o.dropbox_destination_db = 'oracle://cms_orcon_prod/CMS_COND_31X_HCAL' |
tuple o2o.dropbox_file_name_prefix = str(output_dir) |
tuple o2o.dropbox_txt_file = open(dropbox_txt_file_name, "w") |
tuple o2o.dropbox_txt_file_name = str(dropbox_file_name_prefix) |
tuple o2o.gotten_iovs = get_iovs(tag, input_pool_connect_string, mode) |
tuple o2o.guessed_condition = guess_condition_from_tag(tag) |
string o2o.input_pool_connect_string = "sqlite_file:/nfshome0/kukartse/hcal/dcs/HcalDcsValues_v1.00_offline.db" |
tuple o2o.iov = int(line) |
Definition at line 307 of file o2o.py.
Referenced by cond::IOVEditor.append(), cond::IOVEditor.bulkAppend(), cond::IOVProxy.comment(), copyObject(), HcalDQMDbInterface.createIOV(), cond::IOVEditor.debugInfo(), cond::IOVEditor.deleteEntries(), cond::IOVEditor.editMetadata(), cond::AlignSplitIOV.execute(), LMFCorrCoefDat.fetch(), LMFCorrCoefDat.fetchBetween(), LMFRunIOV.fetchBySequence(), RunPTMTempDat.fetchData(), RunDat.fetchData(), RunTTErrorsDat.fetchData(), RunCrystalErrorsDat.fetchData(), RunMemChErrorsDat.fetchData(), RunMemTTErrorsDat.fetchData(), RunPNErrorsDat.fetchData(), RunTPGConfigDat.fetchData(), MonH4TablePositionDat.fetchData(), RunConfigDat.fetchData(), RunFEConfigDat.fetchData(), RunLaserRunDat.fetchData(), DCUIDarkPedDat.fetchData(), DCUVFETempDat.fetchData(), MonShapeQualityDat.fetchData(), CaliGeneralDat.fetchData(), RunCommentDat.fetchData(), DCUCapsuleTempDat.fetchData(), DCUIDarkDat.fetchData(), MODCCSFEDat.fetchData(), MODCCSTRDat.fetchData(), MODDCCOperationDat.fetchData(), DCUCapsuleTempRawDat.fetchData(), CaliGainRatioDat.fetchData(), CaliHVScanRatioDat.fetchData(), MonDelaysTTDat.fetchData(), RunH4TablePositionDat.fetchData(), CaliCrystalIntercalDat.fetchData(), CaliTempDat.fetchData(), DCULVRBTempsDat.fetchData(), MonLaserStatusDat.fetchData(), DCULVRTempsDat.fetchData(), MonOccupancyDat.fetchData(), MonLaserPulseDat.fetchData(), MonPedestalsOnlineDat.fetchData(), MonRunDat.fetchData(), MonPedestalOffsetsDat.fetchData(), MonCrystalConsistencyDat.fetchData(), FEConfigBadTTDat.fetchData(), MonLaserBlueDat.fetchData(), MonLaserIRedDat.fetchData(), MonLaserRedDat.fetchData(), MonLed1Dat.fetchData(), MonLed2Dat.fetchData(), ODWeightsSamplesDat.fetchData(), MonLaserGreenDat.fetchData(), MonPNPedDat.fetchData(), ODDelaysDat.fetchData(), FEConfigBadStripDat.fetchData(), FEConfigBadXTDat.fetchData(), ODBadTTDat.fetchData(), ODBadXTDat.fetchData(), MonMemChConsistencyDat.fetchData(), ODTowersToByPassDat.fetchData(), ODVfeToRejectDat.fetchData(), MODCCSHFDat.fetchData(), MonTTConsistencyDat.fetchData(), MonMemTTConsistencyDat.fetchData(), MonPedestalsDat.fetchData(), MonTestPulseDat.fetchData(), ODGolBiasCurrentDat.fetchData(), ODPedestalOffsetsDat.fetchData(), MonPNBlueDat.fetchData(), MonPNIRedDat.fetchData(), MonPNLed1Dat.fetchData(), MonPNLed2Dat.fetchData(), MonPNMGPADat.fetchData(), MonPNRedDat.fetchData(), MonPNGreenDat.fetchData(), MonPulseShapeDat.fetchData(), ODWeightsDat.fetchData(), MODDCCDetailsDat.fetchData(), DCULVRVoltagesDat.fetchData(), DCUCCSDat.fetchData(), ITimingDat.fetchData(), EcalCondDBInterface.fetchDataSet(), EcalCondDBInterface.fetchDataSetWithMap(), EcalCondDBInterface.fetchFEDelaysForRun(), LMFCorrCoefDat.fetchLastInsertedRun(), EcalCondDBInterface.fetchRunIOV(), LMFCorrCoefDat.find(), cond::IOVProxy.find(), cond::IOVProxy.firstSince(), cond::IOVEditor.freeInsert(), HcalO2OManager.getListOfPoolIovs(), HcalO2OManager.getListOfUpdateIovs(), LMFLmrSubIOV.getLMFIOV(), LMFCorrCoefDatComponent.getLMFLmrSubIOV(), LMFDat.getLMFRunIOVID(), cond::IOVEditor.insert(), EcalCondDBInterface.insertDataArraySet(), EcalCondDBInterface.insertDataSet(), EcalCondDBInterface.insertDCUIOV(), EcalCondDBInterface.insertLmfIOV(), EcalCondDBInterface.insertLmfLmrSubIOV(), EcalCondDBInterface.insertLmfRunIOV(), EcalCondDBInterface.insertLmfSeq(), EcalCondDBInterface.insertMonRunIOV(), EcalCondDBInterface.insertRunIOV(), cond::IOVProxy.isValid(), cond::IOVProxy.lastTill(), cond.loadIOV(), XMLDocument.makeElementIOV(), HcalDQMDbInterface.makeMapIOV(), XMLDocument.makeMapIOV(), cond::IOVProxy.payloadClasses(), l1t::DataWriter.payloadToken(), RFIOFile.prefetch(), printRuns(), TStorageFactoryFile.ReadBufferAsync(), TStorageFactoryFile.ReadBuffers(), TStorageFactoryFile.ReadBuffersSync(), DTConfigDBProducer.readDTCCBConfig(), TestFunct.ReadWithIOV(), cond::IOVProxy.revision(), MODRunIOV.setRunIOV(), LMFSeqDat.setRunIOV(), MonRunIOV.setRunIOV(), cond::IOVEditor.setScope(), cond::IOVProxy.size(), cond::IOVEditor.stamp(), cond::service::PoolDBOutputService.tagInfo(), cond::IOVProxy.timestamp(), cond::IOVProxy.timetype(), cond::IOVEditor.truncate(), cond::IOVEditor.updateClosure(), EcalCondDBInterface.updateRunIOV(), EcalCondDBInterface.updateRunIOVEndTime(), EcalCondDBInterface.updateRunIOVStartTime(), cond::IOVProxy.validity(), MODDCCOperationDat.writeArrayDB(), MODCCSFEDat.writeArrayDB(), MODCCSTRDat.writeArrayDB(), DCUIDarkDat.writeArrayDB(), DCUIDarkPedDat.writeArrayDB(), DCUCapsuleTempDat.writeArrayDB(), DCUVFETempDat.writeArrayDB(), MonShapeQualityDat.writeArrayDB(), DCUCapsuleTempRawDat.writeArrayDB(), MonH4TablePositionDat.writeArrayDB(), MonPedestalsOnlineDat.writeArrayDB(), MonOccupancyDat.writeArrayDB(), DCULVRBTempsDat.writeArrayDB(), MonLaserPulseDat.writeArrayDB(), MonPedestalOffsetsDat.writeArrayDB(), CaliGainRatioDat.writeArrayDB(), MonDelaysTTDat.writeArrayDB(), ODDelaysDat.writeArrayDB(), FEConfigBadTTDat.writeArrayDB(), CaliCrystalIntercalDat.writeArrayDB(), MonPNPedDat.writeArrayDB(), ODWeightsSamplesDat.writeArrayDB(), CaliTempDat.writeArrayDB(), MonLaserRedDat.writeArrayDB(), MonLaserBlueDat.writeArrayDB(), MonLaserGreenDat.writeArrayDB(), MonLaserIRedDat.writeArrayDB(), MonLed1Dat.writeArrayDB(), MonLed2Dat.writeArrayDB(), ODBadTTDat.writeArrayDB(), FEConfigBadXTDat.writeArrayDB(), FEConfigBadStripDat.writeArrayDB(), ODBadXTDat.writeArrayDB(), MonMemChConsistencyDat.writeArrayDB(), ODTowersToByPassDat.writeArrayDB(), ODVfeToRejectDat.writeArrayDB(), MODCCSHFDat.writeArrayDB(), MonCrystalConsistencyDat.writeArrayDB(), MonTestPulseDat.writeArrayDB(), MonMemTTConsistencyDat.writeArrayDB(), MonPedestalsDat.writeArrayDB(), ODGolBiasCurrentDat.writeArrayDB(), MonTTConsistencyDat.writeArrayDB(), ODPedestalOffsetsDat.writeArrayDB(), MonPNMGPADat.writeArrayDB(), MonPNIRedDat.writeArrayDB(), MonPNGreenDat.writeArrayDB(), MonPNLed2Dat.writeArrayDB(), MonPNRedDat.writeArrayDB(), MonPNLed1Dat.writeArrayDB(), MonPNBlueDat.writeArrayDB(), ODWeightsDat.writeArrayDB(), MODDCCDetailsDat.writeArrayDB(), DCULVRVoltagesDat.writeArrayDB(), DCUCCSDat.writeArrayDB(), ITimingDat.writeArrayDB(), RunPTMTempDat.writeDB(), MODDCCOperationDat.writeDB(), MODCCSFEDat.writeDB(), MODCCSTRDat.writeDB(), RunDat.writeDB(), DCUIDarkPedDat.writeDB(), DCUIDarkDat.writeDB(), RunPNErrorsDat.writeDB(), MonShapeQualityDat.writeDB(), DCUVFETempDat.writeDB(), RunMemTTErrorsDat.writeDB(), RunTTErrorsDat.writeDB(), RunCrystalErrorsDat.writeDB(), DCUCapsuleTempDat.writeDB(), RunMemChErrorsDat.writeDB(), RunTPGConfigDat.writeDB(), RunConfigDat.writeDB(), RunLaserRunDat.writeDB(), MonH4TablePositionDat.writeDB(), RunFEConfigDat.writeDB(), DCUCapsuleTempRawDat.writeDB(), RunCommentDat.writeDB(), CaliGeneralDat.writeDB(), CaliHVScanRatioDat.writeDB(), MonOccupancyDat.writeDB(), MonPedestalsOnlineDat.writeDB(), CaliGainRatioDat.writeDB(), DCULVRTempsDat.writeDB(), DCULVRBTempsDat.writeDB(), MonLaserStatusDat.writeDB(), MonDelaysTTDat.writeDB(), MonLaserPulseDat.writeDB(), RunH4TablePositionDat.writeDB(), MonPedestalOffsetsDat.writeDB(), CaliCrystalIntercalDat.writeDB(), CaliTempDat.writeDB(), MonPNPedDat.writeDB(), MonRunDat.writeDB(), MonLed1Dat.writeDB(), MonLaserIRedDat.writeDB(), MonLaserBlueDat.writeDB(), MonLaserRedDat.writeDB(), MonLed2Dat.writeDB(), MonLaserGreenDat.writeDB(), MonMemChConsistencyDat.writeDB(), MonCrystalConsistencyDat.writeDB(), MonPedestalsDat.writeDB(), MODCCSHFDat.writeDB(), MonMemTTConsistencyDat.writeDB(), MonTTConsistencyDat.writeDB(), MonTestPulseDat.writeDB(), MonPNLed1Dat.writeDB(), MonPNMGPADat.writeDB(), MonPNRedDat.writeDB(), MonPNGreenDat.writeDB(), MonPNIRedDat.writeDB(), MonPNLed2Dat.writeDB(), MonPNBlueDat.writeDB(), MonPulseShapeDat.writeDB(), MODDCCDetailsDat.writeDB(), DCULVRVoltagesDat.writeDB(), ITimingDat.writeDB(), DCUCCSDat.writeDB(), and TestFunct.WriteWithIOV().
list o2o.isnewtag = gotten_iovs['newtag'] |
list o2o.o2o_iovs = gotten_iovs['iovs'] |
string o2o.omds_accessor_string = "occi://CMS_HCL_APPUSER_R@anyhost/cms_omds_lb?PASSWORD=HCAL_Reader_44" |
string o2o.output_dir = "." |
Definition at line 33 of file o2o.py.
Referenced by L1TCSCTFClient.beginJob(), and L1TCSCTFClient.initialize().
string o2o.output_pool_connect_string = "sqlite_file:/nfshome0/kukartse/hcal/dcs/HcalDcsValues_v1.00_offline.db" |
string o2o.pool_logconnect = "sqlite_file:/nfshome0/kukartse/hcal/dcs/log.db" |
list o2o.pool_record = guessed_condition['pool_record'] |
string o2o.python_popcon_template_file = "dbwrite_o2o_template.py" |
tuple o2o.query = query_file.read() |
Definition at line 269 of file o2o.py.
Referenced by MonitorElementsDb.analyze(), l1t::OMDSReader.basicQuery(), l1t::OMDSReader.basicQueryGenericKey(), l1t::OMDSReader.basicQueryView(), ora::OraMappingSchema.containerForMappingVersion(), evf::ExceptionGenerator.defaultWebPage(), edm::DaqSource.defaultWebPage(), SiStripCoralIface.doNameQuery(), SiStripCoralIface.doQuery(), SiStripCoralIface.doSettingsQuery(), cond::CredentialStore.exportAll(), HcalLutManager.get_brickSet_from_oracle(), ora::OraNamingServiceTable.getAllNames(), ora::CondMetadataTable.getAllNames(), RunDCSLVDat.getBarrelRset(), RunDCSHVDat.getBarrelRset(), HcalChannelQualityXml.getBaseLineFromOmds(), ora::OraMappingSchema.getClassVersionListForContainer(), ora::PoolMappingSchema.getClassVersionListForContainer(), ora::OraMappingSchema.getClassVersionListForMappingVersion(), ora::PoolMappingSchema.getClassVersionListForMappingVersion(), ora::OraContainerHeaderTable.getContainerData(), ora::PoolContainerHeaderTable.getContainerData(), ora::OraMappingSchema.getContainerTableMap(), ora::OraMappingSchema.getDependentClassesInContainerMapping(), RunDCSHVDat.getEndcapAnodeRset(), RunDCSHVDat.getEndcapDynodeRset(), RunDCSLVDat.getEndcapRset(), HcalQIEManager.getHfQieTable(), HcalChannelQualityXml.getIovsFromOmds(), ora::OraSequenceTable.getLastId(), ora::PoolSequenceTable.getLastId(), HcalAssistant.getListOfChannelsFromDb(), HcalO2OManager.getListOfOmdsIovs(), HcalO2OManager.getListOfOmdsTags(), DBlmapReader.GetLMAP(), RunDCSMagnetDat.getMagnetRset(), ora::OraMappingSchema.getMapping(), ora::PoolMappingSchema.getMapping(), ora::OraMappingSchema.getMappingVersionListForContainer(), ora::PoolMappingSchema.getMappingVersionListForContainer(), ora::OraMappingSchema.getMappingVersionListForTable(), TestFunct.GetMetadata(), ora::OraNamingServiceTable.getNamesForContainer(), ora::CondMetadataTable.getNamesForContainer(), ora::OraNamingServiceTable.getNamesForObject(), ora::CondMetadataTable.getNamesForObject(), ora::OraNamingServiceTable.getObjectByName(), ora::CondMetadataTable.getObjectByName(), HCALConfigDB.getOnlineLUT(), HCALConfigDB.getOnlineLUTFromXML(), ora::OraMainTable.getParameters(), HcalQIEManager.getTableFromDb(), cond::TagCollectionRetriever.getTagCollection(), HcalChannelQualityXml.getTagsFromOmds(), ora::OraMappingSchema.getVersionList(), ora::PoolMappingSchema.getVersionList(), cond::CredentialStore.listConnections(), cond::CredentialStore.listPrincipals(), ora::Serializer.lock(), ora::OraContainerHeaderTable.lockContainer(), ora::PoolContainerHeaderTable.lockContainer(), cond::SequenceManager.lockEntry(), cond::Logger.LookupLastEntryByProvenance(), cond::Logger.LookupLastEntryByTag(), L1CaloHcalScaleConfigOnlineProd.newObject(), TestFunct.Read(), DQMSummaryReader.readData(), evf::FUEventProcessor.receivingAndMonitor(), cond.selectAuthorization(), cond.selectConnection(), cond::CredentialStore.selectForUser(), ora::OraMappingSchema.selectMappingVersion(), ora::PoolMappingSchema.selectMappingVersion(), cond::CredentialStore.selectPermissions(), cond.selectPrincipal(), and cond::CredentialStore.startSession().
tuple o2o.query_file = open(query_file_name, "r") |
string o2o.query_file_name = guessed_condition['query_file_name'] |
tuple o2o.run_result = run_popcon() |
tuple o2o.tag = tag_name.strip() |
tuple o2o.tags = get_tags(base_dir+"/"+o2o_tag_list_file) |
Definition at line 248 of file o2o.py.
Referenced by edm::CFWriter.CFWriter(), PFRootEventManager.connect(), HLTConfigData.dump(), EDMtoMEConverter.getData(), SiStripSummaryCreator.getSummaryME(), MonitorElement.getTags(), FWPSetTableManager.handleEntry(), edm::HiMixingModule.HiMixingModule(), HLTMuonIsoFilter.HLTMuonIsoFilter(), MixCollectionValidation.MixCollectionValidation(), edm::MixingModule.MixingModule(), edm.operator<<(), and MEtoEDM< T >.putMEtoEdmObject().