allpix::Detrapping

Wrapper class and factory for detrapping models. More…

#include <Detrapping.hpp>

Public Functions

Name
Detrapping() =default
Detrapping(const Configuration & config)
template <class… ARGS>
double
operator()(ARGS &&… args) const

Detailed Description

class allpix::Detrapping;

Wrapper class and factory for detrapping models.

This class allows to store detrapping 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 Detrapping

Detrapping() =default

Default constructor

function Detrapping

inline explicit Detrapping(
    const Configuration & config
)

Parameters:

Detrapping model constructor

function operator()

template <class... ARGS>
inline double operator()(
    ARGS &&... args
) const

Return: Detrapping time

Function call operator forwarded to the detrapping model


Updated on 2025-02-27 at 14:14:46 +0000