BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
Loading...
Searching...
No Matches
__w
bdsim
bdsim
include
BDSTransform3D.hh
1
/*
2
Beam Delivery Simulation (BDSIM) Copyright (C) BDSIM Collaboration, 2001 - 2026.
3
4
This file is part of BDSIM.
5
6
BDSIM is free software: you can redistribute it and/or modify
7
it under the terms of the GNU General Public License as published
8
by the Free Software Foundation version 3 of the License.
9
10
BDSIM is distributed in the hope that it will be useful, but
11
WITHOUT ANY WARRANTY; without even the implied warranty of
12
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
GNU General Public License for more details.
14
15
You should have received a copy of the GNU General Public License
16
along with BDSIM. If not, see <http://www.gnu.org/licenses/>.
17
*/
18
#ifndef BDSTRANSFORM3D_H
19
#define BDSTRANSFORM3D_H
20
#include "BDSAcceleratorComponent.hh"
21
22
#include "G4RotationMatrix.hh"
23
#include "G4String.hh"
24
#include "G4Types.hh"
25
26
40
class
BDSTransform3D
:
public
BDSAcceleratorComponent
41
{
42
public
:
43
BDSTransform3D
() =
delete
;
44
BDSTransform3D
& operator=(
const
BDSTransform3D
&) =
delete
;
45
BDSTransform3D
(
BDSTransform3D
&) =
delete
;
46
47
BDSTransform3D
(
const
G4String& aName,
48
G4double x,
49
G4double y,
50
G4double z,
51
G4double phi,
52
G4double theta,
53
G4double psi);
54
55
BDSTransform3D
(
const
G4String& nameIn,
56
G4double x,
57
G4double y,
58
G4double z,
59
G4double axisXIn,
60
G4double axisYIn,
61
G4double axisZIn,
62
G4double angleIn);
63
64
virtual
~BDSTransform3D
();
65
66
G4RotationMatrix rotationMatrix;
67
G4double dx;
68
G4double dy;
69
G4double dz;
70
G4double dPhi;
71
G4double dTheta;
72
G4double dPsi;
73
G4double axisX;
74
G4double axisY;
75
G4double axisZ;
76
G4double angle;
77
78
private
:
80
virtual
void
BuildContainerLogicalVolume
(){;};
81
};
82
83
#endif
BDSAcceleratorComponent
Abstract class that represents a component of an accelerator.
Definition
BDSAcceleratorComponent.hh:77
BDSTransform3D
Transform in beam line that takes up no space.
Definition
BDSTransform3D.hh:41
BDSTransform3D::BuildContainerLogicalVolume
virtual void BuildContainerLogicalVolume()
Contractual function overload from virtual base class BDSAcceleratorComponent.
Definition
BDSTransform3D.hh:80
Generated on Thu Nov 12 2026 21:36:59 for BDSIM by
1.9.8