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"] ), ),
34 allTags[
"LAWidth"] = {
35 'T21' : (
','.
join( [
'SiPixelLorentzAngle_phase2_T15_mc_forWidthEmpty' ,SiPixelLARecord,connectionString,
"forWidth",
"2019-11-05 20:00:00.000"] ), ),
36 'T25' : (
','.
join( [
'SiPixelLorentzAngle_phase2_T19_mc_forWidthEmpty' ,SiPixelLARecord,connectionString,
"forWidth",
"2020-02-23 14:00:00.000"] ), ),
37 'T30' : (
','.
join( [
'SiPixelLorentzAngle_phase2_IT_v6.4.0_25x100_empty_mc' ,SiPixelLARecord,connectionString,
"forWidth",
"2021-11-29 20:00:00.000"] ), ),
38 'T33' : (
','.
join( [
'SiPixelLorentzAngle_phase2_IT_v7.1.1_25x100_empty_mc' ,SiPixelLARecord,connectionString,
"forWidth",
"2023-12-02 15:55:00.000"] ), ),
41 allTags[
"LAfromAlignment"] = {
42 'T21' : (
','.
join( [
'SiPixelLorentzAngle_phase2_T15_mc_forWidthEmpty' ,SiPixelLARecord,connectionString,
"fromAlignment",
"2019-11-05 20:00:00.000"] ), ),
43 'T25' : (
','.
join( [
'SiPixelLorentzAngle_phase2_T19_mc_forWidthEmpty' ,SiPixelLARecord,connectionString,
"fromAlignment",
"2020-02-23 14:00:00.000"] ), ),
44 'T30' : (
','.
join( [
'SiPixelLorentzAngle_phase2_IT_v6.4.0_25x100_empty_mc' ,SiPixelLARecord,connectionString,
"fromAlignment",
"2021-11-29 20:00:00.000"] ), ),
45 'T33' : (
','.
join( [
'SiPixelLorentzAngle_phase2_IT_v7.1.1_25x100_empty_mc' ,SiPixelLARecord,connectionString,
"fromAlignment",
"2023-12-02 15:55:00.000"] ), ),
49 'T21' : (
','.
join( [
'SiPixelSimLorentzAngle_phase2_T15_v5_mc' ,SiPixelSimLARecord,connectionString,
"",
"2020-05-05 20:00:00.000"] ), ),
50 'T25' : (
','.
join( [
'SiPixelSimLorentzAngle_phase2_T25_v0_mc' ,SiPixelSimLARecord,connectionString,
"",
"2021-03-16 20:00:00.000"] ), ),
51 'T30' : (
','.
join( [
'SiPixelSimLorentzAngle_phase2_IT_v6.4.0_25x100_v1_mc' ,SiPixelSimLARecord,connectionString,
"",
"2021-12-03 16:00:00.000"] ), ),
52 'T33' : (
','.
join( [
'SiPixelSimLorentzAngle_phase2_IT_v7.1.1_25x100_v1_mc' ,SiPixelSimLARecord,connectionString,
"",
"2024-03-07 21:00:00.000"] ), ),
55 allTags[
"GenError"] = {
56 'T21' : (
','.
join( [
'SiPixelGenErrorDBObject_phase2_IT_v6.1.5_25x100_v3_mc',SiPixelGenErrorRecord,connectionString,
"",
"2021-01-27 10:00:00"] ), ),
57 'T25' : (
','.
join( [
'SiPixelGenErrorDBObject_phase2_IT_v7.0.2_25x100_v2_mc' ,SiPixelGenErrorRecord,connectionString,
"",
"2021-04-17 20:00:00"] ), ),
58 'T30' : (
','.
join( [
'SiPixelGenErrorDBObject_phase2_IT_v6.4.0_25x100_v1_mc',SiPixelGenErrorRecord,connectionString,
"",
"2021-11-22 21:00:00"] ), ),
59 'T33' : (
','.
join( [
'SiPixelGenErrorDBObject_phase2_IT_v7.1.1_25x100_v1_mc' ,SiPixelGenErrorRecord,connectionString,
"",
"2023-05-16 20:00:00"] ), ),
62 allTags[
"Template"] = {
63 'T21' : (
','.
join( [
'SiPixelTemplateDBObject_phase2_IT_v6.1.5_25x100_v3_mc',SiPixelTemplatesRecord,connectionString,
"",
"2021-01-27 10:00:00"] ), ),
64 'T25' : (
','.
join( [
'SiPixelTemplateDBObject_phase2_IT_v7.0.2_25x100_v2_mc' ,SiPixelTemplatesRecord,connectionString,
"",
"2021-04-17 20:00:00"] ), ),
65 'T30' : (
','.
join( [
'SiPixelTemplateDBObject_phase2_IT_v6.4.0_25x100_v1_mc',SiPixelTemplatesRecord,connectionString,
"",
"2021-11-22 21:00:00"] ), ),
66 'T33' : (
','.
join( [
'SiPixelTemplateDBObject_phase2_IT_v7.1.1_25x100_v1_mc' ,SiPixelTemplatesRecord,connectionString,
"",
"2023-05-16 20:00:00"] ), ),
69 allTags[
"TkAlignment"] = {
70 'T21' : (
','.
join( [
'TrackerAlignment_Upgrade2026_T21_design_v0' ,TkAlRecord, connectionString,
"",
"2023-03-16 15:30:00"] ), ),
71 'T25' : (
','.
join( [
'TrackerAlignment_Upgrade2026_T25_design_v0' ,TkAlRecord, connectionString,
"",
"2023-03-16 15:30:00"] ), ),
72 'T30' : (
','.
join( [
'TrackerAlignment_Upgrade2026_T30_design_v0' ,TkAlRecord, connectionString,
"",
"2023-03-16 15:30:00"] ), ),
73 'T33' : (
','.
join( [
'TrackerAlignment_Upgrade2026_T33_design_v0' ,TkAlRecord, connectionString,
"",
"2023-06-07 21:00:00"] ), ),
77 'T21' : (
','.
join( [
'TrackerAlignmentErrorsExtended_Upgrade2026_T21_design_v0' ,TkAPERecord, connectionString,
"",
"2023-03-16 15:30:00"] ), ),
78 'T25' : (
','.
join( [
'TrackerAlignmentErrorsExtended_Upgrade2026_T25_design_v0' ,TkAPERecord, connectionString,
"",
"2023-03-16 15:30:00"] ), ),
79 'T30' : (
','.
join( [
'TrackerAlignmentErrorsExtended_Upgrade2026_T30_design_v0' ,TkAPERecord, connectionString,
"",
"2023-03-16 15:30:00"] ), ),
80 'T33' : (
','.
join( [
'TrackerAlignmentErrorsExtended_Upgrade2026_T33_design_v0' ,TkAPERecord, connectionString,
"",
"2023-06-07 21:00:00"] ), ),
84 'T21' : (
','.
join( [
'TrackerSurfaceDeformations_Upgrade2026_Zero' ,TkSurfRecord, connectionString,
"",
"2023-03-16 15:30:00"] ), ),
85 'T25' : (
','.
join( [
'TrackerSurfaceDeformations_Upgrade2026_Zero' ,TkSurfRecord, connectionString,
"",
"2023-03-16 15:30:00"] ), ),
86 'T30' : (
','.
join( [
'TrackerSurfaceDeformations_Upgrade2026_Zero' ,TkSurfRecord, connectionString,
"",
"2023-03-16 15:30:00"] ), ),
87 'T33' : (
','.
join( [
'TrackerSurfaceDeformations_Upgrade2026_Zero' ,TkSurfRecord, connectionString,
"",
"2023-03-16 15:30:00"] ), ),
96 'T21' : ( ','.join( [ 'SiPhase2OuterTrackerLorentzAngle_v0_mc' ,TrackerLARecord,connectionString, "", "2020-07-19 17:00:00.000"] ), ), #uH = 0.07/T 97 'T25' : ( ','.join( [ 'SiPhase2OuterTrackerLorentzAngle_v0_mc' ,TrackerLARecord,connectionString, "", "2020-07-19 17:00:00.000"] ), ), #uH = 0.07/T 98 'T30' : ( ','.join( [ 'SiPhase2OuterTrackerLorentzAngle_v0_mc' ,TrackerLARecord,connectionString, "", "2020-07-19 17:00:00.000"] ), ), #uH = 0.07/T 99 'T33' : ( ','.join( [ 'SiPhase2OuterTrackerLorentzAngle_v0_mc' ,TrackerLARecord,connectionString, "", "2020-07-19 17:00:00.000"] ), ), #uH = 0.07/T 102 allTags["SimOTLA"] = { 103 'T21' : ( ','.join( [ 'SiPhase2OuterTrackerLorentzAngleSim_v0_mc' ,TrackerSimLARecord,connectionString, "", "2020-07-19 17:00:00.000"] ), ), #uH = 0.07/T 104 'T25' : ( ','.join( [ 'SiPhase2OuterTrackerLorentzAngleSim_v0_mc' ,TrackerSimLARecord,connectionString, "", "2020-07-19 17:00:00.000"] ), ), #uH = 0.07/T 105 'T30' : ( ','.join( [ 'SiPhase2OuterTrackerLorentzAngleSim_v0_mc' ,TrackerSimLARecord,connectionString, "", "2020-07-19 17:00:00.000"] ), ), #uH = 0.07/T 106 'T33' : ( ','.join( [ 'SiPhase2OuterTrackerLorentzAngleSim_v0_mc' ,TrackerSimLARecord,connectionString, "", "2020-07-19 17:00:00.000"] ), ), #uH = 0.07/T 115 allTags["Template2Dnum"] = { 118 allTags["Template2Dden"] = { 123 activeKeys = [
"LA",
"LAWidth",
"SimLA",
"LAfromAlignment",
"GenError",
"Template",
"TkAlignment",
"TkAPE",
"TkSurf"]
126 activeDets = [
"T21",
"T25",
"T30",
"T33"]
128 for det
in activeDets:
130 for key
in activeKeys:
131 if (det
in allTags[key]):
132 appendedTags += allTags[key][det]
135 phase2GTs[
"phase2_realistic_"+det] = (
'phase2_realistic', appendedTags)
139 for key,val
in phase2GTs.items():
141 autoCond[key] = ( autoCond[val[0]] )
143 autoCond[key] = ( autoCond[val[0]],) + val[1]
def autoCondPhase2(autoCond)
Active geometries: https://github.com/cms-sw/cmssw/blob/master/Configuration/Geometry/README.md.
static std::string join(char **cmd)