analysis/test_b2info-luminosity.py
=== stdout of analysis/tests/test_b2info-luminosity.py ===
[INFO] Steering file: /data/b2soft/buildbot/light/build/analysis/tests/test_b2info-luminosity.py
[INFO] Need to get some runs from RunDB for exp [18]
[INFO] Reading exp 18 from rundb (this can take a while depending on the size of the query)
[INFO] Read 302 runs from exp 18
[INFO] No Selection on good runs (use --good)
[INFO] No Selection on beam-energy (use --beam-energy XX)
[INFO] Selecting online lumi: uncertainty is not available
[INFO] Num runs: 95
[INFO] -------------------- Luminosity by Beam Eenrgy --------------------
[INFO] RECORDED online 4S : L = 2.779 +/- 0.000 /fb = 0.0028 +/- 0.000 /ab
[INFO] RECORDED online 4S_offres : L = 1.172 +/- 0.000 /fb = 0.0012 +/- 0.000 /ab
[INFO] -------------------- Luminosity by Exp and Beam Eenrgy --------------------
[INFO] RECORDED online 18 4S : L = 2.779 +/- 0.000 /fb = 0.0028 +/- 0.000 /ab
[INFO] RECORDED online 18 4S_offres : L = 1.172 +/- 0.000 /fb = 0.0012 +/- 0.000 /ab
[INFO] -------------------- Luminosity by processing --------------------
[INFO] RECORDED online RunDB : L = 3.951 +/- 0.000 /fb = 0.0040 +/- 0.000 /ab
[INFO] -------------------- Total Luminosity --------------------
[INFO] RECORDED online RunDB : L = 3.951 +/- 0.000 /fb = 0.0040 +/- 0.000 /ab
[INFO] Saving run-by-run luminosity information to luminosityByRuns.csv
[INFO] Need to get some runs from RunDB for exp [18]
[INFO] Reading exp 18 from rundb (this can take a while depending on the size of the query)
=== stderr of analysis/tests/test_b2info-luminosity.py ===
/data/b2soft/buildbot/light/build/bin/Linux_x86_64/opt/b2info-luminosity:496: FutureWarning: The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.
df = pd.concat([df, self.getDataFrameFromRunRegistry(exp, new_runs[exp])], sort=False, ignore_index=True)
/data/b2soft/buildbot/light/build/bin/Linux_x86_64/opt/b2info-luminosity:575: FutureWarning: Downcasting object dtype arrays on .fillna, .ffill, .bfill is deprecated and will change in a future version. Call result.infer_objects(copy=False) instead. To opt-in to the future behavior, set `pd.set_option('future.no_silent_downcasting', True)`
dfRuns['date'].fillna(pd.Timedelta(seconds=0))
/data/b2soft/buildbot/light/build/bin/Linux_x86_64/opt/b2info-luminosity:622: FutureWarning: The provided callable is currently using np.sum. In a future version of pandas, the provided callable will be used directly. To keep current behavior pass the string np.sum instead.
LL = dfRuns.groupby(["beam_energy"])[['lumi', 'lumiErr2']].apply(sum)
/cvmfs/belle.cern.ch/el9/externals/v02-03-03/Linux_x86_64/common/lib/python3.11/site-packages/numpy/core/fromnumeric.py:86: FutureWarning: The behavior of DataFrame.sum with axis=None is deprecated, in a future version this will reduce over both axes and return a scalar. To retain the old behavior, pass axis=0 (or do not pass axis)
return reduction(axis=axis, out=out, **passkwargs)
=== end analysis/tests/test_b2info-luminosity.py ===