21. Skims#
The skim package is a collection of high-level analysis scripts that reduce the data set to a manageable size by applying a simple selection. The input to a skim are Belle II File Format files of processed data. The output are so-called (Advanced) user mDST files (udst) files. These files actually contain more information but fewer events.
Tip
Analysts are recommended to use skimmed udst files as input to their analysis. For an introductory lesson, take a look at Section 3.4.12.
Tip
If you would like to know which skims are available, please browse the Physics skims section of the documentation. If you would like to know which cuts are made by a particular skim, then consult the source code by clicking the [source]
button on that skim in Physics skims, or by navigating to skim/scripts/skim/WGs/<your working group name>/
in the basf2 repository.
Changed in version release-06-00-00: The skim package was reorganised between releases 5 and 6. If you need your skim steering files to work with both release 5 and release 6, then please use the following type of try-except block:
try:
# release 6+ imports
from skim import BaseSkim, CombinedSkim
from skim.WGs.ewp import BtoXll
except (ImportError, ModuleNotFoundError):
# release 5 imports
from skimExpertFunctions import BaseSkim, CombinedSkim
from skim.ewp import BtoXll
- 21.1. Systematics skims
Random
Resonance
SystematicsBhabha
SystematicsCombinedHadronic
SystematicsCombinedLowMulti
SystematicsDstar
SystematicsEELL
SystematicsFourLeptonFromHLTFlag
SystematicsJpsi
SystematicsKshort
SystematicsLambda
SystematicsPhiGamma
SystematicsRadEE
SystematicsRadMuMu
SystematicsRadMuMuFromHLTFlag
SystematicsTracking
- 21.1.1. Using
SystematicsCombined
skims
- 21.2. Physics skims
- 21.2.1. B → charm skims
B0toD0Kpipi0_pi0
B0toDD_Kpipi_Kspi
B0toDDs0star
B0toDomegapi_Kpipi_pipipi0
B0toDomegapi_Kspi_pipipi0
B0toDpi_Kpipi
B0toDpi_Kspi
B0toDrho_Kpipi
B0toDrho_Kspi
B0toDs1D
B0toDstarD
B0toDstarPi_D0pi_Kpi
B0toDstarPi_D0pi_Kpipipi_Kpipi0
B0toDstarRho_D0pi_Kpi
B0toDstarRho_D0pi_Kpipipi_Kpipi0
B0toDstaretapi_D0pi_Kpi
B0toDstarpipi0_D0pi_Kpi
BptoD0etapi_Kpi
BptoD0pipi0_Kpi
BtoD0h_Kpi
BtoD0h_Kpipipi_Kpipi0
BtoD0h_Kshh
BtoD0h_Kspi0
BtoD0h_Kspipipi0
BtoD0h_hh
BtoD0pi_Kpiomega_pipipi0
BtoD0rho_Kpi
BtoD0rho_Kpipipi_Kpipi0
BtoDpipi_Kpipi
BtoDsDsst_Kpi_KK
BtoDstarpipipi0_D0pi_Kpi
BtoDstpipi_D0pi_Kpi
antiB0toDpipi0_Kpipi
antiB0toDsDsst_Kpi0
- 21.2.2. B → charmless skims
- 21.2.3. Charm physics skims
DpToEtaHp
DpToHpOmega
DpToHpPi0
DpToPipEpEm
DpToPipKpKm
DpToPipMupMum
DspToHpOmega
DstToD0Pi_D0ToGeneric
DstToD0Pi_D0ToHpHmHpJm
DstToD0Pi_D0ToHpJm
DstToD0Pi_D0ToHpJmEta
DstToD0Pi_D0ToHpJmKs
DstToD0Pi_D0ToHpJmPi0
DstToD0Pi_D0ToKsOmega
DstToD0Pi_D0ToNeutrals
DstToD0Pi_D0ToRare
DstToD0Pi_D0ToVGamma
DstToDpPi0_DpToHpPi0
EarlyData_DstToD0Pi_D0ToHpHmPi0
EarlyData_DstToD0Pi_D0ToHpJmPi0
LambdacToGeneric
LambdacToSHpJm
LambdacTopHpJm
XToD0_D0ToHpJm
XToD0_D0ToNeutrals
XToDp_DpToHpHmJp
XToDp_DpToKsHp
Xic0ToLHpJm
XicToXimPipPim
XicpToLKsHp
XicpTopHpJm
charm_skim_sigma()
charm_skim_std_charged()
- 21.2.4. Dark sector skims
AA2uuuu
ALP3Gamma
BtoKplusLLP
DarkShower
DielectronPlusMissingEnergy
DielectronPlusVisibleDarkHiggs
DimuonPlusMissingEnergy
DimuonPlusVisibleDarkHiggs
DimuonRecoilMassSquared
EGammaControlDark
ElectronMuonPlusMissingEnergy
GammaGammaControlKLMDark
InelasticDarkMatter
InelasticDarkMatterWithDarkHiggs
LFVZpVisible
RadBhabhaV0Control
SinglePhotonDark
- 21.2.5. Full event interpretation skims
- 21.2.6. Leptonic skims
- 21.2.7. Low multiplicity skims
- 21.2.8. Quarkonium skims
- 21.2.9. Radiative and electroweak penguins skims
- 21.2.10. Semileptonic skims
B0toDstarl_Kpi_Kpipi0_Kpipipi
BtoDl_and_ROE_e_or_mu_or_lowmult
BtoDl_and_ROE_e_or_mu_or_lowmult.ApplyHLTHadronCut
BtoDl_and_ROE_e_or_mu_or_lowmult.TestSampleProcess
BtoDl_and_ROE_e_or_mu_or_lowmult.build_lists()
BtoDl_and_ROE_e_or_mu_or_lowmult.load_standard_lists()
BtoDl_and_ROE_e_or_mu_or_lowmult.validation_histograms()
BtoDl_and_ROE_e_or_mu_or_lowmult.validation_sample
PRsemileptonicUntagged
SLUntagged
- 21.2.11. Time-dependent CP-violation (TDCPV) analysis skims
- 21.2.12. Tau-pair skims
- 21.2.1. B → charm skims
- 21.3. Standard skim lists
- 21.3.1. Charm lists
loadCharmlessD0_Kpipi0()
loadD0_Kshh_loose()
loadD0_Kspi0_loose()
loadD0_Kspipipi0()
loadD0_hh_loose()
loadKForBtoHadrons()
loadKSkimHighEff()
loadPiForBtoHadrons()
loadPiSkimHighEff()
loadSkimHighEffD0_Kpi()
loadSkimHighEffD0_Kpipipi()
loadSkimHighEffDstarPlus_D0pi_Kpi()
loadSkimHighEffDstarPlus_D0pi_Kpipipi()
loadSlowPi()
loadStdD0()
loadStdD0_Kpi()
loadStdD0_Kpipi0()
loadStdD0_Kpipipi()
loadStdD0_Kspipi()
loadStdD0_eff20_Kpipi0()
loadStdDplus()
loadStdDplus_Kpipi()
loadStdDplus_Kpipipi0()
loadStdDplus_Kspi()
loadStdDplus_Kspipi0()
loadStdDstar0()
loadStdDstar0_D0pi0_Kpi()
loadStdDstar0_D0pi0_Kpipi0()
loadStdDstar0_D0pi0_Kpipipi()
loadStdDstar0_D0pi0_Kspipi()
loadStdDstar0_D0pi0_all()
loadStdDstarPlus()
loadStdDstarPlus_D0pi_Kpi()
loadStdDstarPlus_D0pi_Kpipi0()
loadStdDstarPlus_D0pi_Kpipi0_eff20()
loadStdDstarPlus_D0pi_Kpipipi()
loadStdDstarPlus_D0pi_Kspipi()
loadStdDstarPlus_D0pi_all()
loadStdDstarPlus_Dpi0_Kpipi()
- 21.3.2. Dilepton lists
- 21.3.3. Light meson lists
loadA_1Plus()
loadStdAllEta()
loadStdAllEtaPrime()
loadStdAllF_0()
loadStdAllKstar0()
loadStdAllKstarPlus()
loadStdAllOmega()
loadStdAllPhi()
loadStdAllRho0()
loadStdAllRhoPlus()
loadStdLightMesons()
loadStdLooseEta()
loadStdLooseEtaPrime()
loadStdLooseF_0()
loadStdLooseKstar0()
loadStdLooseKstarPlus()
loadStdLooseOmega()
loadStdLoosePhi()
loadStdLooseRho0()
loadStdLooseRhoPlus()
loadStdPhotonCutEta()
loadStdPi0ForBToHadrons()
loadStdSkimHighEffEta()
loadStdSkimHighEffEtaPrime()
loadStdSkimHighEffF_0()
loadStdSkimHighEffKstar0()
loadStdSkimHighEffOmega()
loadStdSkimHighEffPhi()
loadStdSkimHighEffRho0()
loadStdSkimHighEffTracks()
loadStdWideOmega()
- 21.3.4. Charmless lists
- 21.3.1. Charm lists
- 21.4. Information for skim experts
- 21.4.1. Writing a skim
- 21.4.2. Building skim lists in a steering file
- 21.4.3. Running a skim
- 21.4.4. Skim registry
- 21.4.5. Testing skim performance
- 21.4.6. Core skim package API
BaseSkim
BaseSkim.ApplyHLTHadronCut
BaseSkim.MergeDataStructures
BaseSkim.NoisyModules
BaseSkim.SkimLists
BaseSkim.TestFiles
BaseSkim.TestSampleProcess
BaseSkim.additional_setup()
BaseSkim.analysisGlobaltag
BaseSkim.apply_hlt_hadron_cut_if_required()
BaseSkim.build_lists()
BaseSkim.code
BaseSkim.flag
BaseSkim.initialise_skim_flag()
BaseSkim.load_standard_lists()
BaseSkim.mc
BaseSkim.output_udst()
BaseSkim.pidGlobaltag
BaseSkim.postskim_path
BaseSkim.produce_on_tau_samples
BaseSkim.produces_mdst_by_default
BaseSkim.set_skim_logging()
BaseSkim.skim_event_cuts()
BaseSkim.update_skim_flag()
BaseSkim.validation_histograms()
BaseSkim.validation_sample
CombinedSkim
CombinedSkim.TestFiles
CombinedSkim.additional_setup()
CombinedSkim.apply_hlt_hadron_cut_if_required()
CombinedSkim.build_lists()
CombinedSkim.flag
CombinedSkim.flags
CombinedSkim.initialise_skim_flag()
CombinedSkim.load_standard_lists()
CombinedSkim.merge_data_structures()
CombinedSkim.output_mdst_if_any_flag_passes()
CombinedSkim.output_udst()
CombinedSkim.produce_on_tau_samples
CombinedSkim.set_skim_logging()
CombinedSkim.update_skim_flag()
- 21.4.7. Utility functions for skim experts
- 21.4.8.
b2skim-prod
: Produce grid production requests - 21.4.9.
b2skim-stats-total
: Produce summary statistics for skim package - 21.4.10.
lpns2yaml.py
: Convert lists of LPNs to format expected byb2skim-prod