Skims :math:`D^0`'s reconstructed by `XToD0_D0ToHpJm.D0ToHpJm`.
Definition at line 46 of file charm.py.
def additional_setup |
( |
|
self, |
|
|
|
path |
|
) |
| |
|
inherited |
**Decay Modes**:
* :math:`D^{0}\\to \\pi^+ \\pi^-`,
* :math:`D^{0}\\to K^+ \\pi^-`,
* :math:`D^{0}\\to K^- \\pi^+`,
* :math:`D^{0}\\to K^+ K^-`,
**Selection Criteria**:
* Tracks: ``abs(d0) < 1, abs(z0) < 3, 0.296706 < theta < 2.61799``
* ``1.66 < M(D0) < 2.06``
* ``pcms(D0) > 2.0``
* For more details, please check the source code of this skim.
**Parameters**:
* path (basf2.Path): Skim path to be processed.
**Returns**:
* List of D0 particle list names.
Definition at line 64 of file charm.py.
def load_standard_lists |
( |
|
self, |
|
|
|
path |
|
) |
| |
|
inherited |
Load any standard lists. This code will be run before any
`BaseSkim.additional_setup` and `BaseSkim.build_lists`.
Note:
This is separated into its own function so that when skims are combined, any
standard lists used by two skims can be loaded just once.
Parameters:
path (basf2.Path): Skim path to be processed.
Reimplemented in TDCPV_ccs, TDCPV_qqs, TauThrust, TauGeneric, TauLFV, SystematicsBhabha, SystematicsKshort, SystematicsJpsi, SystematicsRadMuMuFromHLTFlag, SystematicsFourLeptonFromHLTFlag, Random, SystematicsPhiGamma, SystematicsLambda, SystematicsRadEE, SystematicsEELL, SystematicsRadMuMu, Resonance, SystematicsTracking, SystematicsDstar, B0toDstarl_Kpi_Kpipi0_Kpipipi, SLUntagged, PRsemileptonicUntagged, InclusiveLambda, CharmoniumPsi, BottomoniumUpsilon, BottomoniumEtabExclusive, SingleTagPseudoScalar, dilepton, LeptonicUntagged, BtoXll_LFV, BtoXll, BtoXgamma, AA2uuuu, InelasticDarkMatterWithDarkHiggs, BtoKplusLLP, InelasticDarkMatter, RadBhabhaV0Control, DielectronPlusMissingEnergy, GammaGammaControlKLMDark, EGammaControlDark, LFVZpVisible, ElectronMuonPlusMissingEnergy, DimuonPlusMissingEnergy, SinglePhotonDark, DstToD0Pi_D0ToVGamma, EarlyData_DstToD0Pi_D0ToHpHmPi0, EarlyData_DstToD0Pi_D0ToHpJmPi0, DstToD0Pi_D0ToHpJmKs, DstToD0Pi_D0ToNeutrals, DstToD0Pi_D0ToHpJmEta, DstToD0Pi_D0ToHpHmHpJm, DstToD0Pi_D0ToKsOmega, DstToD0Pi_D0ToHpHmPi0, DstToD0Pi_D0ToHpJmPi0, DstToD0Pi_D0ToHpJm, DstToDpPi0_DpToHpPi0, LambdacTopHpJm, XToDp_DpToHpHmJp, XToDp_DpToKsHp, DstToD0Pi_D0ToRare, XToD0_D0ToNeutrals, BtoRhopRhom, BtoHad3Tracks1Pi0, BtoHad1Pi0, BtoHadTracks, BtoPi0Pi0, B0toD0Kpipi0_pi0, B0toDstarD, B0toDD_Kpipi_Kspi, BtoD0rho_Kpipipi_Kpipi0, BtoD0rho_Kpi, BtoD0h_Kshh, BtoD0h_Kpipipi_Kpipi0, BtoD0h_Kpi, BtoD0h_hh, B0toDstarRho_D0pi_Kpipipi_Kpipi0, B0toDstarRho_D0pi_Kpi, B0toDrho_Kspi, B0toDrho_Kpipi, B0toDstarPi_D0pi_Kpipipi_Kpipi0, B0toDstarPi_D0pi_Kpi, B0toDpi_Kspi, B0toDpi_Kpipi, BtoD0h_Kspipipi0, BtoD0h_Kspi0, and CombinedSkim.
Definition at line 163 of file core.py.
def skim_event_cuts |
( |
|
self, |
|
|
|
cut, |
|
|
* |
path |
|
) |
| |
|
inherited |
Apply event-level cuts in a skim-safe way.
Parameters:
cut (str): Event-level cut to be applied.
path (basf2.Path): Skim path to be processed.
Returns:
Path on which the rest of this skim should be processed.
On this path, only events which passed the event-level cut will
be processed further.
.. Tip::
If running this function in `BaseSkim.additional_setup` or
`BaseSkim.build_lists`, redefine the ``path`` to the path returned by
`BaseSkim.skim_event_cuts`, *e.g.*
.. code-block:: python
def build_lists(self, path):
path = self.skim_event_cuts("nTracks>4", path=path)
# rest of skim list building...
.. Note::
The motivation for using this function over `applyEventCuts` is that
`applyEventCuts` completely removes events from processing. If we combine
multiple skims in a single steering file (which is done in production), and
the first has a set of event-level cuts, then all the remaining skims will
never even see those events.
Internally, this function creates a new path, which is only processed for
events passing the event-level cut. To avoid issues around particles not
being available on the main path (leading to noisy error logs), we need to
add the rest of the skim to this path. So this new path is assigned to the
attribute ``BaseSkim._ConditionalPath``, and ``BaseSkim.__call__`` will run
all remaining methods on this path.
Definition at line 272 of file core.py.
Location of test MDST sample. To modify this, set the property
`BaseSkim.TestSampleProcess`, and this function will find an appropriate test
sample from the list in
``/group/belle2/dataprod/MC/SkimTraining/SampleLists/TestFiles.yaml``
If no sample can be found, an empty list is returned.
Reimplemented in CombinedSkim.
Definition at line 324 of file core.py.
def update_skim_flag |
( |
|
self, |
|
|
|
path |
|
) |
| |
|
inherited |
Add the module `skim.utils.flags.UpdateSkimFlag` to the path, which
updates flag for this skim.
.. Warning::
If a conditional path has been created before this, then this function
*must* run on the conditional path, since the skim lists are not guaranteed
to exist for all events on the main path.
Reimplemented in CombinedSkim.
Definition at line 362 of file core.py.