BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
Loading...
Searching...
No Matches
BDSIntegratorCavityFringe.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
19#ifndef BDSINTEGRATORCAVITYFRINGE_HH
20#define BDSINTEGRATORCAVITYFRINGE_HH
21
22#include "BDSMagUsualEqRhs.hh"
23#include "BDSIntegratorRMatrixThin.hh"
24
25#include "globals.hh"
26
27class G4Mag_EqRhs;
29
41{
42public:
45 G4Mag_EqRhs* eqOfMIn,
46 G4double brho,
47 G4double maximumRadiusIn);
48
50
51 virtual void Stepper(const G4double y[],
52 const G4double dydx[],
53 const G4double h,
54 G4double yOut[],
55 G4double yErr[]);
56
57private:
58 const G4double phase;
59 G4double efield;
60 const G4double isentrance;
61
62protected:
64};
65
66#endif
Integrator for RF cavity fringes. Only the transverse momentum kicks are applied, this integrator wil...
BDSMagUsualEqRhs * eq
BDSIM's eqRhs class to give access to particle properties.
Integrator that just moves the particle parallel to the s axis.
Override G4Mag_UsualEqRhs, provides BDSIM integrators access to particle attributes.
Efficient storage of magnet strengths.