CMS 3D CMS Logo

Functions | Variables

o2o Namespace Reference

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'

Function Documentation

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 


Variable Documentation

string o2o::base_dir = "."

Definition at line 32 of file o2o.py.

Definition at line 257 of file o2o.py.

string o2o::dropbox_comment = 'generated by CaloOnlineTools/HcalOnlineDb/test/o2o.py script'

Definition at line 43 of file o2o.py.

string o2o::dropbox_destination_db = 'oracle://cms_orcon_prod/CMS_COND_31X_HCAL'

Definition at line 42 of file o2o.py.

string o2o::dropbox_dir = "./dropbox"

Definition at line 41 of file o2o.py.

Definition at line 277 of file o2o.py.

Definition at line 280 of file o2o.py.

Definition at line 279 of file o2o.py.

Definition at line 293 of file o2o.py.

tuple o2o::guessed_condition = guess_condition_from_tag(tag)

Definition at line 256 of file o2o.py.

int o2o::i = 0

Definition at line 304 of file o2o.py.

string o2o::input_pool_connect_string = "sqlite_file:/nfshome0/kukartse/hcal/dcs/HcalDcsValues_v1.00_offline.db"

Definition at line 27 of file o2o.py.

tuple o2o::iov = int(line)

Definition at line 307 of file o2o.py.

Referenced by copyObject(), HcalDQMDbInterface::createIOV(), cond::IOVService::deleteAll(), cond::AlignSplitIOV::execute(), cond::IOVService::exportIOVRangeWithPayload(), cond::IOVService::exportIOVWithPayload(), LMFCorrCoefDat::fetch(), LMFCorrCoefDat::fetchBetween(), ODBadTTDat::fetchData(), MonPulseShapeDat::fetchData(), MonPNRedDat::fetchData(), MonLaserGreenDat::fetchData(), MonH4TablePositionDat::fetchData(), DCULVRTempsDat::fetchData(), DCUIDarkDat::fetchData(), CaliTempDat::fetchData(), CaliHVScanRatioDat::fetchData(), MonShapeQualityDat::fetchData(), FEConfigBadXTDat::fetchData(), ITimingDat::fetchData(), MonMemTTConsistencyDat::fetchData(), DCUCCSDat::fetchData(), MonPedestalsOnlineDat::fetchData(), ODVfeToRejectDat::fetchData(), ODTowersToByPassDat::fetchData(), MonTestPulseDat::fetchData(), MonPNIRedDat::fetchData(), MonMemChConsistencyDat::fetchData(), MonDelaysTTDat::fetchData(), MODCCSTRDat::fetchData(), MonLaserRedDat::fetchData(), MonLaserPulseDat::fetchData(), MonLaserIRedDat::fetchData(), CaliGainRatioDat::fetchData(), ODDelaysDat::fetchData(), MonPNLed1Dat::fetchData(), MonPNGreenDat::fetchData(), MonLaserBlueDat::fetchData(), DCUVFETempDat::fetchData(), DCUIDarkPedDat::fetchData(), CaliGeneralDat::fetchData(), MonPNLed2Dat::fetchData(), MonPNBlueDat::fetchData(), MonLed2Dat::fetchData(), MODDCCDetailsDat::fetchData(), CaliCrystalIntercalDat::fetchData(), ODWeightsSamplesDat::fetchData(), ODGolBiasCurrentDat::fetchData(), MonPNPedDat::fetchData(), MonLed1Dat::fetchData(), ODWeightsDat::fetchData(), MonPNMGPADat::fetchData(), MonLaserStatusDat::fetchData(), MODCCSFEDat::fetchData(), FEConfigBadStripDat::fetchData(), DCULVRVoltagesDat::fetchData(), ODBadXTDat::fetchData(), MonPedestalOffsetsDat::fetchData(), MonOccupancyDat::fetchData(), MonCrystalConsistencyDat::fetchData(), DCULVRBTempsDat::fetchData(), ODPedestalOffsetsDat::fetchData(), MonTTConsistencyDat::fetchData(), MODCCSHFDat::fetchData(), DCUCapsuleTempDat::fetchData(), MODDCCOperationDat::fetchData(), FEConfigBadTTDat::fetchData(), DCUCapsuleTempRawDat::fetchData(), EcalCondDBInterface::fetchDataSet(), EcalCondDBInterface::fetchDataSetWithMap(), LMFCorrCoefDat::fetchLastInsertedRun(), EcalCondDBInterface::fetchRunIOV(), LMFCorrCoefDat::find(), HcalO2OManager::getListOfPoolIovs(), HcalO2OManager::getListOfUpdateIovs(), LMFLmrSubIOV::getLMFIOV(), LMFCorrCoefDatComponent::getLMFLmrSubIOV(), LMFDat::getLMFRunIOVID(), EcalCondDBInterface::insertDataArraySet(), EcalCondDBInterface::insertDataSet(), EcalCondDBInterface::insertDCUIOV(), EcalCondDBInterface::insertLmfIOV(), EcalCondDBInterface::insertLmfLmrSubIOV(), EcalCondDBInterface::insertLmfRunIOV(), EcalCondDBInterface::insertLmfSeq(), EcalCondDBInterface::insertMonRunIOV(), EcalCondDBInterface::insertRunIOV(), cond::IOVService::isValid(), XMLDocument::makeElementIOV(), XMLDocument::makeMapIOV(), HcalDQMDbInterface::makeMapIOV(), cond::IOVService::payloadContainerName(), cond::IOVService::payloadToken(), RFIOFile::prefetch(), printRuns(), TStorageFactoryFile::ReadBufferAsync(), TStorageFactoryFile::ReadBuffers(), DTConfigDBProducer::readDTCCBConfig(), MonRunIOV::setRunIOV(), MODRunIOV::setRunIOV(), LMFSeqDat::setRunIOV(), cond::service::PoolDBOutputService::tagInfo(), cond::IOVService::timeType(), EcalCondDBInterface::updateRunIOV(), EcalCondDBInterface::updateRunIOVEndTime(), EcalCondDBInterface::updateRunIOVStartTime(), cond::IOVService::validity(), MonLaserIRedDat::writeArrayDB(), ODVfeToRejectDat::writeArrayDB(), MonPedestalOffsetsDat::writeArrayDB(), ODTowersToByPassDat::writeArrayDB(), MonMemChConsistencyDat::writeArrayDB(), MonLed2Dat::writeArrayDB(), MonH4TablePositionDat::writeArrayDB(), MODCCSHFDat::writeArrayDB(), MonLed1Dat::writeArrayDB(), MonLaserBlueDat::writeArrayDB(), MonPNGreenDat::writeArrayDB(), MonPNBlueDat::writeArrayDB(), FEConfigBadXTDat::writeArrayDB(), DCUVFETempDat::writeArrayDB(), MonPNLed1Dat::writeArrayDB(), MODDCCOperationDat::writeArrayDB(), CaliCrystalIntercalDat::writeArrayDB(), ODBadTTDat::writeArrayDB(), MonShapeQualityDat::writeArrayDB(), MonPNPedDat::writeArrayDB(), MonPNLed2Dat::writeArrayDB(), DCUCCSDat::writeArrayDB(), ODWeightsDat::writeArrayDB(), MonTTConsistencyDat::writeArrayDB(), MonTestPulseDat::writeArrayDB(), MODCCSFEDat::writeArrayDB(), DCUIDarkDat::writeArrayDB(), DCUCapsuleTempRawDat::writeArrayDB(), ODGolBiasCurrentDat::writeArrayDB(), FEConfigBadTTDat::writeArrayDB(), ODDelaysDat::writeArrayDB(), MonPNRedDat::writeArrayDB(), MonDelaysTTDat::writeArrayDB(), DCUIDarkPedDat::writeArrayDB(), DCUCapsuleTempDat::writeArrayDB(), CaliGainRatioDat::writeArrayDB(), ODBadXTDat::writeArrayDB(), MonPNMGPADat::writeArrayDB(), MonLaserRedDat::writeArrayDB(), MODCCSTRDat::writeArrayDB(), ODWeightsSamplesDat::writeArrayDB(), FEConfigBadStripDat::writeArrayDB(), DCULVRVoltagesDat::writeArrayDB(), MonPedestalsDat::writeArrayDB(), MonOccupancyDat::writeArrayDB(), MonLaserPulseDat::writeArrayDB(), DCULVRBTempsDat::writeArrayDB(), CaliTempDat::writeArrayDB(), ODPedestalOffsetsDat::writeArrayDB(), MonPedestalsOnlineDat::writeArrayDB(), MonLaserGreenDat::writeArrayDB(), MonCrystalConsistencyDat::writeArrayDB(), MonPNIRedDat::writeArrayDB(), MonMemTTConsistencyDat::writeArrayDB(), MODDCCDetailsDat::writeArrayDB(), ITimingDat::writeArrayDB(), RunTTErrorsDat::writeDB(), RunTPGConfigDat::writeDB(), RunMemTTErrorsDat::writeDB(), RunMemChErrorsDat::writeDB(), RunFEConfigDat::writeDB(), MonTestPulseDat::writeDB(), MonPNPedDat::writeDB(), DCUIDarkDat::writeDB(), DCUCapsuleTempDat::writeDB(), CaliCrystalIntercalDat::writeDB(), DCUIDarkPedDat::writeDB(), CaliHVScanRatioDat::writeDB(), MonOccupancyDat::writeDB(), MonMemTTConsistencyDat::writeDB(), DCUVFETempDat::writeDB(), RunPNErrorsDat::writeDB(), RunLaserRunDat::writeDB(), MonTTConsistencyDat::writeDB(), MODDCCOperationDat::writeDB(), MonH4TablePositionDat::writeDB(), DCULVRVoltagesDat::writeDB(), MonRunDat::writeDB(), MonLed1Dat::writeDB(), CaliGeneralDat::writeDB(), CaliGainRatioDat::writeDB(), MonPNIRedDat::writeDB(), MonPedestalOffsetsDat::writeDB(), RunConfigDat::writeDB(), MonCrystalConsistencyDat::writeDB(), MODCCSFEDat::writeDB(), MonPNMGPADat::writeDB(), MonPNLed2Dat::writeDB(), MonLed2Dat::writeDB(), MonLaserStatusDat::writeDB(), MonDelaysTTDat::writeDB(), RunPTMTempDat::writeDB(), MonPulseShapeDat::writeDB(), MonPedestalsOnlineDat::writeDB(), MonLaserGreenDat::writeDB(), MODCCSHFDat::writeDB(), DCULVRBTempsDat::writeDB(), CaliTempDat::writeDB(), MonShapeQualityDat::writeDB(), MonPNLed1Dat::writeDB(), RunCrystalErrorsDat::writeDB(), MonPedestalsDat::writeDB(), MonPNGreenDat::writeDB(), MonPNBlueDat::writeDB(), MonLaserRedDat::writeDB(), MonLaserPulseDat::writeDB(), MonLaserBlueDat::writeDB(), DCUCapsuleTempRawDat::writeDB(), RunDat::writeDB(), RunCommentDat::writeDB(), MonPNRedDat::writeDB(), MODDCCDetailsDat::writeDB(), MODCCSTRDat::writeDB(), DCULVRTempsDat::writeDB(), DCUCCSDat::writeDB(), RunH4TablePositionDat::writeDB(), MonMemChConsistencyDat::writeDB(), MonLaserIRedDat::writeDB(), and ITimingDat::writeDB().

list o2o::isnewtag = gotten_iovs['newtag']

Definition at line 303 of file o2o.py.

string o2o::mode = 'online'

Definition at line 24 of file o2o.py.

list o2o::o2o_iovs = gotten_iovs['iovs']

Definition at line 302 of file o2o.py.

string o2o::o2o_tag_list_file = "o2o_tag_list.txt"

Definition at line 34 of file o2o.py.

string o2o::omds_accessor_string = "occi://CMS_HCL_APPUSER_R@anyhost/cms_omds_lb?PASSWORD=HCAL_Reader_44"

Definition at line 31 of file o2o.py.

string o2o::output_dir = "."
string o2o::output_pool_connect_string = "sqlite_file:/nfshome0/kukartse/hcal/dcs/HcalDcsValues_v1.00_offline.db"

Definition at line 28 of file o2o.py.

string o2o::pool_auth_path = "/nfshome0/popcondev/conddb"

Definition at line 29 of file o2o.py.

Definition at line 308 of file o2o.py.

string o2o::pool_logconnect = "sqlite_file:/nfshome0/kukartse/hcal/dcs/log.db"

Definition at line 30 of file o2o.py.

Definition at line 259 of file o2o.py.

string o2o::python_popcon_file = "dbwrite_o2o.py"

Definition at line 36 of file o2o.py.

string o2o::python_popcon_template_file = "dbwrite_o2o_template.py"

Definition at line 35 of file o2o.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(), 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(), 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::SequenceManager::lockEntry(), cond::Logger::LookupLastEntryByProvenance(), cond::Logger::LookupLastEntryByTag(), L1CaloHcalScaleConfigOnlineProd::newObject(), DQMSummaryReader::readData(), evf::FUEventProcessor::receivingAndMonitor(), ora::PoolMappingSchema::selectMappingVersion(), and ora::OraMappingSchema::selectMappingVersion().

tuple o2o::query_file = open(query_file_name, "r")

Definition at line 268 of file o2o.py.

Definition at line 258 of file o2o.py.

Definition at line 318 of file o2o.py.

tuple o2o::run_result = run_popcon()

Definition at line 325 of file o2o.py.

tuple o2o::tag = tag_name.strip()

Definition at line 251 of file o2o.py.

tuple o2o::tags = get_tags(base_dir+"/"+o2o_tag_list_file)
string o2o::use_dropbox = 'false'

Definition at line 40 of file o2o.py.