![]() |
Belle II Software
release-08-02-04
|
basf2 (Belle II Analysis Software Framework) # Author: The Belle II Collaboration # # See git log for contributors and copyright holders. More...
Namespaces | |
| models | |
| basf2 (Belle II Analysis Software Framework) # Author: The Belle II Collaboration # # See git log for contributors and copyright holders. | |
Classes | |
| class | PXDBackgroundGenerator |
| Class for the PXD background generator module. More... | |
Functions | |
| str | _verify_model (str model) |
Function to verify that model: More... | |
| str | _verify_checkpoint (Union[None, str, pathlib.Path] checkpoint) |
Function to verify that checkpoint: More... | |
| Union[None, int] | _verify_seed (Union[None, int] seed) |
Function to verify that seed: More... | |
| int | _verify_nintra (int nintra) |
Function to verify that nintra: More... | |
| int | _verify_ninter (int ninter) |
Function to verify that ninter: More... | |
| str | _verify_globaltag (str globaltag) |
Function to verify that globaltag: More... | |
| Callable | inject_simulation (Union[None, basf2.Module] module=None) |
Helper function to incorporate a module instance into add_simulation after BGOverlayInput. More... | |
Variables | |
| VXDID_ARGS | |
Sequence of forty tuples (layer, ladder, sensor) used to instantiate VxdID specifier objects for distinct PXD modules. More... | |
basf2 (Belle II Analysis Software Framework) # Author: The Belle II Collaboration # # See git log for contributors and copyright holders.
# This file is licensed under LGPL-3.0, see LICENSE.md. #
Generate PXD background samples for background overlay on the fly.
|
private |
Function to verify that checkpoint:
pathlib.Path object,The value of checkpoint is returned if the conditions are met. An exception is raised otherwise.
Definition at line 65 of file __init__.py.
|
private |
Function to verify that globaltag:
The value of globaltag is returned if the condition is met. An exception is raised otherwise.
Definition at line 129 of file __init__.py.
|
private |
Function to verify that model:
The value of model is returned if the conditions are met. An exception is raised otherwise.
Definition at line 49 of file __init__.py.
|
private |
Function to verify that ninter:
The value of ninter is returned if the conditions are met. An exception is raised otherwise.
Definition at line 115 of file __init__.py.
|
private |
Function to verify that nintra:
The value of nintra is returned if the conditions are met. An exception is raised otherwise.
Definition at line 100 of file __init__.py.
|
private |
Function to verify that seed:
The value of seed is returned if the conditions are met. An exception is raised otherwise.
Definition at line 83 of file __init__.py.
| Callable pxd.background_generator.inject_simulation | ( | Union[None, basf2.Module] | module = None | ) |
Helper function to incorporate a module instance into add_simulation after BGOverlayInput.
| module | Module instance to be incorporated, defaults to None - return unmodified function |
add_simulationIncorporate a module instance
into :py:func:`.add_simulation` after `!BGOverlayInput`.
:param module: Module instance to be incorporated,
defaults to None - return unmodified function
:type module: :py:class:`basf2.Module`, optional
:returns: Drop-in replacement function for :py:func:`.add_simulation`
Definition at line 364 of file __init__.py.
| VXDID_ARGS |
Sequence of forty tuples (layer, ladder, sensor) used to instantiate VxdID specifier objects for distinct PXD modules.
It is assumed that the indices of tuples in the sequence match indices along the first axis of tensors with shape (40, 250, 768) that are produced by the generator.
Definition at line 36 of file __init__.py.