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