You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pp_text='(The integrated luminosity for validated runs and luminosity sections of all '+year+' p-p data taking is available in '+year+'lumi.txt.)'
65
+
pp_text= (
66
+
"(The integrated luminosity for validated runs and luminosity sections of all "
67
+
+year
68
+
+" p-p data taking is available in "
69
+
+year
70
+
+"lumi.txt.)"
71
+
)
61
72
else:
62
-
print('Runtype unknown!')
73
+
print("Runtype unknown!")
63
74
64
-
# normtag file only after Run-1
65
-
normtag_text=''
75
+
# normtag file only after Run-1
76
+
normtag_text=""
66
77
ifint(year) >2014:
67
-
normtag_text='The luminometer giving the best value for each luminosity section is recorded in a <strong>normtag</strong> file <a href=\"/record/'+str(recid)+'/files/normtag_PHYSICS_'+runtype+'_'+year+'.json\">normtag_PHYSICS_'+runtype+'_'+year+'.json</a> that is used in the luminosity calculation.'
78
+
normtag_text= (
79
+
'The luminometer giving the best value for each luminosity section is recorded in a <strong>normtag</strong> file <a href="/record/'
80
+
+str(recid)
81
+
+"/files/normtag_PHYSICS_"
82
+
+runtype
83
+
+"_"
84
+
+year
85
+
+'.json">normtag_PHYSICS_'
86
+
+runtype
87
+
+"_"
88
+
+year
89
+
+".json</a> that is used in the luminosity calculation."
# The use of variable in string with two different notations could be fixed in the following...
75
-
# NB in the +var+ notation, var needs to be a string
103
+
# The use of variable in string with two different notations could be fixed in the following...
104
+
# NB in the +var+ notation, var needs to be a string
76
105
rec["abstract"]["description"] = (
77
-
"<p>CMS measures the luminosity using different luminometers (luminosity detectors) and algorithms. "+normtag_text+"</p>"
78
-
"<p>The integrated luminosity for validated runs and luminosity sections of the %s taken in %s (%s) is available in %slumi.txt. %s</p>"% (collision_text, year, ",".join(od_runs), ",".join(od_runs), pp_text)
79
-
+"<p> For luminosity calculation, a detailed list of luminosity by lumi section is provided in <a href=\"/record/%s/files/%s_%slumibyls.csv\">%s_%slumibyls.csv</a> for the <a href=\"/record/%s\">list of validated runs</a> and lumi sections.</p>"% (recid, runtype, year, runtype, year, val_recid)
80
-
+"<p>The uncertainty in the luminosity measurement of %s data should be considered as %s%% (reference <a href=\"%s\">%s</a>).</p>"% (year, uncertainty, lumi_ref, lumi_ref_title)
81
-
+"<p>In your estimate for the integrated luminosity, check for which runs the trigger you have selected is active and sum the values for those runs. For prescaled triggers, the change of prescales (run, lumi section, index of prescales referring to the PrescaleService module in the High-Level Trigger configuration files) is recorded in <a href=\"/record/%s/files/prescale_%s%s.csv\">prescale_%s%s.csv</a>.</p>"% (recid, runtype, year, runtype, year)
82
-
+"<p>Additional information on how to extract luminosity values using the <strong>brilcalc tool</strong> can be found in the <a href=\"/docs/cms-guide-luminosity-calculation\"> luminosity calculation guide</a>.</p>"
83
-
)
106
+
"<p>CMS measures the luminosity using different luminometers (luminosity detectors) and algorithms. "
107
+
+normtag_text
108
+
+"</p>"
109
+
"<p>The integrated luminosity for validated runs and luminosity sections of the %s taken in %s (%s) is available in %slumi.txt. %s</p>"
+'<p> For luminosity calculation, a detailed list of luminosity by lumi section is provided in <a href="/record/%s/files/%s_%slumibyls.csv">%s_%slumibyls.csv</a> for the <a href="/record/%s">list of validated runs</a> and lumi sections.</p>'
+'<p>The uncertainty in the luminosity measurement of %s data should be considered as %s%% (reference <a href="%s">%s</a>).</p>'
114
+
% (year, uncertainty, lumi_ref, lumi_ref_title)
115
+
+'<p>In your estimate for the integrated luminosity, check for which runs the trigger you have selected is active and sum the values for those runs. For prescaled triggers, the change of prescales (run, lumi section, index of prescales referring to the PrescaleService module in the High-Level Trigger configuration files) is recorded in <a href="/record/%s/files/prescale_%s%s.csv">prescale_%s%s.csv</a>.</p>'
116
+
% (recid, runtype, year, runtype, year)
117
+
+'<p>Additional information on how to extract luminosity values using the <strong>brilcalc tool</strong> can be found in the <a href="/docs/cms-guide-luminosity-calculation"> luminosity calculation guide</a>.</p>'
0 commit comments