#include <LofarDemon.hh>
Collaboration diagram for clLofarDemon:

Public Member Functions | |
| clLofarDemon (int, int) | |
| ~clLofarDemon () | |
| int | Exec () |
Public Attributes | |
| volatile bool | bRun |
Private Member Functions | |
| bool | GetRequestMsg () |
| bool | GetDataHdr () |
| bool | Initialize () |
| bool | InitFilter () |
| bool | InitFFT () |
| int | MainLoop () |
| void | CalcSpect () |
| bool | SendResults () |
| void | PutData (GDT *, long) |
| bool | PullData (GDT *, long) |
| void | DemonProc (GDT *, long) |
| void | SpectStdDev (GDT *) |
Private Attributes | |
| bool | bReverseOrder |
| int | iFilterType |
| int | iDCBlock |
| int | iNormIdx |
| int | iNormHistCount |
| long | lFilterSize |
| long | lDecimation |
| long | lDemonDecimation |
| long | lWinSize |
| long | lSpectSize |
| long | lNewDataSize |
| long | lOldDataSize |
| long | lAvgCntr |
| long | lHistCntr |
| GDT * | fpWinFunc |
| GDT * | fpDataBuf |
| GDT * | fpSpectRes |
| GDT * | fpLofarRes |
| GDT * | fpNormHist |
| stRawDataFirst | sDataHdr |
| stLofarReq | sLofarRq |
| stLofarRes | sLofarResHdr |
| clDSPAlloc | WinFunc |
| clDSPAlloc | DataBuf |
| clDSPAlloc | SpectRes |
| clDSPAlloc | LofarRes |
| clDSPAlloc | HistoryBuf |
| clDSPAlloc | NormHist |
| clCfgFile | Cfg |
| clDSPOp | DSP |
| clLofarMsg | LofarMsg |
| clReBuffer | ReBuffer |
| This is used instead of decimator if decimation factor is < 2. | |
| clRecDecimator | Decimator |
| This is always the last decimation. | |
| clRecDecimator | DemonDecimator |
| DEMON BP decimation. | |
| clIIRCascade | DCBlockIIR |
| DC notch for DEMON. | |
| clFlipBand | FlipBand |
| Odd frequency band flipping. | |
| clRemoveNoise | RemoveNoise |
| clSockClie | SockClie |
| clSockOp | SOpRequest |
| clSockOp | SOpResult |
| clSockOp | SOpData |
Definition at line 47 of file LofarDemon.hh.
|
||||||||||||
|
Definition at line 758 of file LofarDemon.cc. References bRun, fpDataBuf, _stLofarRes::fPeakLevel, fpLofarRes, fpSpectRes, fpWinFunc, lAvgCntr, lHistCntr, clSockOp::SetHandle(), sLofarResHdr, SOpRequest, and SOpResult. |
|
|
Definition at line 773 of file LofarDemon.cc. |
|
|
Definition at line 104 of file LofarDemon.cc. References clLofarMsg::GetRequest(), GLOBAL_HEADER_LEN, LOFAR_REQ_TIMEOUT, LofarMsg, clSockOp::ReadN(), clSockOp::ReadSelect(), sLofarRq, and SOpRequest. Referenced by Exec(). |
|
|
Definition at line 117 of file LofarDemon.cc. References Cfg, clSockClie::Connect(), clCfgFile::GetStr(), _stLofarReq::iChannel, _stRawDataReq::iChannel, LOFAR_RAW1ST_TIMEOUT, clSockOp::ReadN(), clSockOp::ReadSelect(), SD_CFGFILE, sDataHdr, clCfgFile::SetFileName(), clSockOp::SetHandle(), sLofarRq, SockClie, SOpData, and clSockOp::WriteN(). Referenced by Exec(). |
|
|
Definition at line 141 of file LofarDemon.cc. References Cfg, InitFFT(), InitFilter(), LOFAR_CFGFILE, and clCfgFile::SetFileName(). Referenced by Exec(). |
|
|
Definition at line 150 of file LofarDemon.cc. References bDebug, _stLofarReq::bDemon, bReverseOrder, Cfg, DCBlockIIR, Decimator, DemonDecimator, _stRawDataFirst::dSampleRate, _stLofarRes::fDemonBand, _stLofarRes::fHighFreq, _stLofarReq::fHighFreq, FlipBand, _stLofarRes::fLowFreq, _stLofarReq::fLowFreq, GDT, clCfgFile::GetInt(), iDCBlock, iFilterType, lDecimation, lDemonDecimation, lFilterSize, LOFAR_DEF_DC_BLOCK, LOFAR_DEF_FILTER_SIZE, sDataHdr, sLofarResHdr, and sLofarRq. Referenced by Initialize(). |
|
|
|
Definition at line 348 of file LofarDemon.cc. References bDebug, _stLofarReq::bDemon, bRun, CalcSpect(), _stRawDataFirst::dSampleRate, DSP, _stLofarRes::fLineTime, fpDataBuf, _stLofarRes::fPeakLevel, fpLofarRes, GDT, clSockOp::GetRecvBufSize(), lAvgCntr, _stLofarReq::lAvgCount, lDecimation, lDemonDecimation, lFilterSize, lNewDataSize, lOldDataSize, lSpectSize, _stLofarReq::lWinLength, PullData(), PutData(), clSockOp::ReadN(), sDataHdr, SendResults(), clSockOp::SetRecvBufSize(), sLofarResHdr, sLofarRq, SOpData, and _stLofarRes::sTimeStamp. Referenced by Exec(). |
|
|
|
Definition at line 614 of file LofarDemon.cc. References bDebug, fpLofarRes, GDT, clSockOp::GetErrno(), GLOBAL_HEADER_LEN, LOFAR_TIMEOUT, LofarMsg, lSpectSize, clLofarMsg::SetResult(), sLofarResHdr, SOpResult, clSockOp::WriteN(), and clSockOp::WriteSelect(). Referenced by MainLoop(). |
|
||||||||||||
|
Definition at line 644 of file LofarDemon.cc. References _stLofarReq::bDemon, bReverseOrder, DCBlockIIR, Decimator, DemonDecimator, DSP, FlipBand, iDCBlock, lDecimation, ReBuffer, and sLofarRq. Referenced by MainLoop(). |
|
||||||||||||
|
Definition at line 694 of file LofarDemon.cc. References _stLofarReq::bDemon, bReverseOrder, Decimator, FlipBand, lDecimation, ReBuffer, and sLofarRq. Referenced by MainLoop(). |
|
||||||||||||
|
Definition at line 718 of file LofarDemon.cc. |
|
|
Definition at line 729 of file LofarDemon.cc. References DSP, GDT, HistoryBuf, lHistCntr, _stLofarReq::lMeanLength, lSpectSize, and sLofarRq. Referenced by CalcSpect(). |
|
|
Definition at line 778 of file LofarDemon.cc. References bDebug, GetDataHdr(), GetRequestMsg(), Initialize(), and MainLoop(). Referenced by main(). |
|
|
Definition at line 49 of file LofarDemon.hh. Referenced by InitFilter(), PullData(), and PutData(). |
|
|
Definition at line 50 of file LofarDemon.hh. Referenced by InitFilter(). |
|
|
Definition at line 51 of file LofarDemon.hh. Referenced by InitFilter(), and PutData(). |
|
|
Definition at line 52 of file LofarDemon.hh. Referenced by CalcSpect(), and InitFFT(). |
|
|
Definition at line 53 of file LofarDemon.hh. Referenced by CalcSpect(), and InitFFT(). |
|
|
Definition at line 54 of file LofarDemon.hh. Referenced by InitFilter(), and MainLoop(). |
|
|
Definition at line 55 of file LofarDemon.hh. Referenced by InitFilter(), MainLoop(), PullData(), and PutData(). |
|
|
Definition at line 56 of file LofarDemon.hh. Referenced by InitFilter(), and MainLoop(). |
|
|
Definition at line 57 of file LofarDemon.hh. Referenced by CalcSpect(), and InitFFT(). |
|
|
Definition at line 58 of file LofarDemon.hh. Referenced by CalcSpect(), InitFFT(), MainLoop(), SendResults(), and SpectStdDev(). |
|
|
Definition at line 59 of file LofarDemon.hh. Referenced by InitFFT(), and MainLoop(). |
|
|
Definition at line 60 of file LofarDemon.hh. Referenced by InitFFT(), and MainLoop(). |
|
|
Definition at line 61 of file LofarDemon.hh. Referenced by CalcSpect(), clLofarDemon(), and MainLoop(). |
|
|
Definition at line 62 of file LofarDemon.hh. Referenced by clLofarDemon(), and SpectStdDev(). |
|
|
Definition at line 63 of file LofarDemon.hh. Referenced by CalcSpect(), clLofarDemon(), and InitFFT(). |
|
|
Definition at line 64 of file LofarDemon.hh. Referenced by CalcSpect(), clLofarDemon(), InitFFT(), and MainLoop(). |
|
|
Definition at line 65 of file LofarDemon.hh. Referenced by CalcSpect(), clLofarDemon(), and InitFFT(). |
|
|
Definition at line 66 of file LofarDemon.hh. Referenced by CalcSpect(), clLofarDemon(), InitFFT(), MainLoop(), and SendResults(). |
|
|
Definition at line 67 of file LofarDemon.hh. Referenced by CalcSpect(), and InitFFT(). |
|
|
Definition at line 68 of file LofarDemon.hh. Referenced by GetDataHdr(), InitFilter(), and MainLoop(). |
|
|
Definition at line 69 of file LofarDemon.hh. Referenced by CalcSpect(), GetDataHdr(), GetRequestMsg(), InitFFT(), InitFilter(), MainLoop(), PullData(), PutData(), and SpectStdDev(). |
|
|
Definition at line 70 of file LofarDemon.hh. Referenced by CalcSpect(), clLofarDemon(), InitFFT(), InitFilter(), MainLoop(), and SendResults(). |
|
|
Definition at line 71 of file LofarDemon.hh. Referenced by InitFFT(). |
|
|
Definition at line 72 of file LofarDemon.hh. Referenced by InitFFT(). |
|
|
Definition at line 73 of file LofarDemon.hh. Referenced by InitFFT(). |
|
|
Definition at line 74 of file LofarDemon.hh. Referenced by InitFFT(). |
|
|
Definition at line 75 of file LofarDemon.hh. Referenced by InitFFT(), and SpectStdDev(). |
|
|
Definition at line 76 of file LofarDemon.hh. Referenced by InitFFT(). |
|
|
Definition at line 77 of file LofarDemon.hh. Referenced by GetDataHdr(), InitFFT(), InitFilter(), and Initialize(). |
|
|
Definition at line 78 of file LofarDemon.hh. Referenced by CalcSpect(), InitFFT(), MainLoop(), PutData(), and SpectStdDev(). |
|
|
Definition at line 79 of file LofarDemon.hh. Referenced by GetRequestMsg(), and SendResults(). |
|
|
This is used instead of decimator if decimation factor is < 2.
Definition at line 80 of file LofarDemon.hh. Referenced by PullData(), and PutData(). |
|
|
This is always the last decimation.
Definition at line 81 of file LofarDemon.hh. Referenced by InitFilter(), PullData(), and PutData(). |
|
|
DEMON BP decimation.
Definition at line 82 of file LofarDemon.hh. Referenced by InitFilter(), and PutData(). |
|
|
DC notch for DEMON.
Definition at line 83 of file LofarDemon.hh. Referenced by InitFilter(), and PutData(). |
|
|
Odd frequency band flipping.
Definition at line 84 of file LofarDemon.hh. Referenced by InitFilter(), PullData(), and PutData(). |
|
|
Definition at line 85 of file LofarDemon.hh. Referenced by CalcSpect(). |
|
|
Definition at line 86 of file LofarDemon.hh. Referenced by GetDataHdr(). |
|
|
Definition at line 87 of file LofarDemon.hh. Referenced by clLofarDemon(), and GetRequestMsg(). |
|
|
Definition at line 88 of file LofarDemon.hh. Referenced by clLofarDemon(), and SendResults(). |
|
|
Definition at line 89 of file LofarDemon.hh. Referenced by GetDataHdr(), and MainLoop(). |
|
|
Definition at line 103 of file LofarDemon.hh. Referenced by clLofarDemon(), and MainLoop(). |
1.3.3