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
Copy file name to clipboardExpand all lines: cms-YYYY-luminosity/README.md
+9-1Lines changed: 9 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -4,4 +4,12 @@ This directory contains helper scripts to prepare CMS luminosity information rec
4
4
5
5
- subdirectory `code` contains the script to prepare the luminosity information record
6
6
- shell scripts `commands.sh` and `prescale.sh` are used in workflow `cms-luminosity-tables.yaml` in `.github/workflows` to build the luminosity information tables to be attached in the luminosity record
7
-
- subdirectory `inputs` contains the "normtag" file needed for the luminosity calculation.
7
+
- subdirectory `inputs` contains the "normtag" file needed for the luminosity calculation.
8
+
9
+
The inputs are given as GitHub workflow variables and are
10
+
11
+
- 2013 pPb: 1056 2013 HIRun2013 pPb
12
+
- 2013 ppref: 1057 2013 Run2013A pphiref
13
+
- 2015 ppref: 1058 2015 Run2015E pphiref
14
+
- 2015 pp: 1055 2015 Run2015D pp (not used to build the current record, but tested to produce the same files)
pp_text='(The integrated luminosity for validated runs and luminosity sections of all '+year+' p-p data taking is available in '+year+'lumi.txt.)'
61
+
else:
62
+
print('Runtype unknown!')
63
+
64
+
# normtag file only after Run-1
65
+
normtag_text=''
66
+
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.'
# 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
36
76
rec["abstract"]["description"] = (
37
-
"<p>CMS measures the luminosity using different luminometers (luminosity detectors) and algorithms. The luminometer giving the best value for each luminosity section is recorded in a 'normtag' file <a href=\"/record/%s/files/normtag_PHYSICS_%s.json\">normtag_PHYSICS_%s.json</a> that is used in the luminosity calculation.</p>"% (recid, year, year)
38
-
+"<p>The integrated luminosity for validated runs and luminosity sections of the %s public data (%s) is available in %slumi.txt. (The integrated luminosity for validated runs and luminosity sections of all %s p-p data taking is available in %slumi.txt.)</p>"% (year, ",".join(od_runs), ",".join(od_runs), year, year)
39
-
+"<p> For luminosity calculation, a detailed list of luminosity by lumi section is provided in <a href=\"/record/%s/files/%slumibyls.csv\">%slumibyls.csv</a> for the <a href=\"/record/%s\">list of validated runs</a> and lumi sections.</p>"% (recid, year, year, val_recid)
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)
40
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)
41
-
+"<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. If you are using prescaled triggers, you can find the trigger prescale factors as shown in <a href=\"/record/5004\">the trigger examples</a>. The change of prescales (run, lumi section, index of prescales) is recorded in <a href=\"/record/%s/files/prescale%s.csv\">prescale%s.csv</a></p>"% (recid, year, year)
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)
42
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>"
0 commit comments