allpix::CustomTrapping
Custom trapping model for charge carriers.
#include <Trapping.hpp>
Inherits from allpix::TrappingModel
Public Functions
Name | |
---|---|
CustomTrapping(const Configuration & config) | |
virtual bool | operator()(const CarrierType & type, double probability, double timestep, double ) const override |
Additional inherited members
Public Functions inherited from allpix::TrappingModel
Name | |
---|---|
TrappingModel() =default | |
virtual | ~TrappingModel() =default |
Protected Attributes inherited from allpix::TrappingModel
Name | |
---|---|
double | tau_eff_electron_ |
double | tau_eff_hole_ |
Public Functions Documentation
function CustomTrapping
inline explicit CustomTrapping(
const Configuration & config
)
function operator()
inline virtual bool operator()(
const CarrierType & type,
double probability,
double timestep,
double
) const override
Parameters:
- type Type of charge carrier (electron or hole)
- probability Current trapping probability for this charge carrier
- timestep Current time step performed for the charge carrier additional possible parameter: efield_mag Magnitude of the electric field
Return: Trapping status of the charge carrier
Reimplements: allpix::TrappingModel::operator()
Function call operator to obtain trapping time for the given carrier
Updated on 2024-12-13 at 08:31:36 +0000