src/modules/GDMLOutputWriter/GDMLOutputWriterModule.hpp

Definition of Geant4 GDML file construction module. More…

Namespaces

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

Classes

Name
class allpix::GDMLOutputWriterModule
Module to construct a GDML Output of the geometry.

Detailed Description

Definition of Geant4 GDML file construction module.

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


#ifndef ALLPIX_MODULE_GDML_OUTPUT_WRITER_H
#define ALLPIX_MODULE_GDML_OUTPUT_WRITER_H

#include <map>
#include <memory>
#include <string>

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

namespace allpix {
    class GDMLOutputWriterModule : public Module {
    public:
        GDMLOutputWriterModule(Configuration& config, Messenger* messenger, GeometryManager* geo_manager);
        ~GDMLOutputWriterModule() override = default;

        void initialize() override;

    private:
        std::string output_file_name_{};
    };
} // namespace allpix

#endif /* ALLPIX_MODULE_GDML_OUTPUT_WRITER_H */

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