44 publish(
"name", &Modulator::name);
45 publish(
"type", &Modulator::type);
57 std::cout <<
"modulator: "
58 <<
"name " << name << std::endl
59 <<
"type " << type << std::endl
61 <<
"phase " <<
phase << std::endl
62 <<
"tOffset " <<
tOffset << std::endl
65 <<
"T0 " <<
T0 << std::endl
66 <<
"T1 " <<
T1 << std::endl;
double tOffset
time offset used for phase calculation (ns) for modulator on top of rf cavity
double amplitudeOffset
numerical value added to -1 -> 1 modulator as offset
void print() const
Print some properties.
double frequency
frequency of modulation on top of rf cavity in Hz
void PublishMembers()
publish members
double amplitudeScale
multiplier for amplitude of modulation
double phase
phase of modulation oscillator on top of rf cavity
void publish(const std::string &name, T C::*mp)
Make pointer to member from class C and type T with accessible with a name.
Parser namespace for GMAD language. Combination of Geant4 and MAD.