SHiP Geometry
SHiP experiment geometry implementation using GeoModel.
Loading...
Searching...
No Matches
test_muonshield.cpp File Reference
#include "SHiP/geometry/Materials.h"
#include "SHiP/geometry/MuonShield/MuonShieldFactory.h"
#include "SHiP/geometry/Units.h"
#include <GeoModelKernel/GeoBox.h>
#include <GeoModelKernel/GeoLogVol.h>
#include <GeoModelKernel/GeoPhysVol.h>
#include <GeoModelKernel/GeoShapeSubtraction.h>
#include <algorithm>
#include <catch2/catch_test_macros.hpp>
#include <cstddef>
#include <string>
#include <string_view>
#include <vector>
Include dependency graph for test_muonshield.cpp:

Classes

class  MuonShieldFactory
 Factory for the muon shield: the magnetised hadron stopper and the shield magnets M1-M7. More...

Functions

 TEST_CASE ("MuonShieldContainerSpansTheShieldAroundTheSnd", "[muonshield]")
 TEST_CASE ("MuonShieldBlocksMatchTable", "[muonshield]")
 TEST_CASE ("MuonShieldCavityStepsPerMagnet", "[muonshield]")
template<auto U, typename Rep>
requires (U == mm || U == cm || U == m)
constexpr double gm (mp_units::quantity< U, Rep > q)
 Length quantity -> GeoModel raw double (GeoModel native unit: mm).

Function Documentation

◆ gm()

template<auto U, typename Rep>
requires (U == mm || U == cm || U == m)
double SHiP::geometry::units::gm ( mp_units::quantity< U, Rep > q)
nodiscardconstexpr

Length quantity -> GeoModel raw double (GeoModel native unit: mm).

◆ TEST_CASE() [1/3]

TEST_CASE ( "MuonShieldBlocksMatchTable" ,
"" [muonshield] )

◆ TEST_CASE() [2/3]

TEST_CASE ( "MuonShieldCavityStepsPerMagnet" ,
"" [muonshield] )

◆ TEST_CASE() [3/3]

TEST_CASE ( "MuonShieldContainerSpansTheShieldAroundTheSnd" ,
"" [muonshield] )