BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
Loading...
Searching...
No Matches
BDSSDType.cc
1/*
2Beam Delivery Simulation (BDSIM) Copyright (C) BDSIM Collaboration, 2001 - 2026.
3
4This file is part of BDSIM.
5
6BDSIM is free software: you can redistribute it and/or modify
7it under the terms of the GNU General Public License as published
8by the Free Software Foundation version 3 of the License.
9
10BDSIM is distributed in the hope that it will be useful, but
11WITHOUT ANY WARRANTY; without even the implied warranty of
12MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13GNU General Public License for more details.
14
15You should have received a copy of the GNU General Public License
16along with BDSIM. If not, see <http://www.gnu.org/licenses/>.
17*/
18#include "BDSSDType.hh"
19
20#include <map>
21#include <string>
22
23// dictionary for BDSSDType
24template<>
25std::map<BDSSDType, std::string>* BDSSDType::dictionary =
26 new std::map<BDSSDType, std::string> ({
27 {BDSSDType::samplerplane, "samplerplane"},
28 {BDSSDType::samplercylinder, "samplercylinder"},
29 {BDSSDType::samplerlink, "samplerlink"},
30 {BDSSDType::terminator, "terminator"},
31 {BDSSDType::energydep, "energydep"},
32 {BDSSDType::energydepvacuum, "energydepvacuum"},
33 {BDSSDType::energydeptunnel, "energydeptunnel"},
34 {BDSSDType::energydepworld, "energydepworld"},
35 {BDSSDType::energydepworldcontents, "energydepworldcontents"},
36 {BDSSDType::worldexit, "worldexit"},
37 {BDSSDType::worldcomplete, "worldcomplete"},
38 {BDSSDType::collimator, "collimator"},
39 {BDSSDType::collimatorcomplete, "collimatorcomplete"},
40 {BDSSDType::apertureimpacts, "aperture"},
41 {BDSSDType::aperturecomplete, "aperturecomplete"},
42 {BDSSDType::thinthing, "thinthing"},
43 {BDSSDType::wirecomplete, "wirecomplete"}
44 });
static std::map< BDSTypeSafeEnum< def, inner >, std::string > * dictionary