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

RelativisticBW.hh

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 // $Id: 
00003 //---------------------RelativisticBWDistribution---------------------------//
00004 //                                                                          //
00005 //                                                                          //
00006 // Joe Boudreau, June 2011                                                  //
00007 //                                                                          //
00008 //--------------------------------------------------------------------------//
00009 #ifndef RelativisticBWDistribution_h
00010 #define RelativisticBWDistribution_h 1
00011 #include "CLHEP/GenericFunctions/AbsFunction.hh"
00012 #include "CLHEP/GenericFunctions/Parameter.hh"
00013 #include "CLHEP/GenericFunctions/IncompleteGamma.hh"
00014 namespace Genfun {
00015 
00020   class RelativisticBWDistribution : public AbsFunction  {
00021     
00022     FUNCTION_OBJECT_DEF(RelativisticBWDistribution)
00023       
00024       public:
00025     
00026     // Constructor
00027     RelativisticBWDistribution();
00028     
00029     // Copy constructor
00030     RelativisticBWDistribution(const RelativisticBWDistribution &right);
00031     
00032     // Destructor
00033     virtual ~RelativisticBWDistribution();
00034     
00035     // Retreive function value
00036     virtual double operator ()(double argument) const;
00037     virtual double operator ()(const Argument & a) const {return operator() (a[0]);}
00038     
00039     // Get the paramter alpha
00040     Parameter & mass(); 
00041 
00042     // Get the parameter beta
00043     Parameter & width(); 
00044 
00045     
00046   private:
00047     
00048     // It is illegal to assign an adjustable constant
00049     const RelativisticBWDistribution & operator=(const RelativisticBWDistribution &right);
00050     
00051     // Here are the two parameters alpha and beta:
00052 
00053     Parameter       _mass;
00054     Parameter       _width;
00055 
00056 
00057 
00058   };
00059 } // namespace Genfun
00060 #endif

Generated on 15 Nov 2012 for CLHEP by  doxygen 1.4.7