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

GenericFunctions/SphericalBessel.hh
Go to the documentation of this file.
1// -*- C++ -*-
2// $Id: SphericalBessel.hh,v 1.2 2003/09/06 14:04:13 boudreau Exp $
3//---------------------SphericalBessel--------------------------------------//
4// //
5// Class SphericalBessel. An spherical bessel function of integral order //
6// Joe Boudreau, Petar Maksimovic, January 2000 //
7// //
8//--------------------------------------------------------------------------//
9#ifndef SphericalBessel_h
10#define SphericalBessel_h 1
13namespace Genfun {
14
19 class SphericalBessel : public AbsFunction {
20
22
23 public:
24
25 // Constructor
26 SphericalBessel(unsigned int l);
27
28 // Copy constructor
30
31 // Destructor
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 a spherical bessel
44 const SphericalBessel & operator=(const SphericalBessel &right);
45
46 // Here is the index
47 unsigned int _l;
48
49 };
50} // namespace Genfun
51#include "CLHEP/GenericFunctions/SphericalBessel.icc"
52#endif
#define FUNCTION_OBJECT_DEF(classname)
unsigned int l() const
SphericalBessel(const SphericalBessel &right)
virtual double operator()(double argument) const
SphericalBessel(unsigned int l)
@ a