68 partitionDict = {
'PartTECM':
'TEC-',
'PartTECP':
'TEC+',
'PartTIBD':
'TIB/TID',
'PartTOB':
'TOB'}
69 o2otimestamp = datetime.datetime.utcnow()
70 for part
in partitionDict:
71 psetPart = p.SiStripConfigDb.Partitions.getParameter(part)
72 if not psetPart:
continue 76 o2otimestamp = o2otimestamp,
77 subDetector = partitionDict[part],
78 partitionname = psetPart.getParameter(
'PartitionName').
value(),
79 fecVersionMajorId = psetPart.getParameter(
'FecVersion')[0],
80 fecVersionMinorId = psetPart.getParameter(
'FecVersion')[1],
81 fedVersionMajorId = psetPart.getParameter(
'FedVersion')[0],
82 fedVersionMinorId = psetPart.getParameter(
'FedVersion')[1],
83 connectionVersionMajorId = psetPart.getParameter(
'CablingVersion')[0],
84 connectionVersionMinorId = psetPart.getParameter(
'CablingVersion')[1],
85 dcuInfoVersionMajorId = psetPart.getParameter(
'DcuDetIdsVersion')[0],
86 dcuInfoVersionMinorId = psetPart.getParameter(
'DcuDetIdsVersion')[1],
87 dcuPsuMapVersionMajorId = psetPart.getParameter(
'DcuPsuMapVersion')[0],
88 dcuPsuMapVersionMinorId = psetPart.getParameter(
'DcuPsuMapVersion')[1],
89 maskVersionMajorId = psetPart.getParameter(
'MaskVersion')[0],
90 maskVersionMinorId = psetPart.getParameter(
'MaskVersion')[1],
91 apvTimingVersionMajorId = psetPart.getParameter(
'ApvTimingVersion')[0],
92 apvTimingVersionMinorId = psetPart.getParameter(
'ApvTimingVersion')[1],
93 timingRunNumber = psetPart.getParameter(
'RunNumber').
value()
95 self.o2o_partitions.append(entry)
def _readPartitions(self, p)