CLHEP VERSION Reference Documentation
CLHEP Home Page
CLHEP Documentation
CLHEP Bug Reports
Main Page
Namespaces
Classes
Files
File List
File Members
GenericFunctions
CLHEP
GenericFunctions
CLHEP/GenericFunctions/SphericalNeumann.hh
Go to the documentation of this file.
1
// -*- C++ -*-
2
// $Id: SphericalNeumann.hh,v 1.2 2003/09/06 14:04:13 boudreau Exp $
3
//---------------------SphericalNeumann-------------------------------------//
4
// //
5
// Class SphericalNeumann. An spherical neumann function of integral order //
6
// Joe Boudreau, Petar Maksimovic, January 2000 //
7
// //
8
//--------------------------------------------------------------------------//
9
#ifndef SphericalNeumann_h
10
#define SphericalNeumann_h 1
11
#include "
CLHEP/GenericFunctions/AbsFunction.hh
"
12
#include "
CLHEP/GenericFunctions/Parameter.hh
"
13
namespace
Genfun {
14
19
class
SphericalNeumann
:
public
AbsFunction
{
20
21
FUNCTION_OBJECT_DEF
(
SphericalNeumann
)
22
23
public
:
24
25
// Constructor
26
SphericalNeumann
(
unsigned
int
l
);
27
28
// Copy constructor
29
SphericalNeumann
(
const
SphericalNeumann
&right);
30
31
// Destructor
32
virtual
~SphericalNeumann
();
33
34
// Retreive function value
35
virtual
double
operator ()
(
double
argument)
const
;
36
virtual
double
operator ()
(
const
Argument
&
a
)
const
{
return
operator()
(a[0]);}
37
38
// Get the integer variable l
39
unsigned
int
l
()
const
;
40
41
private
:
42
43
// It is illegal to assign an adjustable constant
44
const
SphericalNeumann
& operator=(
const
SphericalNeumann
&right);
45
46
// Here is the decay constant
47
unsigned
int
_l;
48
49
// Here is the "work function"
50
const
AbsFunction
*_function;
51
52
// This function is needed in all constructors:
53
void
create();
54
55
};
56
}
// namespace Genfun
57
#include "CLHEP/GenericFunctions/SphericalNeumann.icc"
58
#endif
Generated on Sun Jun 17 2012 08:08:27 for CLHEP by
1.8.1.1