Belle II Software development
|
basf2 (Belle II Analysis Software Framework) # Author: The Belle II Collaboration # # See git log for contributors and copyright holders. More...
Namespaces | |
namespace | 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 : | |
str | _verify_checkpoint (Union[None, str, pathlib.Path] checkpoint) |
Function to verify that checkpoint : | |
Union[None, int] | _verify_seed (Union[None, int] seed) |
Function to verify that seed : | |
int | _verify_nintra (int nintra) |
Function to verify that nintra : | |
int | _verify_ninter (int ninter) |
Function to verify that ninter : | |
str | _verify_globaltag (str globaltag) |
Function to verify that globaltag : | |
Callable | inject_simulation (Union[None, basf2.Module] module=None) |
Helper function to incorporate a module instance into add_simulation after BGOverlayInput . | |
Variables | |
tuple | VXDID_ARGS |
Sequence of forty tuples (layer, ladder, sensor) used to instantiate VxdID specifier objects for distinct PXD modules. | |
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.
|
protected |
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 66 of file __init__.py.
|
protected |
Function to verify that globaltag
:
The value of globaltag
is returned if the condition is met. An exception is raised otherwise.
Definition at line 130 of file __init__.py.
|
protected |
Function to verify that model
:
The value of model
is returned if the conditions are met. An exception is raised otherwise.
Definition at line 50 of file __init__.py.
|
protected |
Function to verify that ninter
:
The value of ninter
is returned if the conditions are met. An exception is raised otherwise.
Definition at line 116 of file __init__.py.
|
protected |
Function to verify that nintra
:
The value of nintra
is returned if the conditions are met. An exception is raised otherwise.
Definition at line 101 of file __init__.py.
|
protected |
Function to verify that seed
:
The value of seed
is returned if the conditions are met. An exception is raised otherwise.
Definition at line 84 of file __init__.py.
Callable 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_simulation
Incorporate 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 365 of file __init__.py.
tuple 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 37 of file __init__.py.