src/modules/InducedTransfer/InducedTransferModule.hpp

Definition of InducedTransfer module. More…

Namespaces

Name
allpix
Helper class to hold support layers for a detector model.

Classes

Name
class allpix::InducedTransferModule
Module to calculate the total induced charge from propagated charge carriers and to assign them to pixels.

Detailed Description

Definition of InducedTransfer module.

Copyright: Copyright (c) 2019-2024 CERN and the Allpix Squared authors. This software is distributed under the terms of the MIT License, copied verbatim in the file “LICENSE.md”. In applying this license, CERN does not waive the privileges and immunities granted to it by virtue of its status as an Intergovernmental Organization or submit itself to any jurisdiction. SPDX-License-Identifier: MIT

Source code


#include <string>

#include "core/config/Configuration.hpp"
#include "core/geometry/DetectorModel.hpp"
#include "core/messenger/Messenger.hpp"
#include "core/module/Module.hpp"

#include "objects/PropagatedCharge.hpp"

namespace allpix {
    class InducedTransferModule : public Module {
    public:
        InducedTransferModule(Configuration& config, Messenger* messenger, std::shared_ptr<Detector> detector);

        void initialize() override;

        void run(Event*) override;

    private:
        Messenger* messenger_;

        std::shared_ptr<Detector> detector_;
        std::shared_ptr<DetectorModel> model_;

        // Distance of pixels taken into account for induction
        unsigned int distance_;
    };
} // namespace allpix

Updated on 2024-12-13 at 08:31:37 +0000