Last change
on this file since 607 was 607, checked in by ansari, 26 years ago |
Modifs preparatoire pour Garching MAP , Reza 20/11/99
|
File size:
1.4 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: specrespvector.h,v 1.2 1999-11-20 21:00:53 ansari Exp $
|
---|
[601] | 5 | //
|
---|
| 6 | // Description:
|
---|
| 7 | //
|
---|
| 8 | // History (add to end):
|
---|
| 9 | // Sophie Oct, 1999 - creation
|
---|
| 10 | //
|
---|
| 11 | //------------------------------------------------------------------------
|
---|
| 12 | #ifndef SPECRESPVEC_H_SEEN
|
---|
| 13 | #define SPECRESPVEC_H_SEEN
|
---|
| 14 |
|
---|
| 15 | #include "machdefs.h"
|
---|
| 16 | #include <iostream.h>
|
---|
| 17 |
|
---|
| 18 | #include "specresp.h"
|
---|
| 19 | #include "tvector.h"
|
---|
| 20 |
|
---|
| 21 | //------------------------------------
|
---|
| 22 | // Collaborating Class Declarations --
|
---|
| 23 | //------------------------------------
|
---|
| 24 |
|
---|
| 25 | // ---------------------
|
---|
| 26 | // -- Class Interface --
|
---|
| 27 | // ---------------------
|
---|
| 28 |
|
---|
| 29 | // ***IMPORTANT*** All frequencies are expressed in GHz (10^9 Hz)
|
---|
| 30 |
|
---|
| 31 | class SpecRespVec : public SpectralResponse
|
---|
| 32 | {
|
---|
| 33 |
|
---|
| 34 | public:
|
---|
| 35 | //Constructor
|
---|
| 36 | SpecRespVec(Vector const & nu, Vector const & fdenu, double numin=0., double numax=1.);
|
---|
| 37 |
|
---|
| 38 | // destructor
|
---|
| 39 | virtual ~SpecRespVec();
|
---|
| 40 |
|
---|
| 41 | //
|
---|
| 42 | // Member Functions
|
---|
| 43 | //
|
---|
| 44 |
|
---|
| 45 | // The transmission() function is virtual:
|
---|
| 46 | virtual double transmission(double nu) const;
|
---|
| 47 |
|
---|
[607] | 48 | // Acces to Nu and T(nu) vectors
|
---|
| 49 | inline Vector& getNuVec() { return _vecOfNu; }
|
---|
| 50 | inline Vector& getTNuVec() { return _vecOfFDeNu; }
|
---|
| 51 |
|
---|
[601] | 52 | virtual void Print(ostream& os) const;
|
---|
| 53 |
|
---|
| 54 |
|
---|
| 55 | protected:
|
---|
| 56 | Vector _vecOfNu;
|
---|
| 57 | Vector _vecOfFDeNu;
|
---|
| 58 | };
|
---|
| 59 |
|
---|
| 60 |
|
---|
| 61 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.