src/modules/MagneticFieldReader/MagneticFieldReaderModule.hpp

Definition of module to define magnetic fields. More…

Namespaces

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

Classes

Name
class allpix::MagneticFieldReaderModule
Module to define magnetic fields.

Detailed Description

Definition of module to define magnetic fields.

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 <map>
#include <memory>
#include <string>
#include <vector>

#include "core/config/Configuration.hpp"
#include "core/geometry/GeometryManager.hpp"
#include "core/messenger/Messenger.hpp"

#include "core/module/Module.hpp"

namespace allpix {
    class MagneticFieldReaderModule : public Module {
        enum class MagneticField {
            CONSTANT, 
        };

    public:
        MagneticFieldReaderModule(Configuration& config, Messenger* messenger, GeometryManager* geoManager);

        void initialize() override;

    private:
        GeometryManager* geometryManager_;
    };
} // namespace allpix

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