LumiData
- class coffea.lumi_tools.LumiData(lumi_csv)[source]
Bases:
object
Holds per-lumiSection integrated lumi values
- Parameters:
lumi_csv (str) – The path the the luminosity csv output file
The values are extracted from the csv output as returned by brilcalc, e.g. with a command such as:
brilcalc lumi -c /cvmfs/cms.cern.ch/SITECONF/local/JobConfig/site-local-config.xml \ -b "STABLE BEAMS" --normtag=/cvmfs/cms-bril.cern.ch/cms-lumi-pog/Normtags/normtag_PHYSICS.json \ -u /pb --byls --output-style csv -i Cert_294927-306462_13TeV_PromptReco_Collisions17_JSON.txt > lumi2017.csv
Methods Summary
get_lumi
(runlumis)Calculate integrated lumi
Methods Documentation
- get_lumi(runlumis)[source]
Calculate integrated lumi
- Parameters:
runlumis (numpy.ndarray or LumiList) – A 2d numpy array of
[[run,lumi], [run,lumi], ...]
orLumiList
object of the lumiSections to integrate over.