2 connectionString = essource.connect.value()
4 SiPixelLARecord =
"SiPixelLorentzAngleRcd" 5 SiPixelSimLARecord =
"SiPixelLorentzAngleSimRcd" 6 SiPixelGenErrorRecord =
"SiPixelGenErrorDBObjectRcd" 7 SiPixelTemplatesRecord =
"SiPixelTemplateDBObjectRcd" 8 SiPixel2DTemplatesRecord =
"SiPixel2DTemplateDBObjectRcd" 9 TrackerLARecord =
"SiPhase2OuterTrackerLorentzAngleRcd" 10 TrackerSimLARecord =
"SiPhase2OuterTrackerLorentzAngleSimRcd" 11 TkAlRecord =
"TrackerAlignmentRcd" 12 TkAPERecord =
"TrackerAlignmentErrorExtendedRcd" 13 TkSurfRecord =
"TrackerSurfaceDeformationRcd" 28 'T21' : (
','.
join( [
'SiPixelLorentzAngle_phase2_T15_v5_mc' ,SiPixelLARecord,connectionString,
"",
"2020-05-05 20:00:00.000"] ), ),
29 'T25' : (
','.
join( [
'SiPixelLorentzAngle_phase2_T25_v0_mc' ,SiPixelLARecord,connectionString,
"",
"2021-03-16 20:00:00.000"] ), ),
30 'T30' : (
','.
join( [
'SiPixelLorentzAngle_phase2_IT_v6.4.0_25x100_v1_mc' ,SiPixelLARecord,connectionString,
"",
"2021-11-22 21:00:00.000"] ), ),
31 'T33' : (
','.
join( [
'SiPixelLorentzAngle_phase2_IT_v7.1.1_25x100_v1_mc' ,SiPixelLARecord,connectionString,
"",
"2023-05-16 20:00:00.000"] ), ),
32 'T36' : (
','.
join( [
'SiPixelLorentzAngle_phase2_IT_v7.4.1_25x100_v2_mc' ,SiPixelLARecord,connectionString,
"",
"2024-04-08 16:00:00.000"] ), ),
33 'T37' : (
','.
join( [
'SiPixelLorentzAngle_phase2_IT_v7.4.1_25x100_v2_mc' ,SiPixelLARecord,connectionString,
"",
"2024-04-08 16:00:00.000"] ), ),
34 'T38' : (
','.
join( [
'SiPixelLorentzAngle_phase2_IT_v7.4.1_25x100_v2_mc' ,SiPixelLARecord,connectionString,
"",
"2024-04-08 16:00:00.000"] ), ),
37 allTags[
"LAWidth"] = {
38 'T21' : (
','.
join( [
'SiPixelLorentzAngle_phase2_T15_mc_forWidthEmpty' ,SiPixelLARecord,connectionString,
"forWidth",
"2019-11-05 20:00:00.000"] ), ),
39 'T25' : (
','.
join( [
'SiPixelLorentzAngle_phase2_T19_mc_forWidthEmpty' ,SiPixelLARecord,connectionString,
"forWidth",
"2020-02-23 14:00:00.000"] ), ),
40 'T30' : (
','.
join( [
'SiPixelLorentzAngle_phase2_IT_v6.4.0_25x100_empty_mc' ,SiPixelLARecord,connectionString,
"forWidth",
"2021-11-29 20:00:00.000"] ), ),
41 'T33' : (
','.
join( [
'SiPixelLorentzAngle_phase2_IT_v7.1.1_25x100_empty_mc' ,SiPixelLARecord,connectionString,
"forWidth",
"2023-12-02 15:55:00.000"] ), ),
42 'T36' : (
','.
join( [
'SiPixelLorentzAngle_phase2_IT_v7.4.1_25x100_empty_v2_mc' ,SiPixelLARecord,connectionString,
"forWidth",
"2024-04-08 16:00:00.000"] ), ),
43 'T37' : (
','.
join( [
'SiPixelLorentzAngle_phase2_IT_v7.4.1_25x100_empty_v2_mc' ,SiPixelLARecord,connectionString,
"forWidth",
"2024-04-08 16:00:00.000"] ), ),
44 'T38' : (
','.
join( [
'SiPixelLorentzAngle_phase2_IT_v7.4.1_25x100_empty_v2_mc' ,SiPixelLARecord,connectionString,
"forWidth",
"2024-04-08 16:00:00.000"] ), ),
47 allTags[
"LAfromAlignment"] = {
48 'T21' : (
','.
join( [
'SiPixelLorentzAngle_phase2_T15_mc_forWidthEmpty' ,SiPixelLARecord,connectionString,
"fromAlignment",
"2019-11-05 20:00:00.000"] ), ),
49 'T25' : (
','.
join( [
'SiPixelLorentzAngle_phase2_T19_mc_forWidthEmpty' ,SiPixelLARecord,connectionString,
"fromAlignment",
"2020-02-23 14:00:00.000"] ), ),
50 'T30' : (
','.
join( [
'SiPixelLorentzAngle_phase2_IT_v6.4.0_25x100_empty_mc' ,SiPixelLARecord,connectionString,
"fromAlignment",
"2021-11-29 20:00:00.000"] ), ),
51 'T33' : (
','.
join( [
'SiPixelLorentzAngle_phase2_IT_v7.1.1_25x100_empty_mc' ,SiPixelLARecord,connectionString,
"fromAlignment",
"2023-12-02 15:55:00.000"] ), ),
52 'T36' : (
','.
join( [
'SiPixelLorentzAngle_phase2_IT_v7.4.1_25x100_empty_v2_mc' ,SiPixelLARecord,connectionString,
"fromAlignment",
"2024-04-08 16:00:00.000"] ), ),
53 'T37' : (
','.
join( [
'SiPixelLorentzAngle_phase2_IT_v7.4.1_25x100_empty_v2_mc' ,SiPixelLARecord,connectionString,
"fromAlignment",
"2024-04-08 16:00:00.000"] ), ),
54 'T38' : (
','.
join( [
'SiPixelLorentzAngle_phase2_IT_v7.4.1_25x100_empty_v2_mc' ,SiPixelLARecord,connectionString,
"fromAlignment",
"2024-04-08 16:00:00.000"] ), ),
58 'T21' : (
','.
join( [
'SiPixelSimLorentzAngle_phase2_T15_v5_mc' ,SiPixelSimLARecord,connectionString,
"",
"2020-05-05 20:00:00.000"] ), ),
59 'T25' : (
','.
join( [
'SiPixelSimLorentzAngle_phase2_T25_v0_mc' ,SiPixelSimLARecord,connectionString,
"",
"2021-03-16 20:00:00.000"] ), ),
60 'T30' : (
','.
join( [
'SiPixelSimLorentzAngle_phase2_IT_v6.4.0_25x100_v1_mc' ,SiPixelSimLARecord,connectionString,
"",
"2021-12-03 16:00:00.000"] ), ),
61 'T33' : (
','.
join( [
'SiPixelSimLorentzAngle_phase2_IT_v7.1.1_25x100_v1_mc' ,SiPixelSimLARecord,connectionString,
"",
"2024-03-07 21:00:00.000"] ), ),
62 'T36' : (
','.
join( [
'SiPixelSimLorentzAngle_phase2_IT_v7.4.1_25x100_v2_mc' ,SiPixelSimLARecord,connectionString,
"",
"2024-04-08 16:00:00.000"] ), ),
63 'T37' : (
','.
join( [
'SiPixelSimLorentzAngle_phase2_IT_v7.4.1_25x100_v2_mc' ,SiPixelSimLARecord,connectionString,
"",
"2024-04-08 16:00:00.000"] ), ),
64 'T38' : (
','.
join( [
'SiPixelSimLorentzAngle_phase2_IT_v7.4.1_25x100_v2_mc' ,SiPixelSimLARecord,connectionString,
"",
"2024-04-08 16:00:00.000"] ), ),
67 allTags[
"GenError"] = {
68 'T21' : (
','.
join( [
'SiPixelGenErrorDBObject_phase2_IT_v6.1.5_25x100_v3_mc',SiPixelGenErrorRecord,connectionString,
"",
"2021-01-27 10:00:00"] ), ),
69 'T25' : (
','.
join( [
'SiPixelGenErrorDBObject_phase2_IT_v7.0.2_25x100_v2_mc' ,SiPixelGenErrorRecord,connectionString,
"",
"2021-04-17 20:00:00"] ), ),
70 'T30' : (
','.
join( [
'SiPixelGenErrorDBObject_phase2_IT_v6.4.0_25x100_v1_mc',SiPixelGenErrorRecord,connectionString,
"",
"2021-11-22 21:00:00"] ), ),
71 'T33' : (
','.
join( [
'SiPixelGenErrorDBObject_phase2_IT_v7.1.1_25x100_v1_mc' ,SiPixelGenErrorRecord,connectionString,
"",
"2023-05-16 20:00:00"] ), ),
72 'T36' : (
','.
join( [
'SiPixelGenErrorDBObject_phase2_IT_v7.4.1_25x100_v2_mc' ,SiPixelGenErrorRecord,connectionString,
"",
"2024-04-08 16:00:00.000"] ), ),
73 'T37' : (
','.
join( [
'SiPixelGenErrorDBObject_phase2_IT_v7.4.1_25x100_v2_mc' ,SiPixelGenErrorRecord,connectionString,
"",
"2024-04-08 16:00:00.000"] ), ),
74 'T38' : (
','.
join( [
'SiPixelGenErrorDBObject_phase2_IT_v7.4.1_25x100_v2_mc' ,SiPixelGenErrorRecord,connectionString,
"",
"2024-04-08 16:00:00.000"] ), ),
77 allTags[
"Template"] = {
78 'T21' : (
','.
join( [
'SiPixelTemplateDBObject_phase2_IT_v6.1.5_25x100_v3_mc',SiPixelTemplatesRecord,connectionString,
"",
"2021-01-27 10:00:00"] ), ),
79 'T25' : (
','.
join( [
'SiPixelTemplateDBObject_phase2_IT_v7.0.2_25x100_v2_mc' ,SiPixelTemplatesRecord,connectionString,
"",
"2021-04-17 20:00:00"] ), ),
80 'T30' : (
','.
join( [
'SiPixelTemplateDBObject_phase2_IT_v6.4.0_25x100_v1_mc',SiPixelTemplatesRecord,connectionString,
"",
"2021-11-22 21:00:00"] ), ),
81 'T33' : (
','.
join( [
'SiPixelTemplateDBObject_phase2_IT_v7.1.1_25x100_v1_mc' ,SiPixelTemplatesRecord,connectionString,
"",
"2023-05-16 20:00:00"] ), ),
82 'T36' : (
','.
join( [
'SiPixelTemplateDBObject_phase2_IT_v7.4.1_25x100_v2_mc' ,SiPixelTemplatesRecord,connectionString,
"",
"2024-04-08 16:00:00.000"] ), ),
83 'T37' : (
','.
join( [
'SiPixelTemplateDBObject_phase2_IT_v7.4.1_25x100_v2_mc' ,SiPixelTemplatesRecord,connectionString,
"",
"2024-04-08 16:00:00.000"] ), ),
84 'T38' : (
','.
join( [
'SiPixelTemplateDBObject_phase2_IT_v7.4.1_25x100_v2_mc' ,SiPixelTemplatesRecord,connectionString,
"",
"2024-04-08 16:00:00.000"] ), ),
87 allTags[
"TkAlignment"] = {
88 'T21' : (
','.
join( [
'TrackerAlignment_Upgrade2026_T21_design_v0' ,TkAlRecord, connectionString,
"",
"2023-03-16 15:30:00"] ), ),
89 'T25' : (
','.
join( [
'TrackerAlignment_Upgrade2026_T25_design_v0' ,TkAlRecord, connectionString,
"",
"2023-03-16 15:30:00"] ), ),
90 'T30' : (
','.
join( [
'TrackerAlignment_Upgrade2026_T30_design_v0' ,TkAlRecord, connectionString,
"",
"2023-03-16 15:30:00"] ), ),
91 'T33' : (
','.
join( [
'TrackerAlignment_Upgrade2026_T33_design_v1' ,TkAlRecord, connectionString,
"",
"2024-09-12 15:37:00"] ), ),
92 'T36' : (
','.
join( [
'TrackerAlignment_Upgrade2026_T36_design_v1' ,TkAlRecord, connectionString,
"",
"2024-09-12 15:37:00"] ), ),
93 'T37' : (
','.
join( [
'TrackerAlignment_Upgrade2026_T37_design_v1' ,TkAlRecord, connectionString,
"",
"2024-09-12 15:37:00"] ), ),
94 'T38' : (
','.
join( [
'TrackerAlignment_Upgrade2026_T38_design_v1' ,TkAlRecord, connectionString,
"",
"2024-09-12 15:37:00"] ), ),
98 'T21' : (
','.
join( [
'TrackerAlignmentErrorsExtended_Upgrade2026_T21_design_v0' ,TkAPERecord, connectionString,
"",
"2023-03-16 15:30:00"] ), ),
99 'T25' : (
','.
join( [
'TrackerAlignmentErrorsExtended_Upgrade2026_T25_design_v0' ,TkAPERecord, connectionString,
"",
"2023-03-16 15:30:00"] ), ),
100 'T30' : (
','.
join( [
'TrackerAlignmentErrorsExtended_Upgrade2026_T30_design_v0' ,TkAPERecord, connectionString,
"",
"2023-03-16 15:30:00"] ), ),
101 'T33' : (
','.
join( [
'TrackerAlignmentErrorsExtended_Upgrade2026_T33_design_v1' ,TkAPERecord, connectionString,
"",
"2024-09-12 15:37:00"] ), ),
102 'T36' : (
','.
join( [
'TrackerAlignmentErrorsExtended_Upgrade2026_T36_design_v1' ,TkAPERecord, connectionString,
"",
"2024-09-12 15:37:00"] ), ),
103 'T37' : (
','.
join( [
'TrackerAlignmentErrorsExtended_Upgrade2026_T36_design_v1' ,TkAPERecord, connectionString,
"",
"2024-09-12 15:37:00"] ), ),
104 'T38' : (
','.
join( [
'TrackerAlignmentErrorsExtended_Upgrade2026_T36_design_v1' ,TkAPERecord, connectionString,
"",
"2024-09-12 15:37:00"] ), ),
107 allTags[
"TkSurf"] = {
108 'T21' : (
','.
join( [
'TrackerSurfaceDeformations_Upgrade2026_Zero' ,TkSurfRecord, connectionString,
"",
"2023-03-16 15:30:00"] ), ),
109 'T25' : (
','.
join( [
'TrackerSurfaceDeformations_Upgrade2026_Zero' ,TkSurfRecord, connectionString,
"",
"2023-03-16 15:30:00"] ), ),
110 'T30' : (
','.
join( [
'TrackerSurfaceDeformations_Upgrade2026_Zero' ,TkSurfRecord, connectionString,
"",
"2023-03-16 15:30:00"] ), ),
111 'T33' : (
','.
join( [
'TrackerSurfaceDeformations_Upgrade2026_Zero' ,TkSurfRecord, connectionString,
"",
"2023-03-16 15:30:00"] ), ),
112 'T36' : (
','.
join( [
'TrackerSurfaceDeformations_Upgrade2026_Zero' ,TkSurfRecord, connectionString,
"",
"2023-04-14 15:00:00"] ), ),
113 'T37' : (
','.
join( [
'TrackerSurfaceDeformations_Upgrade2026_Zero' ,TkSurfRecord, connectionString,
"",
"2023-04-14 15:00:00"] ), ),
114 'T38' : (
','.
join( [
'TrackerSurfaceDeformations_Upgrade2026_Zero' ,TkSurfRecord, connectionString,
"",
"2023-04-14 15:00:00"] ), ),
123 'T21' : ( ','.join( [ 'SiPhase2OuterTrackerLorentzAngle_v0_mc' ,TrackerLARecord,connectionString, "", "2020-07-19 17:00:00.000"] ), ), #uH = 0.07/T 124 'T25' : ( ','.join( [ 'SiPhase2OuterTrackerLorentzAngle_v0_mc' ,TrackerLARecord,connectionString, "", "2020-07-19 17:00:00.000"] ), ), #uH = 0.07/T 125 'T30' : ( ','.join( [ 'SiPhase2OuterTrackerLorentzAngle_v0_mc' ,TrackerLARecord,connectionString, "", "2020-07-19 17:00:00.000"] ), ), #uH = 0.07/T 126 'T33' : ( ','.join( [ 'SiPhase2OuterTrackerLorentzAngle_v0_mc' ,TrackerLARecord,connectionString, "", "2020-07-19 17:00:00.000"] ), ), #uH = 0.07/T 129 allTags["SimOTLA"] = { 130 'T21' : ( ','.join( [ 'SiPhase2OuterTrackerLorentzAngleSim_v0_mc' ,TrackerSimLARecord,connectionString, "", "2020-07-19 17:00:00.000"] ), ), #uH = 0.07/T 131 'T25' : ( ','.join( [ 'SiPhase2OuterTrackerLorentzAngleSim_v0_mc' ,TrackerSimLARecord,connectionString, "", "2020-07-19 17:00:00.000"] ), ), #uH = 0.07/T 132 'T30' : ( ','.join( [ 'SiPhase2OuterTrackerLorentzAngleSim_v0_mc' ,TrackerSimLARecord,connectionString, "", "2020-07-19 17:00:00.000"] ), ), #uH = 0.07/T 133 'T33' : ( ','.join( [ 'SiPhase2OuterTrackerLorentzAngleSim_v0_mc' ,TrackerSimLARecord,connectionString, "", "2020-07-19 17:00:00.000"] ), ), #uH = 0.07/T 142 allTags["Template2Dnum"] = { 145 allTags["Template2Dden"] = { 150 activeKeys = [
"LA",
"LAWidth",
"SimLA",
"LAfromAlignment",
"GenError",
"Template",
"TkAlignment",
"TkAPE",
"TkSurf"]
153 activeDets = [
"T21",
"T25",
"T30",
"T33",
"T36",
"T37",
"T38"]
155 for det
in activeDets:
157 for key
in activeKeys:
158 if (det
in allTags[key]):
159 appendedTags += allTags[key][det]
162 phase2GTs[
"phase2_realistic_"+det] = (
'phase2_realistic', appendedTags)
166 for key,val
in phase2GTs.items():
168 autoCond[key] = ( autoCond[val[0]] )
170 autoCond[key] = ( autoCond[val[0]],) + val[1]
def autoCondPhase2(autoCond)
static std::string join(char **cmd)