00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011 #ifndef Psi2Hydrogen_h
00012 #define Psi2Hydrogen_h 1
00013 #include "CLHEP/GenericFunctions/AbsFunction.hh"
00014 #include "CLHEP/GenericFunctions/Parameter.hh"
00015 #include "CLHEP/config/CLHEP.h"
00016
00017 namespace Genfun {
00018
00019 class Psi2Hydrogen : public AbsFunction {
00020
00021 FUNCTION_OBJECT_DEF(Psi2Hydrogen)
00022
00023 public:
00024
00025
00026 Psi2Hydrogen(unsigned int n, unsigned int l, unsigned int m);
00027
00028
00029 Psi2Hydrogen(const Psi2Hydrogen &right);
00030
00031
00032 virtual ~Psi2Hydrogen();
00033
00034
00035 virtual double operator ()(double argument) const;
00036 virtual double operator ()(const Argument & a) const;
00037
00038
00039 unsigned int n() const;
00040
00041
00042 unsigned int l() const;
00043
00044
00045 unsigned int m() const;
00046
00047 private:
00048
00049
00050 const Psi2Hydrogen & operator=(const Psi2Hydrogen &right);
00051
00052
00053 unsigned int _n;
00054
00055
00056 unsigned int _l;
00057
00058
00059 unsigned int _m;
00060
00061
00062 const AbsFunction *_function;
00063
00064
00065 void create();
00066 };
00067
00068 }
00069
00070
00071
00072 #endif
00073