00001 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef TDSPJAKES_H 00019 #define TDSPJAKES_H 00020 00021 #include <TMath.h> 00022 #include <TDSPMath.h> 00023 #include <TDSPCorrelationFilter.h> 00024 00030 extern const Double_t SpeedOfLight; 00031 00032 class TDSPJakes : public TDSPCorrelationFilter { 00033 00034 Double_t fSpeed; 00035 Double_t fDopplerFrequency; 00036 Double_t fCarrierFrequency; 00037 00038 public: 00039 TDSPJakes(); 00040 ~TDSPJakes(); 00041 00042 void SetSpeed(Double_t); // Set the Speed in m/s 00043 void SetSpeedKMH(Double_t); // Set the Speed in km/h 00044 void SetCarrierFrequency(Double_t); // Set the Carrier Frequency in Hz 00045 Double_t GetDopplerFrequency(); // Return the Doppler Frequency in Hz 00046 void SetDopplerFrequency(Double_t); // Set direct the Doppler Frequency and correct the speed 00047 00048 Double_t Correlation(Double_t); // Calculates the Correlation for a given time delay 00049 00050 ClassDef(TDSPJakes,1) 00051 00052 }; 00053 00054 #endif
1.3.2