Main Page | Class Hierarchy | Alphabetical List | Data Structures | File List | Data Fields | Globals

TDSPStochasticProcess Class Reference

#include <TDSPStatistics.h>

Inheritance diagram for TDSPStochasticProcess:

TDSPRating TDSPStochasticScalar TDSPStochasticSignal

Public Member Functions

 TDSPStochasticProcess ()
virtual ~TDSPStochasticProcess ()
void SetMode (eStochasticType mode)
Int_t GetMode (eStochasticType mode)
Bool_t SetRepresentation (Double_t rate=1)
void SetMean (Double_t mean)
void SetSigma (Double_t sigma)
void SetSigmas (Double_t sigma, Int_t index=0)
void SetSigmas (TComplex sigma, Int_t index=0)
void SetMeans (Double_t mean, Int_t index=0)
void SetMeans (TComplex mean, Int_t index=0)
virtual Double_t SER (Double_t SNR, TDSPSymbolGenerator *)
TComplex GetSigmas (Int_t index=0)
TComplex GetMeans (Int_t index=0)
virtual void Reset ()=0

Protected Member Functions

virtual void ChangeRepresentation ()
 (means)/offsets of Stochastic Signals(additiv) / or the filter input


Protected Attributes

eStochasticType fMode
TComplexfSigmas
TComplexfMeans

Constructor & Destructor Documentation

TDSPStochasticProcess::TDSPStochasticProcess  ) 
 

virtual TDSPStochasticProcess::~TDSPStochasticProcess  )  [virtual]
 


Member Function Documentation

virtual void TDSPStochasticProcess::ChangeRepresentation  )  [inline, protected, virtual]
 

(means)/offsets of Stochastic Signals(additiv) / or the filter input

Reimplemented in TDSPStochasticScalar, and TDSPStochasticSignal.

Definition at line 61 of file TDSPStatistics.h.

Referenced by SetRepresentation().

00061 {}; // This function has really to change the Representation

TComplex TDSPStochasticProcess::GetMeans Int_t  index = 0  )  [inline]
 

Definition at line 92 of file TDSPStatistics.h.

References fMeans.

00092 { return fMeans[index];};  // Get Means for Gaussian Process

Int_t TDSPStochasticProcess::GetMode eStochasticType  mode  )  [inline]
 

Definition at line 70 of file TDSPStatistics.h.

References fMode.

00070 { return fMode;}; // Get the Stochatistic Mode 

TComplex TDSPStochasticProcess::GetSigmas Int_t  index = 0  )  [inline]
 

Definition at line 91 of file TDSPStatistics.h.

References fSigmas.

00091 { return fSigmas[index];}; // Get Sigmas for Gaussian Process

virtual void TDSPStochasticProcess::Reset  )  [pure virtual]
 

Implemented in TDSPStochasticScalar, and TDSPStochasticSignal.

virtual Double_t TDSPStochasticProcess::SER Double_t  SNR,
TDSPSymbolGenerator
[virtual]
 

void TDSPStochasticProcess::SetMean Double_t  mean  )  [inline]
 

Definition at line 75 of file TDSPStatistics.h.

References fMeans.

00076     { fMeans[0]  = mean;};

void TDSPStochasticProcess::SetMeans TComplex  mean,
Int_t  index = 0
[inline]
 

Definition at line 85 of file TDSPStatistics.h.

References fMeans.

00086     { fMeans[index] = mean; };  

void TDSPStochasticProcess::SetMeans Double_t  mean,
Int_t  index = 0
[inline]
 

Definition at line 83 of file TDSPStatistics.h.

References fMeans.

00084     { fMeans[index] = mean; };   

void TDSPStochasticProcess::SetMode eStochasticType  mode  )  [inline]
 

Reimplemented in TDSPStochasticScalar.

Definition at line 69 of file TDSPStatistics.h.

References fMode.

00069 { fMode = mode;}; // Set the Stochatistic Mode                   

Bool_t TDSPStochasticProcess::SetRepresentation Double_t  rate = 1  )  [inline]
 

Definition at line 218 of file TDSPStatistics.h.

References ChangeRepresentation(), TDSPRating::IsRate(), TDSPRating::Next(), and TDSPRating::PrepareRate().

00218                                                                     {
00219   
00220   Bool_t RepresentationChanged = kFALSE;
00221   // Prepare the Rating of the Stochastic Process 
00222   // to use the the given rating "rate" of the input signal
00223   //
00224   PrepareRate(rate);
00225   
00226   // Do we have to change the Representation now ?
00227   //
00228 
00229   if ((RepresentationChanged = IsRate())) ChangeRepresentation();
00230   
00231   // Next Entry
00232   //
00233   
00234   Next();
00235 
00236 
00237   return RepresentationChanged; 
00238 
00239 }

void TDSPStochasticProcess::SetSigma Double_t  sigma  )  [inline]
 

Definition at line 77 of file TDSPStatistics.h.

References fSigmas.

00078     { fSigmas[0] = TComplex(sigma,sigma);};         

void TDSPStochasticProcess::SetSigmas TComplex  sigma,
Int_t  index = 0
[inline]
 

Definition at line 81 of file TDSPStatistics.h.

References fSigmas.

00082     { fSigmas[index] = sigma; };  

void TDSPStochasticProcess::SetSigmas Double_t  sigma,
Int_t  index = 0
[inline]
 

Definition at line 79 of file TDSPStatistics.h.

References fSigmas.

00080     { fSigmas[index] = TComplex(sigma,sigma); };   


Field Documentation

TComplex* TDSPStochasticProcess::fMeans [protected]
 

Definition at line 58 of file TDSPStatistics.h.

Referenced by TDSPStochasticSignal::ChangeRepresentation(), TDSPStochasticScalar::ChangeRepresentation(), GetMeans(), SetMean(), and SetMeans().

eStochasticType TDSPStochasticProcess::fMode [protected]
 

Definition at line 55 of file TDSPStatistics.h.

Referenced by TDSPStochasticSignal::ChangeRepresentation(), TDSPStochasticScalar::ChangeRepresentation(), GetMode(), TDSPStochasticScalar::PrepareRate(), and SetMode().

TComplex* TDSPStochasticProcess::fSigmas [protected]
 

Definition at line 57 of file TDSPStatistics.h.

Referenced by TDSPStochasticSignal::ChangeRepresentation(), TDSPStochasticScalar::ChangeRepresentation(), GetSigmas(), SetSigma(), and SetSigmas().


The documentation for this class was generated from the following file:
Generated on Fri Apr 23 16:24:11 2004 by doxygen 1.3.2