src/modules/DopingProfileReader/DopingProfileReaderModule.hpp

Definition of module to read doping concentration maps. More…

Namespaces

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

Classes

Name
class allpix::DopingProfileReaderModule
Module to do function.

Detailed Description

Definition of module to read doping concentration maps.

Copyright: Copyright (c) 2017-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 "core/config/Configuration.hpp"
#include "core/geometry/DetectorModel.hpp"
#include "core/messenger/Messenger.hpp"
#include "tools/field_parser.h"

#include "core/module/Module.hpp"

namespace allpix {
    class DopingProfileReaderModule : public Module {
        enum class DopingProfile {
            CONSTANT, 
            REGIONS,  
            MESH,     
        };

    public:
        DopingProfileReaderModule(Configuration& config, Messenger* messenger, std::shared_ptr<Detector> detector);

        void initialize() override;

    private:
        // General module members
        std::shared_ptr<Detector> detector_;

        FieldData<double> read_field();
        static FieldParser<double> field_parser_;

        void create_output_plots();
    };
} // namespace allpix

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