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"
28 'T15' : (
','.
join( [
'SiPixelLorentzAngle_phase2_T15_v5_mc' ,SiPixelLARecord,connectionString,
"",
"2020-05-05 20:00:00.000"] ), ),
29 'T21' : (
','.
join( [
'SiPixelLorentzAngle_phase2_T15_v5_mc' ,SiPixelLARecord,connectionString,
"",
"2020-05-05 20:00:00.000"] ), ),
30 'T22' : (
','.
join( [
'SiPixelLorentzAngle_phase2_T15_v5_mc' ,SiPixelLARecord,connectionString,
"",
"2020-05-05 20:00:00.000"] ), ),
31 'T23' : (
','.
join( [
'SiPixelLorentzAngle_phase2_T19_v1_mc' ,SiPixelLARecord,connectionString,
"",
"2020-02-23 14:00:00.000"] ), ),
32 'T25' : (
','.
join( [
'SiPixelLorentzAngle_phase2_T25_v0_mc' ,SiPixelLARecord,connectionString,
"",
"2021-03-16 20:00:00.000"] ), ),
33 'T26' : (
','.
join( [
'SiPixelLorentzAngle_phase2_T25_v0_mc' ,SiPixelLARecord,connectionString,
"",
"2021-03-16 20:00:00.000"] ), ),
34 'T27' : (
','.
join( [
'SiPixelLorentzAngle_phase2_T25_v0_mc' ,SiPixelLARecord,connectionString,
"",
"2021-03-16 20:00:00.000"] ), ),
37 allTags[
"LAWidth"] = {
38 'T15' : (
','.
join( [
'SiPixelLorentzAngle_phase2_T15_mc_forWidthEmpty' ,SiPixelLARecord,connectionString,
"forWidth",
"2019-11-05 20:00:00.000"] ), ),
39 'T21' : (
','.
join( [
'SiPixelLorentzAngle_phase2_T15_mc_forWidthEmpty' ,SiPixelLARecord,connectionString,
"forWidth",
"2019-11-05 20:00:00.000"] ), ),
40 'T22' : (
','.
join( [
'SiPixelLorentzAngle_phase2_T15_mc_forWidthEmpty' ,SiPixelLARecord,connectionString,
"forWidth",
"2019-11-05 20:00:00.000"] ), ),
41 'T23' : (
','.
join( [
'SiPixelLorentzAngle_phase2_T19_mc_forWidthEmpty' ,SiPixelLARecord,connectionString,
"forWidth",
"2020-02-23 14:00:00.000"] ), ),
42 'T25' : (
','.
join( [
'SiPixelLorentzAngle_phase2_T19_mc_forWidthEmpty' ,SiPixelLARecord,connectionString,
"forWidth",
"2020-02-23 14:00:00.000"] ), ),
43 'T26' : (
','.
join( [
'SiPixelLorentzAngle_phase2_T19_mc_forWidthEmpty' ,SiPixelLARecord,connectionString,
"forWidth",
"2020-02-23 14:00:00.000"] ), ),
44 'T27' : (
','.
join( [
'SiPixelLorentzAngle_phase2_T19_mc_forWidthEmpty' ,SiPixelLARecord,connectionString,
"forWidth",
"2020-02-23 14:00:00.000"] ), ),
47 allTags[
"LAfromAlignment"] = {
48 'T15' : (
','.
join( [
'SiPixelLorentzAngle_phase2_T15_mc_forWidthEmpty' ,SiPixelLARecord,connectionString,
"fromAlignment",
"2019-11-05 20:00:00.000"] ), ),
49 'T21' : (
','.
join( [
'SiPixelLorentzAngle_phase2_T15_mc_forWidthEmpty' ,SiPixelLARecord,connectionString,
"fromAlignment",
"2019-11-05 20:00:00.000"] ), ),
50 'T22' : (
','.
join( [
'SiPixelLorentzAngle_phase2_T15_mc_forWidthEmpty' ,SiPixelLARecord,connectionString,
"fromAlignment",
"2019-11-05 20:00:00.000"] ), ),
51 'T23' : (
','.
join( [
'SiPixelLorentzAngle_phase2_T19_mc_forWidthEmpty' ,SiPixelLARecord,connectionString,
"fromAlignment",
"2020-02-23 14:00:00.000"] ), ),
52 'T25' : (
','.
join( [
'SiPixelLorentzAngle_phase2_T19_mc_forWidthEmpty' ,SiPixelLARecord,connectionString,
"fromAlignment",
"2020-02-23 14:00:00.000"] ), ),
53 'T26' : (
','.
join( [
'SiPixelLorentzAngle_phase2_T19_mc_forWidthEmpty' ,SiPixelLARecord,connectionString,
"fromAlignment",
"2020-02-23 14:00:00.000"] ), ),
54 'T27' : (
','.
join( [
'SiPixelLorentzAngle_phase2_T19_mc_forWidthEmpty' ,SiPixelLARecord,connectionString,
"fromAlignment",
"2020-02-23 14:00:00.000"] ), ),
58 'T15' : (
','.
join( [
'SiPixelSimLorentzAngle_phase2_T15_v5_mc' ,SiPixelSimLARecord,connectionString,
"",
"2020-05-05 20:00:00.000"] ), ),
59 'T21' : (
','.
join( [
'SiPixelSimLorentzAngle_phase2_T15_v5_mc' ,SiPixelSimLARecord,connectionString,
"",
"2020-05-05 20:00:00.000"] ), ),
60 'T22' : (
','.
join( [
'SiPixelSimLorentzAngle_phase2_T15_v5_mc' ,SiPixelSimLARecord,connectionString,
"",
"2020-05-05 20:00:00.000"] ), ),
61 'T23' : (
','.
join( [
'SiPixelSimLorentzAngle_phase2_T19_v1_mc' ,SiPixelSimLARecord,connectionString,
"",
"2020-02-23 14:00:00.000"] ), ),
62 'T25' : (
','.
join( [
'SiPixelSimLorentzAngle_phase2_T25_v0_mc' ,SiPixelSimLARecord,connectionString,
"",
"2021-03-16 20:00:00.000"] ), ),
63 'T26' : (
','.
join( [
'SiPixelSimLorentzAngle_phase2_T25_v0_mc' ,SiPixelSimLARecord,connectionString,
"",
"2021-03-16 20:00:00.000"] ), ),
64 'T27' : (
','.
join( [
'SiPixelSimLorentzAngle_phase2_T25_v0_mc' ,SiPixelSimLARecord,connectionString,
"",
"2021-03-16 20:00:00.000"] ), ),
67 allTags[
"GenError"] = {
68 'T15' : (
','.
join( [
'SiPixelGenErrorDBObject_phase2_IT_v6.1.5_25x100_v3_mc',SiPixelGenErrorRecord,connectionString,
"",
"2021-01-27 10:00:00"] ), ),
69 'T21' : (
','.
join( [
'SiPixelGenErrorDBObject_phase2_IT_v6.1.5_25x100_v3_mc',SiPixelGenErrorRecord,connectionString,
"",
"2021-01-27 10:00:00"] ), ),
70 'T22' : (
','.
join( [
'SiPixelGenErrorDBObject_phase2_IT_v6.1.5_50x50_v5_mc' ,SiPixelGenErrorRecord,connectionString,
"",
"2021-01-27 10:00:00"] ), ),
71 'T23' : (
','.
join( [
'SiPixelGenErrorDBObject_phase2_IT_v7.0.0_25x100_v2_mc' ,SiPixelGenErrorRecord,connectionString,
"",
"2021-04-17 20:00:00"] ), ),
72 'T25' : (
','.
join( [
'SiPixelGenErrorDBObject_phase2_IT_v7.0.2_25x100_v2_mc' ,SiPixelGenErrorRecord,connectionString,
"",
"2021-04-17 20:00:00"] ), ),
73 'T26' : (
','.
join( [
'SiPixelGenErrorDBObject_phase2_IT_v7.0.3_mixed_v2_mc' ,SiPixelGenErrorRecord,connectionString,
"",
"2021-04-17 20:00:00"] ), ),
76 allTags[
"Template"] = {
77 'T15' : (
','.
join( [
'SiPixelTemplateDBObject_phase2_IT_v6.1.5_25x100_v3_mc',SiPixelTemplatesRecord,connectionString,
"",
"2021-01-27 10:00:00"] ), ),
78 'T21' : (
','.
join( [
'SiPixelTemplateDBObject_phase2_IT_v6.1.5_25x100_v3_mc',SiPixelTemplatesRecord,connectionString,
"",
"2021-01-27 10:00:00"] ), ),
79 'T22' : (
','.
join( [
'SiPixelTemplateDBObject_phase2_IT_v6.1.5_50x50_v5_mc' ,SiPixelTemplatesRecord,connectionString,
"",
"2021-01-27 10:00:00"] ), ),
80 'T23' : (
','.
join( [
'SiPixelTemplateDBObject_phase2_IT_v7.0.0_25x100_v2_mc' ,SiPixelTemplatesRecord,connectionString,
"",
"2021-04-17 20:00:00"] ), ),
81 'T25' : (
','.
join( [
'SiPixelTemplateDBObject_phase2_IT_v7.0.2_25x100_v2_mc' ,SiPixelTemplatesRecord,connectionString,
"",
"2021-04-17 20:00:00"] ), ),
82 'T26' : (
','.
join( [
'SiPixelTemplateDBObject_phase2_IT_v7.0.3_mixed_v2_mc' ,SiPixelTemplatesRecord,connectionString,
"",
"2021-04-17 20:00:00"] ), ),
91 'T15' : ( ','.join( [ 'SiPhase2OuterTrackerLorentzAngle_v0_mc' ,TrackerLARecord,connectionString, "", "2020-07-19 17:00:00.000"] ), ), #uH = 0.07/T
92 'T21' : ( ','.join( [ 'SiPhase2OuterTrackerLorentzAngle_v0_mc' ,TrackerLARecord,connectionString, "", "2020-07-19 17:00:00.000"] ), ), #uH = 0.07/T
93 'T22' : ( ','.join( [ 'SiPhase2OuterTrackerLorentzAngle_v0_mc' ,TrackerLARecord,connectionString, "", "2020-07-19 17:00:00.000"] ), ), #uH = 0.07/T
94 'T23' : ( ','.join( [ 'SiPhase2OuterTrackerLorentzAngle_v0_mc' ,TrackerLARecord,connectionString, "", "2020-07-19 17:00:00.000"] ), ), #uH = 0.07/T
95 'T25' : ( ','.join( [ 'SiPhase2OuterTrackerLorentzAngle_v0_mc' ,TrackerLARecord,connectionString, "", "2020-07-19 17:00:00.000"] ), ), #uH = 0.07/T
96 'T26' : ( ','.join( [ 'SiPhase2OuterTrackerLorentzAngle_v0_mc' ,TrackerLARecord,connectionString, "", "2020-07-19 17:00:00.000"] ), ), #uH = 0.07/T
97 'T27' : ( ','.join( [ 'SiPhase2OuterTrackerLorentzAngle_v0_mc' ,TrackerLARecord,connectionString, "", "2020-07-19 17:00:00.000"] ), ), #uH = 0.07/T
100 allTags["SimOTLA"] = {
101 'T15' : ( ','.join( [ 'SiPhase2OuterTrackerLorentzAngleSim_v0_mc' ,TrackerSimLARecord,connectionString, "", "2020-07-19 17:00:00.000"] ), ), #uH = 0.07/T
102 'T21' : ( ','.join( [ 'SiPhase2OuterTrackerLorentzAngleSim_v0_mc' ,TrackerSimLARecord,connectionString, "", "2020-07-19 17:00:00.000"] ), ), #uH = 0.07/T
103 'T22' : ( ','.join( [ 'SiPhase2OuterTrackerLorentzAngleSim_v0_mc' ,TrackerSimLARecord,connectionString, "", "2020-07-19 17:00:00.000"] ), ), #uH = 0.07/T
104 'T23' : ( ','.join( [ 'SiPhase2OuterTrackerLorentzAngleSim_v0_mc' ,TrackerSimLARecord,connectionString, "", "2020-07-19 17:00:00.000"] ), ), #uH = 0.07/T
105 'T25' : ( ','.join( [ 'SiPhase2OuterTrackerLorentzAngleSim_v0_mc' ,TrackerSimLARecord,connectionString, "", "2020-07-19 17:00:00.000"] ), ), #uH = 0.07/T
106 'T26' : ( ','.join( [ 'SiPhase2OuterTrackerLorentzAngleSim_v0_mc' ,TrackerSimLARecord,connectionString, "", "2020-07-19 17:00:00.000"] ), ), #uH = 0.07/T
107 'T27' : ( ','.join( [ 'SiPhase2OuterTrackerLorentzAngleSim_v0_mc' ,TrackerSimLARecord,connectionString, "", "2020-07-19 17:00:00.000"] ), ), #uH = 0.07/T
114 allTags[
"Template2Dnum"] = {
115 'T15' : (
','.
join( [
'SiPixel2DTemplateDBObject_phase2_T15_v0_num' ,SiPixel2DTemplatesRecord,connectionString,
"numerator",
"2019-07-15 12:00:00.000"] ), ),
118 allTags[
"Template2Dden"] = {
119 'T15' : (
','.
join( [
'SiPixel2DTemplateDBObject_phase2_T15_v0_den' ,SiPixel2DTemplatesRecord,connectionString,
"denominator",
"2019-07-15 12:00:00.000"] ), ),
123 activeKeys = [
"LA",
"LAWidth",
"SimLA",
"LAfromAlignment",
"GenError",
"Template"]
126 activeDets = [
"T15",
"T21",
"T22",
"T23",
"T25",
"T26",
"T27"]
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]
static std::string join(char **cmd)