#include <TDSPFifo.h>
Inheritance diagram for TDSPFifo:

Public Member Functions | |
| TDSPFifo (Int_t depth=0) | |
| virtual | ~TDSPFifo () |
| Int_t | GetIndex (Int_t) |
| Int_t | GetDepth () const |
| Int_t | GetFill () const |
| TComplex * | GetBlock () const |
| Bool_t | WasFull () |
| Bool_t | IsFull () |
| void | Reset () |
| TComplex & | operator() () |
| TComplex & | operator() (Int_t i) |
| TComplex & | operator[] (Int_t i) |
| void | Print () |
| void | Input () |
| Int_t | GetIndex () const |
| void | Next () |
| Int_t | Next (Int_t current) |
| void | Back () |
| Int_t | Back (Int_t current) |
| TComplex & | Shift (Double_t x) |
| TComplex & | Shift (TComplex c) |
| TDSPVector * | Shift (TDSPVector *input, TDSPVector *output) |
| void | FillFrom (TDSPVector *input) |
| TDSPVector * | FillTo (TDSPVector *output=NULL) |
| void | SetDepth (Int_t depth) |
| void | Set (const TComplex &) |
| void | Set (Double_t) |
| void | Zeros () |
| void | Ones () |
| TComplex | Dot (TComplex *fir_vec, Bool_t conj=kTRUE, Int_t l=0) |
| TComplex | Dot (TDSPVector *fir, Bool_t conj=kTRUE) |
| TComplex | Dot (TDSPFifo *fir, Bool_t conj=kTRUE) |
| TDSPVector * | filter (TDSPVector *out, TDSPVector *fir, TDSPVector *iir=NULL) |
| TGraph * | Graph (Option_t *="complex", TGraph *in=NULL, Double_t dx=1.0, Double_t xoff=0.0) |
| void | Draw (Option_t *="", Double_t dx=1.0, Double_t xoff=0.0) |
| TDSPFifo & | operator= (const Double_t x) |
| TDSPFifo & | operator= (const TComplex &c) |
Static Public Member Functions | |
| void | ValuesPerLine (UInt_t p) |
Protected Member Functions | |
| void | Fill () |
| The Fifo Memory itself. | |
Protected Attributes | |
| Int_t | fDepth |
| Int_t | fIndex |
| Int_t | fFill |
| TComplex * | fBlock |
Static Protected Attributes | |
| UInt_t | fPerLine |
Friends | |
| istream & | operator>> (istream &, TDSPFifo &) |
| ostream & | operator<< (ostream &, TDSPFifo &) |
| istream & | operator>> (istream &, TDSPFifo *) |
| ostream & | operator<< (ostream &, TDSPFifo *) |
|
|
|
|
|
|
|
|
Definition at line 107 of file TDSPFifo.h. References fDepth.
00107 {return current ? current-1 : fDepth;} // back with extern cyclic Index
|
|
|
Definition at line 106 of file TDSPFifo.h. References fDepth, and fIndex.
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||||||
|
Definition at line 217 of file TDSPFifo.h. References fFill, and operator()().
00217 {
00218
00219 TComplex tmp = 0;
00220
00221 if (!len) len=fFill;
00222
00223 if (conj)
00224 for(register Int_t j=0;j<len;++j) tmp += operator()(-j-1) % fir_vec[j];
00225 else
00226 for(register Int_t j=0;j<len;++j) tmp += operator()(-j-1) * fir_vec[j];
00227 return tmp;
00228 }
|
|
||||||||||||||||
|
|
|
|
The Fifo Memory itself.
Definition at line 190 of file TDSPFifo.h. References fFill, and WasFull(). Referenced by Shift(), and TDSPBlockFifo::Shift().
|
|
|
|
|
|
|
|
||||||||||||||||
|
Definition at line 157 of file TDSPFifo.h. References filter().
00159 { // Use the fifo-content as a filter input
00160
00161 return ::filter(this,out,fir,iir);
00162
00163 }
|
|
|
Definition at line 82 of file TDSPFifo.h. References fBlock. Referenced by TDSPBlockFifo::Shift().
00082 { return fBlock; }; // return the Block address of the fifo
|
|
|
Definition at line 80 of file TDSPFifo.h. References fDepth.
00080 { return fDepth;}; // return the depth of the fifo
|
|
|
Definition at line 81 of file TDSPFifo.h. References fFill.
00081 { return fFill; }; // return the fill depth of the fifo
|
|
|
Definition at line 102 of file TDSPFifo.h. References fIndex. Referenced by operator()().
00102 { return fIndex; }; // return the actual cyclic index (eq. to GetIndex(0))
|
|
|
Definition at line 173 of file TDSPFifo.h. References fFill, fIndex, and Next().
|
|
||||||||||||||||||||
|
|
|
|
|
|
|
Definition at line 85 of file TDSPFifo.h.
|
|
|
Definition at line 104 of file TDSPFifo.h. References fDepth.
00104 {return current++==fDepth ? 0 : current;} // next with extern cyclic Index
|
|
|
Definition at line 103 of file TDSPFifo.h. References fDepth, and fIndex. Referenced by GetIndex(), Shift(), and TDSPBlockFifo::Shift().
|
|
|
Definition at line 118 of file TDSPFifo.h. References Set().
00118 { Set(1.0);}; // Set all values of the fifo to 1
|
|
|
Definition at line 185 of file TDSPFifo.h. References fBlock, and GetIndex().
|
|
|
Definition at line 164 of file TDSPFifo.h. References fBlock, and fIndex. Referenced by Dot().
|
|
|
Definition at line 133 of file TDSPFifo.h. References Set().
00133 { Set(c); return *this;};
|
|
|
Definition at line 132 of file TDSPFifo.h. References Set().
00132 { Set(x); return *this;};
|
|
|
Definition at line 169 of file TDSPFifo.h. References fBlock.
00169 {
00170 return fBlock[i];
00171 }
|
|
|
|
|
|
|
|
|
Definition at line 235 of file TDSPFifo.h. References fBlock, fDepth, fFill, TComplex::fIm, and TComplex::fRe.
|
|
|
Definition at line 230 of file TDSPFifo.h. References fBlock, fDepth, and fFill. Referenced by Ones(), operator=(), and Zeros().
|
|
|
Reimplemented in TDSPBlockFifo. |
|
||||||||||||
|
|
|
|
Definition at line 195 of file TDSPFifo.h. References ComplexZero, Fill(), Next(), and WasFull().
00195 {
00196 // Put the new Value on the Top
00197 //
00198 (*this)() = c;
00199
00200 // Increase the cyclic index
00201 //
00202 Next();
00203
00204 // Update the Fill Status
00205 //
00206 Fill();
00207
00208 // Checking Fill Status of the Fifo
00209 //
00210 if (!WasFull())
00211 return ComplexZero;
00212
00213 // Return the bottom value
00214 return (*this)();
00215 }
|
|
|
Definition at line 109 of file TDSPFifo.h. Referenced by TDSPFifoFilter::filter().
|
|
|
Definition at line 77 of file TDSPFifo.h. References fPerLine.
00077 { fPerLine = p;}; // How many Values to Print per line (using cout...)
|
|
|
Definition at line 84 of file TDSPFifo.h. Referenced by Fill(), Shift(), and TDSPBlockFifo::Shift().
|
|
|
Definition at line 117 of file TDSPFifo.h. References Set().
00117 { Set(0.0); }; // Set all values of the fifo to 0
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
||||||||||||
|
|
|
|
Definition at line 66 of file TDSPFifo.h. Referenced by GetBlock(), TDSPBlockFifo::GetBlock(), operator()(), operator[](), and Set(). |
|
|
Definition at line 62 of file TDSPFifo.h. Referenced by Back(), GetDepth(), IsFull(), Next(), Set(), and WasFull(). |
|
|
Definition at line 64 of file TDSPFifo.h. Referenced by Dot(), Fill(), GetFill(), GetIndex(), IsFull(), Set(), and WasFull(). |
|
|
Definition at line 63 of file TDSPFifo.h. Referenced by Back(), GetIndex(), Next(), operator()(), and TDSPBlockFifo::Shift(). |
|
|
Definition at line 70 of file TDSPFifo.h. Referenced by ValuesPerLine(). |
1.3.2