CLHEP VERSION Reference Documentation
   
CLHEP Home Page     CLHEP Documentation     CLHEP Bug Reports

SphericalNeumann.hh

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 // $Id: SphericalNeumann.hh,v 1.2 2003/09/06 14:04:13 boudreau Exp $
00003 //---------------------SphericalNeumann-------------------------------------//
00004 //                                                                          //
00005 // Class SphericalNeumann.  An spherical neumann function of integral order //
00006 // Joe Boudreau, Petar Maksimovic, January 2000                             //
00007 //                                                                          //
00008 //--------------------------------------------------------------------------//
00009 #ifndef SphericalNeumann_h
00010 #define SphericalNeumann_h 1
00011 #include "CLHEP/GenericFunctions/AbsFunction.hh"
00012 #include "CLHEP/GenericFunctions/Parameter.hh"
00013 namespace Genfun {
00014 
00019   class SphericalNeumann : public AbsFunction  {
00020 
00021     FUNCTION_OBJECT_DEF(SphericalNeumann)
00022 
00023       public:
00024 
00025     // Constructor
00026     SphericalNeumann(unsigned int l);
00027 
00028     // Copy constructor
00029     SphericalNeumann(const SphericalNeumann &right);
00030   
00031     // Destructor
00032     virtual ~SphericalNeumann();
00033   
00034     // Retreive function value
00035     virtual double operator ()(double argument) const;
00036     virtual double operator ()(const Argument & a) const {return operator() (a[0]);}
00037   
00038     // Get the integer variable l
00039     unsigned int l() const;
00040 
00041   private:
00042 
00043     // It is illegal to assign a spherical neumann
00044     const SphericalNeumann & operator=(const SphericalNeumann &right);
00045 
00046     // Here is the index
00047     unsigned int _l;
00048   
00049   };
00050 } // namespace Genfun
00051 #include "CLHEP/GenericFunctions/SphericalNeumann.icc"
00052 #endif

Generated on 15 Nov 2012 for CLHEP by  doxygen 1.4.7