BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
Loading...
Searching...
No Matches
BDSCavityInfo.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 "BDSCavityInfo.hh"
19#include "BDSCavityType.hh"
20
21#include "globals.hh"
22
24 G4Material* materialIn,
25 G4double irisRadiusIn,
26 G4double thicknessIn,
27 G4double equatorRadiusIn,
28 G4double halfCellLengthIn,
29 G4int numberOfPointsIn,
30 G4int numberOfCellsIn,
31 G4double equatorHorizontalAxisIn,
32 G4double equatorVerticalAxisIn,
33 G4double irisHorizontalAxisIn,
34 G4double irisVerticalAxisIn,
35 G4double tangentLineAngleIn):
36 cavityType(cavityTypeIn),
37 material(materialIn),
38 irisRadius(irisRadiusIn),
39 thickness(thicknessIn),
40 equatorRadius(equatorRadiusIn),
41 halfCellLength(halfCellLengthIn),
42 numberOfPoints(numberOfPointsIn),
43 numberOfCells(numberOfCellsIn),
44 equatorHorizontalAxis(equatorHorizontalAxisIn),
45 equatorVerticalAxis(equatorVerticalAxisIn),
46 irisHorizontalAxis(irisHorizontalAxisIn),
47 irisVerticalAxis(irisVerticalAxisIn),
48 tangentLineAngle(tangentLineAngleIn),
49 inputWindowMaterial(nullptr),
50 inputWindowThickness(0),
51 outputWindowMaterial(nullptr),
52 outputWindowThickness(0)
53{;}
BDSCavityInfo()=delete
No default constructor.