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

GenericFunctions/NonrelativisticBW.hh
Go to the documentation of this file.
1 // -*- C++ -*-
2 // $Id:
3 //---------------------NonrelativisticBWDistribution------------------------//
4 // //
5 // //
6 // Joe Boudreau, June 2011 //
7 // //
8 //--------------------------------------------------------------------------//
9 #ifndef NonrelativisticBWDistribution_h
10 #define NonrelativisticBWDistribution_h 1
14 namespace Genfun {
15 
20  class NonrelativisticBWDistribution : public AbsFunction {
21 
23 
24  public:
25 
26  // Constructor
28 
29  // Copy constructor
31 
32  // Destructor
34 
35  // Retreive function value
36  virtual double operator ()(double argument) const;
37  virtual double operator ()(const Argument & a) const {return operator() (a[0]);}
38 
39  // Get the paramter alpha
41 
42  // Get the parameter beta
44 
45 
46  private:
47 
48  // It is illegal to assign an adjustable constant
49  const NonrelativisticBWDistribution & operator=(const NonrelativisticBWDistribution &right);
50 
51  // Here are the two parameters alpha and beta:
52 
53  Parameter _mass;
54  Parameter _width;
55 
56 
57 
58  };
59 } // namespace Genfun
60 #endif
#define FUNCTION_OBJECT_DEF(classname)
virtual double operator()(double argument) const
NonrelativisticBWDistribution(const NonrelativisticBWDistribution &right)
@ a