|
BDSIM
BDSIM is a Geant4 extension toolkit for simulation of particle transport in accelerator beamlines.
|
Sinusoidal modulator as a function of global time. More...
#include <BDSModulatorSinT.hh>


Public Member Functions | |
| BDSModulatorSinT (G4double frequencyIn, G4double phaseIn=0, G4double synchronousTIn=0, G4double amplitudeOffsetIn=0, G4double amplitudeScaleIn=1.0) | |
| virtual G4double | Factor (const G4ThreeVector &xyz, G4double T) const |
| Returns value of equation in brief at the top of this file. | |
| virtual G4bool | VariesWithTime () const |
| Each derived class should override this. | |
| virtual G4double | RecommendedMaxStepLength () const |
| Return the wavelength / 20 of the oscillator. | |
Private Attributes | |
| G4double | angularFrequency |
| G4double | phase |
| G4double | synchronousT |
| G4double | offset |
| G4double | scale |
Additional Inherited Members | |
Static Public Member Functions inherited from BDSModulator | |
| static void | SetEventIndex (G4int eventIndexIn) |
| Setter for the static counter so we can trace where it's used. | |
Static Protected Attributes inherited from BDSModulator | |
| static G4int | eventIndex = 0 |
Sinusoidal modulator as a function of global time.
factor = offset + scale * sin(2pi*frequency*T + phase)
Definition at line 33 of file BDSModulatorSinT.hh.
|
explicit |
Definition at line 29 of file BDSModulatorSinT.cc.
|
virtual |
Returns value of equation in brief at the top of this file.
Implements BDSModulator.
Definition at line 44 of file BDSModulatorSinT.cc.
|
virtual |
Return the wavelength / 20 of the oscillator.
Implements BDSModulator.
Definition at line 51 of file BDSModulatorSinT.cc.
|
inlinevirtual |
Each derived class should override this.
Implements BDSModulator.
Definition at line 48 of file BDSModulatorSinT.hh.
|
private |
Definition at line 54 of file BDSModulatorSinT.hh.
|
private |
Definition at line 57 of file BDSModulatorSinT.hh.
|
private |
Definition at line 55 of file BDSModulatorSinT.hh.
|
private |
Definition at line 58 of file BDSModulatorSinT.hh.
|
private |
Definition at line 56 of file BDSModulatorSinT.hh.