allpix::CapacitiveTransferModule
Module: Modules
Module that directly converts propagated charges to charges on a pixel and its neighbours (simulating the cross-coupling in CCPDs) This module is based on the SimpleTransferModule. It does a mapping of the propagated charges to the nearest pixel in the grid and copies this propageted charge, scaled by the cross-coupling matrix, to the neighbouring pixels. The coupling matrix must be provided in the configuration file as a Matrix or as a matrix file. Like the SimpleTransferModule, it only considers propagated charges within a certain distance from the implants and within the pixel grid, charges in the rest of the sensor are ignored. The cross hit created in the neighbouring pixels keeps the history, saving from where the original charge came from.
#include <CapacitiveTransferModule.hpp>
Inherits from allpix::Module
Public Functions
Name | |
---|---|
CapacitiveTransferModule(Configuration & config, Messenger * messenger, std::shared_ptr< Detector > detector) Constructor for this detector-specific module. |
|
virtual void | initialize() override Initialize the module, creating the cross-coupling matrixs. |
virtual void | run(Event * event) override Transfer the propagated charges to the pixels and its neighbours. |
virtual void | finalize() override Display statistical summary. |
Additional inherited members
Public Functions inherited from allpix::Module
Name | |
---|---|
Module(const Module & ) =delete Copying a module is not allowed. |
|
Module & | operator=(const Module & ) =delete Copying a module is not allowed. |
Module(Module && ) =delete Disallow move behaviour (not possible with references) |
|
Module & | operator=(Module && ) =delete Disallow move behaviour (not possible with references) |
Module(Configuration & config) Base constructor for unique modules. |
|
Module(Configuration & config, std::shared_ptr< Detector > detector) Base constructor for detector modules. |
|
virtual | ~Module() Essential virtual destructor. |
std::shared_ptr< Detector > | getDetector() const Get the detector linked to this module. |
std::string | getUniqueName() const Get the unique name of this module. |
std::string | createOutputFile(const std::string & pathname, const std::string & extension ="", bool global =false, bool delete_file =false) Create and return an absolute path to be used for output from a relative path. |
TDirectory * | getROOTDirectory() const Get ROOT directory which should be used to output histograms et cetera. |
ConfigManager * | getConfigManager() const Get the config manager object to allow to read the global and other module configurations. |
bool | multithreadingEnabled() const Returns if multithreading of this module is enabled. |
virtual void | initializeThread() Initialize the module for each thread after the global initialization. |
virtual void | finalizeThread() Finalize the module after the event sequence for each thread. |
Protected Functions inherited from allpix::Module
Name | |
---|---|
void | allow_multithreading() Enable multithreading for this module. |
Configuration & | get_configuration() Get the module configuration for internal use. |
Protected Attributes inherited from allpix::Module
Name | |
---|---|
Configuration & | config_ |
Friends inherited from allpix::Module
Name | |
---|---|
class | Event |
class | ModuleManager |
class | Messenger |
class | LocalMessenger |
Public Functions Documentation
function CapacitiveTransferModule
CapacitiveTransferModule(
Configuration & config,
Messenger * messenger,
std::shared_ptr< Detector > detector
)
Constructor for this detector-specific module.
Parameters:
- config Configuration object for this module as retrieved from the steering file
- messenger Pointer to the messenger object to allow binding to messages on the bus
- detector Pointer to the detector for this module instance
function initialize
virtual void initialize() override
Initialize the module, creating the cross-coupling matrixs.
Reimplements: allpix::Module::initialize
function run
virtual void run(
Event * event
) override
Transfer the propagated charges to the pixels and its neighbours.
Reimplements: allpix::Module::run
function finalize
virtual void finalize() override
Display statistical summary.
Reimplements: allpix::Module::finalize
Updated on 2024-12-13 at 08:31:37 +0000