CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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.

References python.multivaluedict.append(), and communicate().

172 def get_iovs(tag, input_pool_connect_string, mode):
173  result = "fail" # default
174  newtag = False # default
175  # nominal mode of operations
176  if mode == "online" or mode == "online_dropbox":
177  try:
178  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]
179  iov_list = iovs.splitlines()
180  result = "success"
181  except:
182  print "ERROR: Cannot get the IOV update list for tag", tag+". This tag will not be updated. Now continue to the next tag..."
183  iov_list=[]
184  result = "fail"
185 
186  # script development mode, DB interfaces substituted with dummies
187  if mode == "offline_development":
188  #iovs = subprocess.Popen(["cat", tag+"_iov_to_update.devel"], stdout=subprocess.PIPE).communicate()[0]
189  try:
190  iov_list_file = open(base_dir+"/o2o/"+tag+"_iov_to_update.devel")
191  except:
192  print "ERROR: Cannot open file with the IOV list for tag", tag+". This tag will not be updated. Now continue to the next tag..."
193  result = "fail"
194  result = "success"
195  iov_list = []
196  for line in iov_list_file:
197  iov_list . append(line.strip())
198  iov_list_file.close()
199  # now parse iov_list.
200  # May contain various important output. Prefix defines the type of instruction.
201  # IOVs start with O2O_IOV_LIST:
202  # CONNECTION ERROR: indicates problems with connection to Pool and invalidates
203  # the IOV list
204  iovs=[]
205  for line in iov_list:
206  line_stripped = line.strip()
207  if line.strip()[0:13] == "O2O_IOV_LIST:":
208  iovs.append(line.lstrip("O2O_IOV_LIST:"))
209  if line_stripped[0:line_stripped.find(":")] == "CONNECTION ERROR":
210  result = "fail_connect"
211  if line_stripped[0:line_stripped.find(":")] == "NEW_POOL_TAG_TRUE":
212  newtag = True
213  return {'iovs':iovs,
214  'result':result,
215  'newtag':newtag}
216 
#_____ run PopCon
static void * communicate(void *obj)
Definition: DQMNet.cc:1246
def get_iovs
Definition: o2o.py:171
def o2o.get_tags (   tag_list_file_name)

Definition at line 157 of file o2o.py.

References python.multivaluedict.append().

158 def get_tags(tag_list_file_name):
159  try:
160  tag_list_file = open(tag_list_file_name)
161  except:
162  print "Cannot open the file with the list of tags, exiting..."
163  sys.exit()
164  tag_list = []
165  for line in tag_list_file:
166  tag_list . append(line)
167  tag_list_file.close()
168  #tags = subprocess.Popen(["cat", tag_list], stdout=subprocess.PIPE).communicate()[0]
169  return tag_list
170 
#_____ get list of IOVs that need updating, from comparison of OMDS and ORCON
def get_tags
Definition: o2o.py:157
def o2o.guess_condition_from_tag (   tagname)

Definition at line 76 of file o2o.py.

76 
77 def guess_condition_from_tag(tagname):
78  guessed_type = tagname[0:tagname.find("_")]
79  # FIXME: gak is a temporary debugging case
80  if guessed_type == "gak":
81  guessed_type = "HcalChannelQuality"
82  guessed_query_file_name = base_dir+"/HcalChannelQuality.sql"
83  guessed_pool_record = "HcalChannelQualityRcd"
84 
85  elif guessed_type == "HcalDcsValues":
86  guessed_type = "DcsValues"
87  guessed_query_file_name = base_dir+"/HcalDcsValues.sql"
88  guessed_pool_record = "HcalDcsRcd"
89 
90  elif guessed_type == "HcalChannelQuality":
91  guessed_type = "ChannelQuality"
92  guessed_query_file_name = base_dir+"/HcalChannelQuality.sql"
93  guessed_pool_record = "HcalChannelQualityRcd"
94 
95  elif guessed_type == "HcalLutMetadata":
96  guessed_type = "LutMetadata"
97  guessed_query_file_name = base_dir+"/HcalLutMetadata.sql"
98  guessed_pool_record = "HcalLutMetadataRcd"
99 
100  elif guessed_type == "HcalRespCorrs":
101  guessed_type = "RespCorrs"
102  guessed_query_file_name = base_dir+"/HcalRespCorrs.sql"
103  guessed_pool_record = "HcalRespCorrsRcd"
104 
105  elif guessed_type == "HcalValidationCorrs":
106  guessed_type = "ValidationCorrs"
107  guessed_query_file_name = base_dir+"/HcalValidationCorrs.sql"
108  guessed_pool_record = "HcalValidationCorrsRcd"
109 
110  elif guessed_type == "HcalPedestals":
111  guessed_type = "Pedestals"
112  guessed_query_file_name = base_dir+"/HcalPedestals.sql"
113  guessed_pool_record = "HcalPedestalsRcd"
114 
115  elif guessed_type == "HcalPedestalWidths":
116  guessed_type = "PedestalWidths"
117  guessed_query_file_name = base_dir+"/HcalPedestalWidths.sql"
118  guessed_pool_record = "HcalPedestalWidthsRcd"
119 
120  elif guessed_type == "HcalGains":
121  guessed_type = "Gains"
122  guessed_query_file_name = base_dir+"/HcalGains.sql"
123  guessed_pool_record = "HcalGainsRcd"
124 
125  elif guessed_type == "HcalGainWidths":
126  guessed_type = "GainWidths"
127  guessed_query_file_name = base_dir+"/HcalGainWidths.sql"
128  guessed_pool_record = "HcalGainWidthsRcd"
129 
130  elif guessed_type == "HcalQIEData":
131  guessed_type = "QIEData"
132  guessed_query_file_name = base_dir+"/HcalQieData.sql"
133  guessed_pool_record = "HcalQIEDataRcd"
134 
135  elif guessed_type == "HcalElectronicsMap":
136  guessed_type = "ElectronicsMap"
137  guessed_query_file_name = base_dir+"/HcalEmap.sql"
138  guessed_pool_record = "HcalElectronicsMapRcd"
139 
140  elif guessed_type == "HcalZSThresholds":
141  guessed_type = "ZSThresholds"
142  guessed_query_file_name = base_dir+"/HcalZSThresholds.sql"
143  guessed_pool_record = "HcalZSThresholdsRcd"
144 
145  elif guessed_type == "HcalL1TriggerObjects":
146  guessed_type = "L1TriggerObjects"
147  guessed_query_file_name = base_dir+"/HcalL1TriggerObjects.sql"
148  guessed_pool_record = "HcalL1TriggerObjectsRcd"
149 
150  else:
151  print "Cannot guess condition type"
152 
153  return {'condition_type':guessed_type,
154  'query_file_name':guessed_query_file_name,
155  'pool_record':guessed_pool_record}
156 
#_____ get list of IOVs that need updating, from comparison of OMDS and ORCON
def guess_condition_from_tag
Definition: o2o.py:76
def o2o.make_popcon_config_file (   filename)

Definition at line 52 of file o2o.py.

52 
53 def make_popcon_config_file(filename):
54  py_templ_file = open(base_dir+"/"+python_popcon_template_file)
55  py_file = open(str(filename), "w")
56  for line in py_templ_file:
57  line=line.replace('CONNECT_STRING', output_pool_connect_string)
58  line=line.replace('POOL_AUTH_PATH', pool_auth_path)
59  line=line.replace('CONDITION_TYPE', condition_type)
60  line=line.replace('OMDS_CONDITION_TAG', tag)
61  line=line.replace('OMDS_IOV', str(iov))
62  line=line.replace('OMDS_ACCESSOR_STRING', omds_accessor_string)
63  line=line.replace('OMDS_QUERY', query)
64  line=line.replace('POOL_LOGCONNECT', pool_logconnect)
65  line=line.replace('POOL_RECORD', pool_record)
66  line=line.replace('POOL_OUTPUT_TAG', tag)
67  line=line.replace('POOL_IOV', str(pool_iov))
68  py_file.write(line)
69  py_file.close()
70 
71 #
72 # HCAL conditions have a rigid naming scheme:
73 # RECORD_VERSION_USE, e.g. HcalChannelQuality_v1.00_mc
74 # or
75 # RECORD_UNIT_VERSION_USE, e.g. HcalPedestals_ADC_v2.31_offline
#
def make_popcon_config_file
Definition: o2o.py:52
def o2o.run_popcon ( )

Definition at line 217 of file o2o.py.

218 def run_popcon():
219  status = "fail"
220  try:
221  print "iov=", iov
222  if mode == "online" or mode == "online_dropbox":
223  subprocess.call(["cmsRun", str(python_popcon_file)])
224  else:
225  print "In online mode would run Popcon now:", "cmsRun", str(python_popcon_file)
226  status = "success"
227  except OSError:
228  print "Cannot execute cmsRun. Further processing of this tag is stopped, going to the next tag..."
229  #break
230  except:
231  print "Cannot execute cmsRun. Further processing of this tag is stopped, going to the next tag..."
232  #break
233 
234  #
235  #_____ copy to the Dropbox area (optional)
236  #
237  if use_dropbox == "true" or use_dropbox == "True" or use_dropbox == "TRUE":
238  try:
239  retcall_meta = subprocess.call(['mv', str(output_dir)+'/'+str(dropbox_file_name_prefix)+'.txt', str(dropbox_dir)+'/'])
240  retcall_sql = subprocess.call(['mv', str(output_dir)+'/'+str(dropbox_file_name_prefix)+'.sql', str(dropbox_dir)+'/'])
241  except:
242  print "ERROR: Cannot copy files to the dropbox area"
243 
244  return {'status':status}
245 #
246 #_____ end of helper functions __________________________________________
247 
def run_popcon
Definition: o2o.py:217

Variable Documentation

string o2o.base_dir = "."

Definition at line 32 of file o2o.py.

list o2o.condition_type = guessed_condition['condition_type']

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.

tuple o2o.dropbox_file_name_prefix = str(output_dir)

Definition at line 277 of file o2o.py.

tuple o2o.dropbox_txt_file = open(dropbox_txt_file_name, "w")

Definition at line 280 of file o2o.py.

tuple o2o.dropbox_txt_file_name = str(dropbox_file_name_prefix)

Definition at line 279 of file o2o.py.

tuple o2o.gotten_iovs = get_iovs(tag, input_pool_connect_string, mode)

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 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']

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 = "."

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"

Definition at line 28 of file o2o.py.

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

Definition at line 29 of file o2o.py.

int o2o.pool_iov = iov

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.

list o2o.pool_record = guessed_condition['pool_record']

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(), 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")

Definition at line 268 of file o2o.py.

string o2o.query_file_name = guessed_condition['query_file_name']

Definition at line 258 of file o2o.py.

o2o.query_save = query

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)

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().

string o2o.use_dropbox = 'false'

Definition at line 40 of file o2o.py.