SHiP Geometry
SHiP experiment geometry implementation using GeoModel.
Loading...
Searching...
No Matches
UpstreamTaggerFactory.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 GeoVPhysVol;
7
8namespace SHiPGeometry {
9
10class SHiPMaterials;
11class SHiPUBTManager;
12
51 public:
52 explicit UpstreamTaggerFactory(SHiPMaterials& materials);
54
60 [[nodiscard]] GeoVPhysVol* build(SHiPUBTManager* manager = nullptr);
61
62 private:
63 SHiPMaterials& m_materials;
64
65 // ── Container envelope (mm) ─────────────────────────────────────────
66 // Kept identical to the GDML statbox (440 × 640 × 16 cm) used by the
67 // previous monolithic slab so placement and the envelope-fit test
68 // (halfX ≤ 2200, halfY ≤ 3200, halfZ ≤ 200) are unchanged.
69 static constexpr double s_halfX = 2200.0;
70 static constexpr double s_halfY = 3200.0;
71 static constexpr double s_halfZ = 80.0;
72
73 // ── Tile geometry (mm) ──────────────────────────────────────────────
74 static constexpr double s_tileThickness = 10.0;
75 static constexpr double s_fineFace = 20.0;
76 static constexpr double s_coarseFace = 40.0;
77};
78
79} // namespace SHiPGeometry
Central material manager for the SHiP detector.
Definition SHiPMaterials.h:20
Detector manager for the Upstream Background Tagger (UBT).
Definition SHiPUBTManager.h:19
Factory for the UpstreamTagger (upstream veto tagger) geometry.
Definition UpstreamTaggerFactory.h:50
GeoVPhysVol * build(SHiPUBTManager *manager=nullptr)
Build the UpstreamTagger geometry.
Definition UpstreamTaggerFactory.cpp:81
Definition SHiPGeometry.h:8