BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
Loading...
Searching...
No Matches
BDSMuonCoolerStructs.hh
1/*
2Beam Delivery Simulation (BDSIM) Copyright (C) Royal Holloway,
3University of London 2001 - 2022.
4
5This file is part of BDSIM.
6
7BDSIM is free software: you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published
9by the Free Software Foundation version 3 of the License.
10
11BDSIM is distributed in the hope that it will be useful, but
12WITHOUT ANY WARRANTY; without even the implied warranty of
13MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14GNU General Public License for more details.
15
16You should have received a copy of the GNU General Public License
17along with BDSIM. If not, see <http://www.gnu.org/licenses/>.
18*/
19#ifndef BDSMUONCOOLERSTRUCTS_H
20#define BDSMUONCOOLERSTRUCTS_H
21
22#include "G4ThreeVector.hh"
23#include "G4Types.hh"
24
25#include <vector>
26
27class BDSFieldInfo;
28class G4Material;
29
30namespace BDS
31{
33 {
34 G4double innerRadius;
35 G4double radialThickness;
36 G4double fullLengthZ;
37 G4double current;
38 G4double offsetZ;
39 G4Material* material;
40 G4double onAxisTolerance;
41 G4int nSheets;
42 };
43
45 {
46 G4double apertureRadius;
47 G4double fullLengthZ;
48 G4double fieldStrength;
49 G4double engeCoefficient;
50 G4double offsetZ;
51 };
52
54 {
55 G4double offsetZ;
56 G4double lengthZ;
57 G4double peakEField;
58 G4double phaseOffset;
59 G4double frequency;
60 G4Material* vacuumMaterial;
61 G4double windowThickness;
62 G4Material* windowMaterial;
63 G4double windowRadius;
64 G4Material* cavityMaterial;
65 G4double cavityRadius;
66 G4double cavityThickness;
67 G4double globalTimeOffset;
68 };
69
71 {
72 G4String absorberType;
73 G4double cylinderLength;
74 G4double cylinderRadius;
75 G4double wedgeOpeningAngle;
76 G4double wedgeHeight;
77 G4double wedgeRotationAngle;
78 G4ThreeVector placement;
79 G4double wedgeApexToBase;
80 G4Material* material;
81 };
82}
83
84#endif
All info required to build complete field of any type.
Return either G4Tubs or G4CutTubs depending on flat face.