#include <BeamDipole.hh>
Collaboration diagram for clBeamDipole:

Public Member Functions | |
| clBeamDipole (clArrayDipole *, GDT, int, long, bool) | |
| Constructor. | |
| ~clBeamDipole () | |
| bool | AddData () |
| Add data to integration buffers. | |
| GDT | Process (GDT) |
| Process data in integration buffers and return result. | |
| void | SetHistory () |
| Set history part of buffer. | |
| GDT | GetPeakLevel () |
| Get peak level (in dB) of integration buffer. | |
| GDT | GetIntegrationTime () |
| Get real integration time. | |
Private Attributes | |
| bool | bDebug |
| long | lSampleCount |
| Sample count for specified integration time. | |
| long | lBaseIdx |
| Starting index = maximum delay. | |
| long | lWinSize |
| Window size (input data). | |
| GDT | fIntTime |
| Integration time in seconds. | |
| clDSPAlloc | Data [2] |
| Data buffers for integration. | |
| clDSPOp | DSP |
| clDSPOp | DSPBank [2] |
| clArrayDipole * | Array |
Definition at line 36 of file BeamDipole.hh.
|
||||||||||||||||||||||||
|
Constructor.
Definition at line 38 of file BeamDipole.cc. References Array, bDebug, Data, DSPBank, fIntTime, GDT, clArrayDipole::GetMaxDelay(), lBaseIdx, lSampleCount, and lWinSize. |
|
|
Definition at line 68 of file BeamDipole.cc. |
|
|
Add data to integration buffers. Call this after calling clArrayDipole::AddData() Returns >= 1 when integration buffers are full and ready to be processed by Process(), call until returns 0 before calling clArrayDipole::AddData() again.
Definition at line 73 of file BeamDipole.cc. References Array, Data, DSPBank, GDT, clArrayDipole::GetFiltPtr(), lBaseIdx, lSampleCount, and lWinSize. Referenced by clDirection::ProcessData(). |
|
|
Process data in integration buffers and return result. This can be called many times for different directions.
Definition at line 90 of file BeamDipole.cc. References Array, Data, GDT, clArrayDipole::GetDelaySamples(), lBaseIdx, and lSampleCount. Referenced by clDirection::CalcDipoleBeams(). |
|
|
Set history part of buffer. Call this between last call of Process() and next call of AddData(), this will copy data from end of integration buffer to start of integration buffer. Definition at line 125 of file BeamDipole.cc. References Data, DSPBank, GDT, lBaseIdx, and lSampleCount. Referenced by clDirection::CalcDipoleBeams(). |
|
|
Get peak level (in dB) of integration buffer.
Definition at line 139 of file BeamDipole.cc. References Data, DIR_DB_SCALE, DSPBank, GDT, lBaseIdx, and lSampleCount. Referenced by clDirection::ProcessData(). |
|
|
Get real integration time.
Definition at line 98 of file BeamDipole.hh. Referenced by clDirection::InitArray(). |
|
|
Definition at line 38 of file BeamDipole.hh. Referenced by clBeamDipole(). |
|
|
Sample count for specified integration time.
Definition at line 39 of file BeamDipole.hh. Referenced by AddData(), clBeamDipole(), GetPeakLevel(), Process(), and SetHistory(). |
|
|
Starting index = maximum delay.
Definition at line 40 of file BeamDipole.hh. Referenced by AddData(), clBeamDipole(), GetPeakLevel(), Process(), and SetHistory(). |
|
|
Window size (input data).
Definition at line 41 of file BeamDipole.hh. Referenced by AddData(), and clBeamDipole(). |
|
|
Integration time in seconds.
Definition at line 42 of file BeamDipole.hh. Referenced by clBeamDipole(), and GetIntegrationTime(). |
|
|
Data buffers for integration.
Definition at line 43 of file BeamDipole.hh. Referenced by AddData(), clBeamDipole(), GetPeakLevel(), Process(), and SetHistory(). |
|
|
Definition at line 44 of file BeamDipole.hh. |
|
|
Definition at line 45 of file BeamDipole.hh. Referenced by AddData(), clBeamDipole(), GetPeakLevel(), and SetHistory(). |
|
|
Definition at line 46 of file BeamDipole.hh. Referenced by AddData(), clBeamDipole(), and Process(). |
1.3.3