BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
Loading...
Searching...
No Matches
BDSTransform3D.hh
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#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
41{
42public:
43 BDSTransform3D() = delete;
44 BDSTransform3D& operator=(const 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
78private:
80 virtual void BuildContainerLogicalVolume(){;};
81};
82
83#endif
Abstract class that represents a component of an accelerator.
Transform in beam line that takes up no space.
virtual void BuildContainerLogicalVolume()
Contractual function overload from virtual base class BDSAcceleratorComponent.