// This may look like C code, but it is really -*- C++ -*-
//--------------------------------------------------------------------------
// File and Version Information:
//      $Id: squarefilt.h,v 1.5 2000-04-13 08:17:03 ansari Exp $
//
// Description:
//
// History (add to end):
//      Sophie   Oct, 1999  - creation
//
//------------------------------------------------------------------------

#ifndef SQUAREFIL_H_SEEN
#define SQUAREFIL_H_SEEN

//----------------------
// Base Class Headers --
//----------------------
#include "specresp.h"

//------------------------------------
// Collaborating Class Declarations --
//------------------------------------

//              ---------------------
//              -- Class Interface --
//              ---------------------
namespace SOPHYA {
class SquareFilter:public SpectralResponse
{

public:
  //Constructors
  SquareFilter (); 
  SquareFilter (double numin, double numax); 
  

  // destructor
  virtual ~SquareFilter();

  //
  //  Function members
  //

  virtual double transmission(double) const;
  virtual double peakFreq() const;
  virtual double peakTransmission() const;
  

protected:
  double _peakTransmission;
  double _nuPeak;
};

}
#endif
