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.
00172 : 00173 result = "fail" # default 00174 newtag = False # default 00175 # nominal mode of operations 00176 if mode == "online" or mode == "online_dropbox": 00177 try: 00178 iovs = subprocess.Popen(["./xmlToolsRun", "--list-iovs-for-o2o", "--tag-name", tag, "--pool-connect-string", input_pool_connect_string, "--pool-auth-path", pool_auth_path], stdout=subprocess.PIPE).communicate()[0] 00179 iov_list = iovs.splitlines() 00180 result = "success" 00181 except: 00182 print "ERROR: Cannot get the IOV update list for tag", tag+". This tag will not be updated. Now continue to the next tag..." 00183 iov_list=[] 00184 result = "fail" 00185 00186 # script development mode, DB interfaces substituted with dummies 00187 if mode == "offline_development": 00188 #iovs = subprocess.Popen(["cat", tag+"_iov_to_update.devel"], stdout=subprocess.PIPE).communicate()[0] 00189 try: 00190 iov_list_file = open(base_dir+"/o2o/"+tag+"_iov_to_update.devel") 00191 except: 00192 print "ERROR: Cannot open file with the IOV list for tag", tag+". This tag will not be updated. Now continue to the next tag..." 00193 result = "fail" 00194 result = "success" 00195 iov_list = [] 00196 for line in iov_list_file: 00197 iov_list . append(line.strip()) 00198 iov_list_file.close() 00199 # now parse iov_list. 00200 # May contain various important output. Prefix defines the type of instruction. 00201 # IOVs start with O2O_IOV_LIST: 00202 # CONNECTION ERROR: indicates problems with connection to Pool and invalidates 00203 # the IOV list 00204 iovs=[] 00205 for line in iov_list: 00206 line_stripped = line.strip() 00207 if line.strip()[0:13] == "O2O_IOV_LIST:": 00208 iovs.append(line.lstrip("O2O_IOV_LIST:")) 00209 if line_stripped[0:line_stripped.find(":")] == "CONNECTION ERROR": 00210 result = "fail_connect" 00211 if line_stripped[0:line_stripped.find(":")] == "NEW_POOL_TAG_TRUE": 00212 newtag = True 00213 return {'iovs':iovs, 00214 'result':result, 00215 'newtag':newtag} 00216 #_____ run PopCon
def o2o::get_tags | ( | tag_list_file_name | ) |
Definition at line 157 of file o2o.py.
00158 : 00159 try: 00160 tag_list_file = open(tag_list_file_name) 00161 except: 00162 print "Cannot open the file with the list of tags, exiting..." 00163 sys.exit() 00164 tag_list = [] 00165 for line in tag_list_file: 00166 tag_list . append(line) 00167 tag_list_file.close() 00168 #tags = subprocess.Popen(["cat", tag_list], stdout=subprocess.PIPE).communicate()[0] 00169 return tag_list 00170 #_____ get list of IOVs that need updating, from comparison of OMDS and ORCON
def o2o::guess_condition_from_tag | ( | tagname | ) |
Definition at line 76 of file o2o.py.
00077 : 00078 guessed_type = tagname[0:tagname.find("_")] 00079 # FIXME: gak is a temporary debugging case 00080 if guessed_type == "gak": 00081 guessed_type = "HcalChannelQuality" 00082 guessed_query_file_name = base_dir+"/HcalChannelQuality.sql" 00083 guessed_pool_record = "HcalChannelQualityRcd" 00084 00085 elif guessed_type == "HcalDcsValues": 00086 guessed_type = "DcsValues" 00087 guessed_query_file_name = base_dir+"/HcalDcsValues.sql" 00088 guessed_pool_record = "HcalDcsRcd" 00089 00090 elif guessed_type == "HcalChannelQuality": 00091 guessed_type = "ChannelQuality" 00092 guessed_query_file_name = base_dir+"/HcalChannelQuality.sql" 00093 guessed_pool_record = "HcalChannelQualityRcd" 00094 00095 elif guessed_type == "HcalLutMetadata": 00096 guessed_type = "LutMetadata" 00097 guessed_query_file_name = base_dir+"/HcalLutMetadata.sql" 00098 guessed_pool_record = "HcalLutMetadataRcd" 00099 00100 elif guessed_type == "HcalRespCorrs": 00101 guessed_type = "RespCorrs" 00102 guessed_query_file_name = base_dir+"/HcalRespCorrs.sql" 00103 guessed_pool_record = "HcalRespCorrsRcd" 00104 00105 elif guessed_type == "HcalValidationCorrs": 00106 guessed_type = "ValidationCorrs" 00107 guessed_query_file_name = base_dir+"/HcalValidationCorrs.sql" 00108 guessed_pool_record = "HcalValidationCorrsRcd" 00109 00110 elif guessed_type == "HcalPedestals": 00111 guessed_type = "Pedestals" 00112 guessed_query_file_name = base_dir+"/HcalPedestals.sql" 00113 guessed_pool_record = "HcalPedestalsRcd" 00114 00115 elif guessed_type == "HcalPedestalWidths": 00116 guessed_type = "PedestalWidths" 00117 guessed_query_file_name = base_dir+"/HcalPedestalWidths.sql" 00118 guessed_pool_record = "HcalPedestalWidthsRcd" 00119 00120 elif guessed_type == "HcalGains": 00121 guessed_type = "Gains" 00122 guessed_query_file_name = base_dir+"/HcalGains.sql" 00123 guessed_pool_record = "HcalGainsRcd" 00124 00125 elif guessed_type == "HcalGainWidths": 00126 guessed_type = "GainWidths" 00127 guessed_query_file_name = base_dir+"/HcalGainWidths.sql" 00128 guessed_pool_record = "HcalGainWidthsRcd" 00129 00130 elif guessed_type == "HcalQIEData": 00131 guessed_type = "QIEData" 00132 guessed_query_file_name = base_dir+"/HcalQieData.sql" 00133 guessed_pool_record = "HcalQIEDataRcd" 00134 00135 elif guessed_type == "HcalElectronicsMap": 00136 guessed_type = "ElectronicsMap" 00137 guessed_query_file_name = base_dir+"/HcalEmap.sql" 00138 guessed_pool_record = "HcalElectronicsMapRcd" 00139 00140 elif guessed_type == "HcalZSThresholds": 00141 guessed_type = "ZSThresholds" 00142 guessed_query_file_name = base_dir+"/HcalZSThresholds.sql" 00143 guessed_pool_record = "HcalZSThresholdsRcd" 00144 00145 elif guessed_type == "HcalL1TriggerObjects": 00146 guessed_type = "L1TriggerObjects" 00147 guessed_query_file_name = base_dir+"/HcalL1TriggerObjects.sql" 00148 guessed_pool_record = "HcalL1TriggerObjectsRcd" 00149 00150 else: 00151 print "Cannot guess condition type" 00152 00153 return {'condition_type':guessed_type, 00154 'query_file_name':guessed_query_file_name, 00155 'pool_record':guessed_pool_record} 00156 #_____ get list of IOVs that need updating, from comparison of OMDS and ORCON
def o2o::make_popcon_config_file | ( | filename | ) |
Definition at line 52 of file o2o.py.
00053 : 00054 py_templ_file = open(base_dir+"/"+python_popcon_template_file) 00055 py_file = open(str(filename), "w") 00056 for line in py_templ_file: 00057 line=line.replace('CONNECT_STRING', output_pool_connect_string) 00058 line=line.replace('POOL_AUTH_PATH', pool_auth_path) 00059 line=line.replace('CONDITION_TYPE', condition_type) 00060 line=line.replace('OMDS_CONDITION_TAG', tag) 00061 line=line.replace('OMDS_IOV', str(iov)) 00062 line=line.replace('OMDS_ACCESSOR_STRING', omds_accessor_string) 00063 line=line.replace('OMDS_QUERY', query) 00064 line=line.replace('POOL_LOGCONNECT', pool_logconnect) 00065 line=line.replace('POOL_RECORD', pool_record) 00066 line=line.replace('POOL_OUTPUT_TAG', tag) 00067 line=line.replace('POOL_IOV', str(pool_iov)) 00068 py_file.write(line) 00069 py_file.close() 00070 00071 # 00072 # HCAL conditions have a rigid naming scheme: 00073 # RECORD_VERSION_USE, e.g. HcalChannelQuality_v1.00_mc 00074 # or 00075 # RECORD_UNIT_VERSION_USE, e.g. HcalPedestals_ADC_v2.31_offline #
def o2o::run_popcon | ( | ) |
Definition at line 217 of file o2o.py.
00218 : 00219 status = "fail" 00220 try: 00221 print "iov=", iov 00222 if mode == "online" or mode == "online_dropbox": 00223 subprocess.call(["cmsRun", str(python_popcon_file)]) 00224 else: 00225 print "In online mode would run Popcon now:", "cmsRun", str(python_popcon_file) 00226 status = "success" 00227 except OSError: 00228 print "Cannot execute cmsRun. Further processing of this tag is stopped, going to the next tag..." 00229 #break 00230 except: 00231 print "Cannot execute cmsRun. Further processing of this tag is stopped, going to the next tag..." 00232 #break 00233 00234 # 00235 #_____ copy to the Dropbox area (optional) 00236 # 00237 if use_dropbox == "true" or use_dropbox == "True" or use_dropbox == "TRUE": 00238 try: 00239 retcall_meta = subprocess.call(['mv', str(output_dir)+'/'+str(dropbox_file_name_prefix)+'.txt', str(dropbox_dir)+'/']) 00240 retcall_sql = subprocess.call(['mv', str(output_dir)+'/'+str(dropbox_file_name_prefix)+'.sql', str(dropbox_dir)+'/']) 00241 except: 00242 print "ERROR: Cannot copy files to the dropbox area" 00243 00244 return {'status':status} 00245 # 00246 #_____ end of helper functions __________________________________________ 00247
string o2o::base_dir = "." |
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' |
string o2o::dropbox_dir = "./dropbox" |
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(), ODBadTTDat::fetchData(), MonLaserGreenDat::fetchData(), MonPNRedDat::fetchData(), MonPulseShapeDat::fetchData(), CaliHVScanRatioDat::fetchData(), CaliTempDat::fetchData(), DCUIDarkDat::fetchData(), DCULVRTempsDat::fetchData(), MonH4TablePositionDat::fetchData(), ITimingDat::fetchData(), FEConfigBadXTDat::fetchData(), MonShapeQualityDat::fetchData(), DCUCCSDat::fetchData(), MonMemTTConsistencyDat::fetchData(), MonPedestalsOnlineDat::fetchData(), MODCCSTRDat::fetchData(), MonDelaysTTDat::fetchData(), MonMemChConsistencyDat::fetchData(), MonPNIRedDat::fetchData(), MonTestPulseDat::fetchData(), ODTowersToByPassDat::fetchData(), ODVfeToRejectDat::fetchData(), CaliGainRatioDat::fetchData(), MonLaserIRedDat::fetchData(), MonLaserPulseDat::fetchData(), MonLaserRedDat::fetchData(), CaliGeneralDat::fetchData(), DCUIDarkPedDat::fetchData(), DCUVFETempDat::fetchData(), MonLaserBlueDat::fetchData(), MonPNGreenDat::fetchData(), MonPNLed1Dat::fetchData(), ODDelaysDat::fetchData(), CaliCrystalIntercalDat::fetchData(), MODDCCDetailsDat::fetchData(), MonLed2Dat::fetchData(), MonPNBlueDat::fetchData(), MonPNLed2Dat::fetchData(), MonLed1Dat::fetchData(), MonPNPedDat::fetchData(), ODGolBiasCurrentDat::fetchData(), ODWeightsSamplesDat::fetchData(), DCULVRVoltagesDat::fetchData(), FEConfigBadStripDat::fetchData(), MODCCSFEDat::fetchData(), MonLaserStatusDat::fetchData(), MonPNMGPADat::fetchData(), ODWeightsDat::fetchData(), DCULVRBTempsDat::fetchData(), MonCrystalConsistencyDat::fetchData(), MonOccupancyDat::fetchData(), MonPedestalOffsetsDat::fetchData(), ODBadXTDat::fetchData(), DCUCapsuleTempDat::fetchData(), MODCCSHFDat::fetchData(), MonTTConsistencyDat::fetchData(), ODPedestalOffsetsDat::fetchData(), DCUCapsuleTempRawDat::fetchData(), FEConfigBadTTDat::fetchData(), MODDCCOperationDat::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(), popcon::EcalLaser_weekly_Handler::getNewObjects(), 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(), XMLDocument::makeMapIOV(), HcalDQMDbInterface::makeMapIOV(), cond::IOVProxy::payloadClasses(), l1t::DataWriter::payloadToken(), printRuns(), TStorageFactoryFile::ReadBufferAsync(), TStorageFactoryFile::ReadBuffers(), TStorageFactoryFile::ReadBuffersSync(), DTConfigDBProducer::readDTCCBConfig(), TestFunct::ReadWithIOV(), cond::IOVProxy::revision(), MODRunIOV::setRunIOV(), MonRunIOV::setRunIOV(), LMFSeqDat::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(), MonLaserIRedDat::writeArrayDB(), MonPedestalOffsetsDat::writeArrayDB(), ODVfeToRejectDat::writeArrayDB(), MODCCSHFDat::writeArrayDB(), MonH4TablePositionDat::writeArrayDB(), MonLed2Dat::writeArrayDB(), MonMemChConsistencyDat::writeArrayDB(), ODTowersToByPassDat::writeArrayDB(), MonLaserBlueDat::writeArrayDB(), MonLed1Dat::writeArrayDB(), DCUVFETempDat::writeArrayDB(), FEConfigBadXTDat::writeArrayDB(), MonPNBlueDat::writeArrayDB(), MonPNGreenDat::writeArrayDB(), CaliCrystalIntercalDat::writeArrayDB(), MODDCCOperationDat::writeArrayDB(), MonPNLed1Dat::writeArrayDB(), DCUCCSDat::writeArrayDB(), MonPNLed2Dat::writeArrayDB(), MonPNPedDat::writeArrayDB(), MonShapeQualityDat::writeArrayDB(), ODBadTTDat::writeArrayDB(), DCUCapsuleTempRawDat::writeArrayDB(), DCUIDarkDat::writeArrayDB(), MODCCSFEDat::writeArrayDB(), MonTestPulseDat::writeArrayDB(), MonTTConsistencyDat::writeArrayDB(), ODWeightsDat::writeArrayDB(), FEConfigBadTTDat::writeArrayDB(), ODGolBiasCurrentDat::writeArrayDB(), CaliGainRatioDat::writeArrayDB(), DCUCapsuleTempDat::writeArrayDB(), DCUIDarkPedDat::writeArrayDB(), MonDelaysTTDat::writeArrayDB(), MonPNRedDat::writeArrayDB(), ODDelaysDat::writeArrayDB(), MODCCSTRDat::writeArrayDB(), MonLaserRedDat::writeArrayDB(), MonPNMGPADat::writeArrayDB(), ODBadXTDat::writeArrayDB(), DCULVRVoltagesDat::writeArrayDB(), FEConfigBadStripDat::writeArrayDB(), ODWeightsSamplesDat::writeArrayDB(), CaliTempDat::writeArrayDB(), DCULVRBTempsDat::writeArrayDB(), MonLaserPulseDat::writeArrayDB(), MonOccupancyDat::writeArrayDB(), MonPedestalsDat::writeArrayDB(), MonPedestalsOnlineDat::writeArrayDB(), ODPedestalOffsetsDat::writeArrayDB(), MonCrystalConsistencyDat::writeArrayDB(), MonLaserGreenDat::writeArrayDB(), ITimingDat::writeArrayDB(), MODDCCDetailsDat::writeArrayDB(), MonMemTTConsistencyDat::writeArrayDB(), MonPNIRedDat::writeArrayDB(), CaliCrystalIntercalDat::writeDB(), DCUCapsuleTempDat::writeDB(), DCUIDarkDat::writeDB(), MonPNPedDat::writeDB(), MonTestPulseDat::writeDB(), RunFEConfigDat::writeDB(), RunMemChErrorsDat::writeDB(), RunMemTTErrorsDat::writeDB(), RunTPGConfigDat::writeDB(), RunTTErrorsDat::writeDB(), CaliHVScanRatioDat::writeDB(), DCUIDarkPedDat::writeDB(), DCUVFETempDat::writeDB(), MonMemTTConsistencyDat::writeDB(), MonOccupancyDat::writeDB(), MODDCCOperationDat::writeDB(), MonTTConsistencyDat::writeDB(), RunLaserRunDat::writeDB(), RunPNErrorsDat::writeDB(), DCULVRVoltagesDat::writeDB(), MonH4TablePositionDat::writeDB(), CaliGainRatioDat::writeDB(), CaliGeneralDat::writeDB(), MonLed1Dat::writeDB(), MonRunDat::writeDB(), MonPedestalOffsetsDat::writeDB(), MonPNIRedDat::writeDB(), MODCCSFEDat::writeDB(), MonCrystalConsistencyDat::writeDB(), RunConfigDat::writeDB(), MonDelaysTTDat::writeDB(), MonLaserStatusDat::writeDB(), MonLed2Dat::writeDB(), MonPNLed2Dat::writeDB(), MonPNMGPADat::writeDB(), RunPTMTempDat::writeDB(), CaliTempDat::writeDB(), DCULVRBTempsDat::writeDB(), MODCCSHFDat::writeDB(), MonLaserGreenDat::writeDB(), MonPedestalsOnlineDat::writeDB(), MonPulseShapeDat::writeDB(), MonPNLed1Dat::writeDB(), MonShapeQualityDat::writeDB(), MonPedestalsDat::writeDB(), RunCrystalErrorsDat::writeDB(), DCUCapsuleTempRawDat::writeDB(), MonLaserBlueDat::writeDB(), MonLaserPulseDat::writeDB(), MonLaserRedDat::writeDB(), MonPNBlueDat::writeDB(), MonPNGreenDat::writeDB(), DCUCCSDat::writeDB(), DCULVRTempsDat::writeDB(), MODCCSTRDat::writeDB(), MODDCCDetailsDat::writeDB(), MonPNRedDat::writeDB(), RunCommentDat::writeDB(), RunDat::writeDB(), ITimingDat::writeDB(), MonLaserIRedDat::writeDB(), MonMemChConsistencyDat::writeDB(), RunH4TablePositionDat::writeDB(), and TestFunct::WriteWithIOV().
list o2o::isnewtag = gotten_iovs['newtag'] |
list o2o::o2o_iovs = gotten_iovs['iovs'] |
string o2o::o2o_tag_list_file = "o2o_tag_list.txt" |
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_auth_path = "/nfshome0/popcondev/conddb" |
int o2o::pool_iov = iov |
string o2o::pool_logconnect = "sqlite_file:/nfshome0/kukartse/hcal/dcs/log.db" |
list o2o::pool_record = guessed_condition['pool_record'] |
string o2o::python_popcon_file = "dbwrite_o2o.py" |
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(), edm::DaqSource::defaultWebPage(), evf::ExceptionGenerator::defaultWebPage(), SiStripCoralIface::doNameQuery(), SiStripCoralIface::doQuery(), SiStripCoralIface::doSettingsQuery(), cond::CredentialStore::exportAll(), HcalLutManager::get_brickSet_from_oracle(), ora::CondMetadataTable::getAllNames(), ora::OraNamingServiceTable::getAllNames(), RunDCSHVDat::getBarrelRset(), RunDCSLVDat::getBarrelRset(), HcalChannelQualityXml::getBaseLineFromOmds(), ora::PoolMappingSchema::getClassVersionListForContainer(), ora::OraMappingSchema::getClassVersionListForContainer(), ora::OraMappingSchema::getClassVersionListForMappingVersion(), ora::PoolMappingSchema::getClassVersionListForMappingVersion(), ora::PoolContainerHeaderTable::getContainerData(), ora::OraMappingSchema::getContainerTableMap(), ora::OraMappingSchema::getDependentClassesInContainerMapping(), RunDCSHVDat::getEndcapAnodeRset(), RunDCSHVDat::getEndcapDynodeRset(), RunDCSLVDat::getEndcapRset(), HcalQIEManager::getHfQieTable(), HcalChannelQualityXml::getIovsFromOmds(), ora::PoolSequenceTable::getLastId(), ora::OraSequenceTable::getLastId(), HcalAssistant::getListOfChannelsFromDb(), HcalO2OManager::getListOfOmdsIovs(), HcalO2OManager::getListOfOmdsTags(), DBlmapReader::GetLMAP(), RunDCSMagnetDat::getMagnetRset(), ora::PoolMappingSchema::getMapping(), ora::OraMappingSchema::getMapping(), ora::PoolMappingSchema::getMappingVersionListForContainer(), ora::OraMappingSchema::getMappingVersionListForContainer(), ora::OraMappingSchema::getMappingVersionListForTable(), TestFunct::GetMetadata(), ora::CondMetadataTable::getNamesForContainer(), ora::OraNamingServiceTable::getNamesForContainer(), ora::OraNamingServiceTable::getNamesForObject(), ora::CondMetadataTable::getNamesForObject(), ora::CondMetadataTable::getObjectByName(), ora::OraNamingServiceTable::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::PoolContainerHeaderTable::lockContainer(), ora::OraContainerHeaderTable::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::PoolMappingSchema::selectMappingVersion(), ora::OraMappingSchema::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::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(), MonitorElement::getTags(), FWPSetTableManager::handleEntry(), edm::HiMixingModule::HiMixingModule(), HLTMuonIsoFilter::HLTMuonIsoFilter(), MixCollectionValidation::MixCollectionValidation(), edm::MixingModule::MixingModule(), edm::operator<<(), and MEtoEDM< T >::putMEtoEdmObject().
string o2o::use_dropbox = 'false' |