SHiP Geometry
SHiP experiment geometry implementation using GeoModel.
Loading...
Searching...
No Matches
DecayVolumeFactory.h
Go to the documentation of this file.
1// SPDX-License-Identifier: LGPL-3.0-or-later
2// Copyright (C) CERN for the benefit of the SHiP Collaboration
3
4#pragma once
5
6#include <string>
7
8class GeoPhysVol;
9
10namespace SHiPGeometry {
11
12class SHiPMaterials;
13
28 public:
29 explicit DecayVolumeFactory(SHiPMaterials& materials, std::string configPath = "sbt.toml");
31
33 [[nodiscard]] GeoPhysVol* build();
34
35 private:
36 SHiPMaterials& m_materials;
37 std::string m_configPath;
38
39 // Air container enclosing the SBT structure + sensors and helium (mm).
40 static constexpr double s_halfX = 2200.0;
41 static constexpr double s_halfY = 3300.0;
42 static constexpr double s_halfZ = 25200.0;
43};
44
45} // namespace SHiPGeometry
Factory for the DecayVolume subsystem (decay region + SBT).
Definition DecayVolumeFactory.h:27
GeoPhysVol * build()
Build the DecayVolume geometry; returns the air container.
Definition DecayVolumeFactory.cpp:65
Central material manager for the SHiP detector.
Definition SHiPMaterials.h:20
Definition SHiPGeometry.h:8