allpix::Trapping
Wrapper class and factory for trapping models. More…
#include <Trapping.hpp>
Public Functions
Name | |
---|---|
Trapping() =default | |
Trapping(const Configuration & config) | |
template <class… ARGS> bool |
operator()(ARGS &&… args) const |
Detailed Description
class allpix::Trapping;
Wrapper class and factory for trapping models.
This class allows to store trapping objects independently of the model chosen and simplifies access to the function call operator. The constructor acts as factory, generating model objects from the model name provided, e.g. from a configuration file.
Public Functions Documentation
function Trapping
Trapping() =default
Default constructor
function Trapping
inline explicit Trapping(
const Configuration & config
)
Parameters:
- config Configuration of the calling module
Trapping model constructor
function operator()
template <class... ARGS>
inline bool operator()(
ARGS &&... args
) const
Return: Trapping state
Function call operator forwarded to the trapping model
Updated on 2024-12-13 at 08:31:36 +0000