| Last change
 on this file since 639 was             607, checked in by ansari, 26 years ago | 
        
          | 
Modifs preparatoire pour Garching MAP , Reza 20/11/99
 | 
        
          | File size:
            1.1 KB | 
      
      
| Rev | Line |  | 
|---|
| [601] | 1 | // This may look like C code, but it is really -*- C++ -*- | 
|---|
|  | 2 | //-------------------------------------------------------------------------- | 
|---|
|  | 3 | // File and Version Information: | 
|---|
| [607] | 4 | //      $Id: squarefilt.h,v 1.2 1999-11-20 21:00:54 ansari Exp $ | 
|---|
| [601] | 5 | // | 
|---|
|  | 6 | // Description: | 
|---|
|  | 7 | // | 
|---|
|  | 8 | // History (add to end): | 
|---|
|  | 9 | //      Sophie   Oct, 1999  - creation | 
|---|
|  | 10 | // | 
|---|
|  | 11 | //------------------------------------------------------------------------ | 
|---|
|  | 12 |  | 
|---|
|  | 13 | #ifndef SQUAREFIL_H_SEEN | 
|---|
|  | 14 | #define SQUAREFIL_H_SEEN | 
|---|
|  | 15 |  | 
|---|
|  | 16 | //---------------------- | 
|---|
|  | 17 | // Base Class Headers -- | 
|---|
|  | 18 | //---------------------- | 
|---|
|  | 19 | #include "specresp.h" | 
|---|
|  | 20 |  | 
|---|
|  | 21 | //------------------------------------ | 
|---|
|  | 22 | // Collaborating Class Declarations -- | 
|---|
|  | 23 | //------------------------------------ | 
|---|
|  | 24 |  | 
|---|
|  | 25 | //              --------------------- | 
|---|
|  | 26 | //              -- Class Interface -- | 
|---|
|  | 27 | //              --------------------- | 
|---|
|  | 28 |  | 
|---|
|  | 29 | class SquareFilter:public SpectralResponse | 
|---|
|  | 30 | { | 
|---|
|  | 31 | public: | 
|---|
|  | 32 | //Constructors | 
|---|
|  | 33 | SquareFilter (double numin, double numax); | 
|---|
|  | 34 |  | 
|---|
|  | 35 |  | 
|---|
|  | 36 | // destructor | 
|---|
|  | 37 | virtual ~SquareFilter(); | 
|---|
|  | 38 |  | 
|---|
|  | 39 | // | 
|---|
|  | 40 | //  Function members | 
|---|
|  | 41 | // | 
|---|
|  | 42 |  | 
|---|
|  | 43 | virtual double transmission(double) const; | 
|---|
|  | 44 | virtual double peakFreq() const; | 
|---|
|  | 45 | virtual double peakTransmission() const; | 
|---|
|  | 46 |  | 
|---|
|  | 47 | protected: | 
|---|
|  | 48 | double _peakTransmission; | 
|---|
|  | 49 | double _nuPeak; | 
|---|
|  | 50 | }; | 
|---|
|  | 51 |  | 
|---|
|  | 52 |  | 
|---|
|  | 53 | #endif | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.