3 connectionString = essource.connect.value()
5 SiPixelLARecord =
"SiPixelLorentzAngleRcd" 6 SiPixelSimLARecord =
"SiPixelLorentzAngleSimRcd" 7 SiPixelGenErrorRecord =
"SiPixelGenErrorDBObjectRcd" 8 SiPixelTemplatesRecord =
"SiPixelTemplateDBObjectRcd" 9 SiPixel2DTemplatesRecord =
"SiPixel2DTemplateDBObjectRcd" 16 'T6' : (
','.
join( [
'SiPixelLorentzAngle_phase2_T6_v0_mc' ,SiPixelLARecord,connectionString,
"",
"2019-07-15 12:00:00.000"] ), ),
17 'T14' : (
','.
join( [
'SiPixelLorentzAngle_phase2_T14_v0_mc' ,SiPixelLARecord,connectionString,
"",
"2019-07-15 12:00:00.000"] ), ),
18 'T15' : (
','.
join( [
'SiPixelLorentzAngle_phase2_T15_v0_mc' ,SiPixelLARecord,connectionString,
"",
"2019-07-15 12:00:00.000"] ), ),
21 allTags[
"LAWidth"] = {
22 'T6' : (
','.
join( [
'SiPixelLorentzAngle_phase2_forWidth_T6_v0_mc' ,SiPixelLARecord,connectionString,
"forWidth",
"2019-07-15 12:00:00.000"] ), ),
23 'T14' : (
','.
join( [
'SiPixelLorentzAngle_phase2_forWidth_T14_v0_mc' ,SiPixelLARecord,connectionString,
"forWidth",
"2019-07-15 12:00:00.000"] ), ),
24 'T15' : (
','.
join( [
'SiPixelLorentzAngle_phase2_forWidth_T15_v0_mc' ,SiPixelLARecord,connectionString,
"forWidth",
"2019-07-15 12:00:00.000"] ), ),
28 'T6' : (
','.
join( [
'SiPixelSimLorentzAngle_phase2_T6_v0_mc' ,SiPixelSimLARecord,connectionString,
"",
"2019-07-15 12:00:00.000"] ), ),
29 'T14' : (
','.
join( [
'SiPixelSimLorentzAngle_phase2_T14_v0_mc' ,SiPixelSimLARecord,connectionString,
"",
"2019-07-15 12:00:00.000"] ), ),
30 'T15' : (
','.
join( [
'SiPixelSimLorentzAngle_phase2_T15_v0_mc' ,SiPixelSimLARecord,connectionString,
"",
"2019-07-15 12:00:00.000"] ), ),
37 allTags[
"GenError"] = {
38 'T6' : (
','.
join( [
'SiPixelGenErrorDBOject_phase2_T6_v0_mc' ,SiPixelGenErrorRecord,connectionString,
"",
"2019-07-15 12:00:00.000"] ), ),
39 'T14' : (
','.
join( [
'SiPixelGenErrorDBOject_phase2_T14_v0_mc' ,SiPixelGenErrorRecord,connectionString,
"",
"2019-07-15 12:00:00.000"] ), ),
40 'T15' : (
','.
join( [
'SiPixelGenErrorDBOject_phase2_T15_v0_mc' ,SiPixelGenErrorRecord,connectionString,
"",
"2019-07-15 12:00:00.000"] ), ),
43 allTags[
"Template"] = {
44 'T6' : (
','.
join( [
'SiPixelTemplateDBObject_phase2_T6_v0_mc' ,SiPixelTemplatesRecord,connectionString,
"",
"2019-07-15 12:00:00.000"] ), ),
45 'T14' : (
','.
join( [
'SiPixelTemplateDBObject_phase2_T14_v0_mc' ,SiPixelTemplatesRecord,connectionString,
"",
"2019-07-15 12:00:00.000"] ), ),
46 'T15' : (
','.
join( [
'SiPixelTemplateDBObject_phase2_T15_v0_mc' ,SiPixelTemplatesRecord,connectionString,
"" ,
"2019-07-15 12:00:00.000"] ), ),
49 allTags[
"Template2Dnum"] = {
50 'T6' : (
','.
join( [
'SiPixel2DTemplateDBObject_phase2_T6_v0_num' ,SiPixel2DTemplatesRecord,connectionString,
"numerator",
"2019-07-15 12:00:00.000"] ), ),
51 'T14' : (
','.
join( [
'SiPixel2DTemplateDBObject_phase2_T14_v0_num' ,SiPixel2DTemplatesRecord,connectionString,
"numerator",
"2019-07-15 12:00:00.000"] ), ),
52 'T15' : (
','.
join( [
'SiPixel2DTemplateDBObject_phase2_T15_v0_num' ,SiPixel2DTemplatesRecord,connectionString,
"numerator",
"2019-07-15 12:00:00.000"] ), ),
55 allTags[
"Template2Dden"] = {
56 'T6' : (
','.
join( [
'SiPixel2DTemplateDBObject_phase2_T6_v0_den' ,SiPixel2DTemplatesRecord,connectionString,
"denominator",
"2019-07-15 12:00:00.000"] ), ),
57 'T14' : (
','.
join( [
'SiPixel2DTemplateDBObject_phase2_T14_v0_den' ,SiPixel2DTemplatesRecord,connectionString,
"denominator",
"2019-07-15 12:00:00.000"] ), ),
58 'T15' : (
','.
join( [
'SiPixel2DTemplateDBObject_phase2_T15_v0_den' ,SiPixel2DTemplatesRecord,connectionString,
"denominator",
"2019-07-15 12:00:00.000"] ), ),
62 activeKeys = [
"LA",
"LAWidth",
"SimLA"]
65 activeDets = [
"T6",
"T14",
"T15"]
67 for det
in activeDets:
69 for key
in activeKeys:
70 appendedTags += allTags[key][det]
71 phase2GTs[
"phase2_realistic_"+det] = (
'phase2_realistic', appendedTags)
75 for key,val
in six.iteritems(phase2GTs):
77 autoCond[key] = ( autoCond[val[0]] )
79 autoCond[key] = ( autoCond[val[0]],) + val[1]
def autoCondPhase2(autoCond)
All of the following conditions are not yet in active use, but will be activated in GT along the way...
static std::string join(char **cmd)