CLHEP 2.4.6.4
C++ Class Library for High Energy Physics
Loading...
Searching...
No Matches
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
11#include "CLHEP/GenericFunctions/AbsFunction.hh"
12#include "CLHEP/GenericFunctions/Parameter.hh"
13namespace Genfun {
14
15 /**
16 * @author
17 * @ingroup genfun
18 */
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 override;
36 virtual double operator ()(const Argument & a) const override {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)
Definition: AbsFunction.hh:143
unsigned int l() const
virtual double operator()(double argument) const override
SphericalBessel(const SphericalBessel &right)
SphericalBessel(unsigned int l)
Definition: Abs.hh:14