19#ifndef BDSFIELDESINUSOID_H
20#define BDSFIELDESINUSOID_H
22#include "BDSFieldE.hh"
25#include "G4ThreeVector.hh"
47 const G4ThreeVector& unitDirectionIn,
49 G4double phaseOffsetIn,
50 G4double synchronousTIn);
57 virtual G4ThreeVector
GetField(
const G4ThreeVector& position,
58 const G4double t)
const;
Holder for all Geometrical information required to create an RF cavity.
A sinusoidal electric (only) field that doesn't vary with position. Uses cosine.
G4double angularFrequency
Angular frequency of field.
virtual G4ThreeVector GetField(const G4ThreeVector &position, const G4double t) const
Accessor for field value.
virtual G4bool TimeVarying() const
const G4ThreeVector unitDirection
Peak amplitude of electric field.
G4double synchronousT
Global T offset for 0 phase.
Interface for BDSIM electric fields that may or may not be local.
Efficient storage of magnet strengths.