SHiP Geometry
SHiP experiment geometry implementation using GeoModel.
Loading...
Searching...
No Matches
NeutrinoDetectorFactory.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
6class GeoPhysVol;
7
8namespace SHiPGeometry {
9
10class SHiPMaterials;
11
45 public:
47 explicit NeutrinoDetectorFactory(SHiPMaterials& materials);
48
51
53 [[nodiscard]] GeoPhysVol* build();
54
55 private:
56 SHiPMaterials& m_materials;
57
58 // ── Container envelope (mm) ─────────────────────────────────────────
59 // Box approximation of the frustum SND envelope, sized to the largest
60 // (downstream) half-width/height and the full 5.10 m length.
61 static constexpr double s_halfX = 400.0;
62 static constexpr double s_halfY = 400.0;
63 static constexpr double s_halfZ = 2550.0;
64};
65
66} // namespace SHiPGeometry
Factory for the Scattering and Neutrino Detector (SND).
Definition NeutrinoDetectorFactory.h:44
GeoPhysVol * build()
Build the SND geometry; returns the air container.
Definition NeutrinoDetectorFactory.cpp:243
~NeutrinoDetectorFactory()=default
Defaulted destructor.
Central material manager for the SHiP detector.
Definition SHiPMaterials.h:20
Definition SHiPGeometry.h:8