![]() |
Belle II Software
release-06-01-15
|
Public Member Functions | |
def | load_standard_lists (self, path) |
def | build_lists (self, path) |
def | __authors__ (self) |
def | __description__ (self) |
def | __contact__ (self) |
def | __category__ (self) |
def | code (self) |
def | additional_setup (self, path) |
def | validation_histograms (self, path) |
def | __call__ (self, path) |
def | postskim_path (self) |
def | skim_event_cuts (self, cut, *path) |
def | TestFiles (self) |
def | flag (self) |
def | initialise_skim_flag (self, path) |
def | update_skim_flag (self, path) |
def | __str__ (self) |
def | __name__ (self) |
def | set_skim_logging (self) |
def | output_udst (self, path) |
def | apply_hlt_hadron_cut_if_required (self, path) |
Static Public Member Functions | |
def | D0ToNeutrals (path) |
Public Attributes | |
mc | |
SkimLists | |
name | |
OutputFileName | |
additionalDataDescription | |
Private Member Functions | |
def | _method_unchanged (self, method) |
Private Attributes | |
_udstOutput | |
_validation | |
Static Private Attributes | |
list | __authors__ = ["Giulia Casarosa", "Emma Oxford"] |
string | __description__ = "Same as `XToD0_D0ToNeutrals`, but requiring that the D0 is from D* decay." |
__contact__ = __liaison__ | |
string | __category__ = "physics, charm" |
_MainPath = None | |
_ConditionalPath = None | |
**Decay Modes**: * :math:`D^{*+}\\to \\pi^+ D^{0}`, where the :math:`D^{0}` is reconstructed by `XToD0_D0ToNeutrals.D0ToNeutrals`. **Selection Criteria**: * Apply the cuts in `XToD0_D0ToNeutrals` * No cut on the slow pion * ``Q < 0.02`` * For more details, please check the source code of this skim.
|
inherited |
Produce the skim particle lists and write uDST file. Parameters: path (basf2.Path): Skim path to be processed.
Reimplemented in CombinedSkim.
|
privateinherited |
|
inherited |
Perform any setup steps necessary before running the skim. Warning: Standard particle lists should *not* be loaded in here. This should be done by overriding the method `BaseSkim.load_standard_lists`. This is crucial for avoiding loading lists twice when combining skims for production. Parameters: path (basf2.Path): Skim path to be processed.
Reimplemented in TDCPV_ccs, TDCPV_qqs, TauThrust, TauGeneric, Random, BaseFEISkim, InelasticDarkMatterWithDarkHiggs, ALP3Gamma, and CombinedSkim.
|
inherited |
Apply the ``hlt_hadron`` selection if the property ``ApplyHLTHadronCut`` is True. Parameters: path (basf2.Path): Skim path to be processed.
Reimplemented in CombinedSkim.
def build_lists | ( | self, | |
path | |||
) |
Builds :math:`D^0` skim lists defined in `XToD0_D0ToNeutrals.D0ToNeutrals`.
Reimplemented from XToD0_D0ToNeutrals.
|
inherited |
|
staticinherited |
**Decay Modes**: * :math:`D^{0}\\to \\pi^{0} \\pi^{0}` * :math:`D^{0}\\to K_{S} \\pi^{0}` * :math:`D^{0}\\to K_{S} K_{S}` **Selection Criteria**: * Use :math:`\\pi^{0}` from `stdPi0s.loadStdSkimPi0` * Use :math:`K_{S}` from `stdV0s.stdKshorts` * ``1.66 < M(D0) < 2.06, pcms(D0) > 2.0`` * For more details, please check the source code of this skim. * (Maybe in the future, we can add a loose ECL cluster timing cut to :math:`\\pi^{0}` in this skim.) **Parameters**: * path (basf2.Path): Skim path to be processed. **Returns**: * List of D0 particle list names.
|
inherited |
Event-level variable indicating whether an event passes the skim or not. To use the skim flag without writing uDST output, use the argument ``udstOutput=False`` when instantiating the skim class.
Reimplemented in CombinedSkim.
|
inherited |
Add the module `skim.utils.flags.InitialiseSkimFlag` to the path, which initialises flag for this skim to zero.
Reimplemented in CombinedSkim.
def load_standard_lists | ( | self, | |
path | |||
) |
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 from XToD0_D0ToNeutrals.
|
inherited |
Write the skim particle lists to an output uDST and print a summary of the skim list statistics. Parameters: path (basf2.Path): Skim path to be processed.
Reimplemented in CombinedSkim.
|
inherited |
Return the skim path. * If `BaseSkim.skim_event_cuts` has been run, then the skim lists will only be created on a conditional path, so subsequent modules should be added to the conditional path. * If `BaseSkim.skim_event_cuts` has not been run, then the main analysis path is returned.
|
inherited |
Turns the log level to ERROR for selected modules to decrease the total size of the skim log files. Additional modules can be silenced by setting the attribute `NoisyModules` for an individual skim. Parameters: path (basf2.Path): Skim path to be processed. .. warning:: This method works by inspecting the modules added to the path, and setting the log level to ERROR. This method should be called *after* all skim-related modules are added to the path.
Reimplemented in CombinedSkim.
|
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.
|
inherited |
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.
|
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.
|
inherited |
Create validation histograms for the skim. Parameters: path (basf2.Path): Skim path to be processed.
Reimplemented in TDCPV_ccs, TDCPV_qqs, TauThrust, TauGeneric, TauLFV, SystematicsPhiGamma, SLUntagged, PRsemileptonicUntagged, CharmoniumPsi, LowMassTwoTrack, LeptonicUntagged, feiSLBplus, feiSLB0, feiHadronicBplus, feiHadronicB0, inclusiveBplusToKplusNuNu, BtoXll, BtoXgamma, BtoD0h_Kshh, BtoD0h_hh, BtoD0h_Kspipipi0, and BtoD0h_Kspi0.