1 #ifndef _RdChannelBeaconSimulator_h_
2 #define _RdChannelBeaconSimulator_h_
4 #include <fwk/VModule.h>
5 #include <revt/Channel.h>
6 #include <utl/TimeInterval.h>
This module simulates the beacon and the GPS time jitter.
int fTimeJitter
Simulate GPS time jitter.
RdChannelBeaconSimulator()
fwk::VModule::ResultFlag Run(evt::Event &event)
Run: invoked once per event.
void timeShift(revt::Channel &, const utl::TimeInterval &) const
shifts the trace in time by multiplying a phasegradient to the spectrum
fwk::VModule::ResultFlag Finish()
Finish: invoked at end of the run (NOT end of the event)
std::string fOutputShiftFile
Name of file for ASCII output of shifts (not needed for normal analysis)
std::vector< double > fBeaconFrequencies
Vector of frequencies to simulate.
REGISTER_MODULE("RdChannelBeaconSimulator", RdChannelBeaconSimulator)
A TimeInterval is used to represent time elapsed between two events.
ResultFlag
Flag returned by module methods to the RunController.
fwk::VModule::ResultFlag Init()
Initialize: invoked at beginning of run (NOT beginning of event)
double fTimeJitterMean
Mean of gaussian distibution for the time jitter.
Class that holds the data associated to an individual radio channel.
double fAmplitude
Amplitude of beacon signal.
void RemoveDCOffset(revt::ChannelTimeSeries &)
DC Offset subtraction.
virtual ~RdChannelBeaconSimulator()
std::vector< double > fBeaconPosition
Vector for the position of the beacon.