CMS 3D CMS Logo

Public Member Functions | Protected Member Functions | Protected Attributes

RooRelBW Class Reference

#include <HZZ2L2QRooPdfs.h>

List of all members.

Public Member Functions

virtual TObject * clone (const char *newname) const
 RooRelBW ()
 RooRelBW (const char *name, const char *title, RooAbsReal &_x, RooAbsReal &_mean, RooAbsReal &_width, RooAbsReal &_n)
 RooRelBW (const RooRelBW &other, const char *name=0)
virtual ~RooRelBW ()

Protected Member Functions

Double_t evaluate () const

Protected Attributes

RooRealProxy mean
RooRealProxy n
RooRealProxy width
RooRealProxy x

Detailed Description

Definition at line 98 of file HZZ2L2QRooPdfs.h.


Constructor & Destructor Documentation

RooRelBW::RooRelBW ( )

Referenced by clone().

RooRelBW::RooRelBW ( const char *  name,
const char *  title,
RooAbsReal &  _x,
RooAbsReal &  _mean,
RooAbsReal &  _width,
RooAbsReal &  _n 
)

Definition at line 162 of file HZZ2L2QRooPdfs.cc.

                      :
   RooAbsPdf(name,title), 
   x("x","x",this,_x),
   mean("mean","mean",this,_mean),
   width("width","width",this,_width),
   n("n","n",this,_n)
 { 
 } 
RooRelBW::RooRelBW ( const RooRelBW other,
const char *  name = 0 
)

Definition at line 177 of file HZZ2L2QRooPdfs.cc.

                                                           :  
   RooAbsPdf(other,name), 
   x("x",this,other.x),
   mean("mean",this,other.mean),
   width("width",this,other.width),
   n("n",this,other.n)

 { 
 } 
virtual RooRelBW::~RooRelBW ( ) [inline, virtual]

Definition at line 109 of file HZZ2L2QRooPdfs.h.

{ }

Member Function Documentation

virtual TObject* RooRelBW::clone ( const char *  newname) const [inline, virtual]

Definition at line 108 of file HZZ2L2QRooPdfs.h.

References RooRelBW().

{ return new RooRelBW(*this,newname); }
double RooRelBW::evaluate ( ) const [protected]

Definition at line 189 of file HZZ2L2QRooPdfs.cc.

References mean, n, funct::pow(), width, and x.

 { 
   return pow(x*x,n)/((x*x-mean*mean)*(x*x-mean*mean)+pow(x*x/(mean*mean),2*n)*mean*mean*width*width);
 } 

Member Data Documentation

RooRealProxy RooRelBW::mean [protected]

Definition at line 114 of file HZZ2L2QRooPdfs.h.

Referenced by evaluate().

RooRealProxy RooRelBW::n [protected]

Definition at line 116 of file HZZ2L2QRooPdfs.h.

Referenced by evaluate().

RooRealProxy RooRelBW::width [protected]

Definition at line 115 of file HZZ2L2QRooPdfs.h.

Referenced by evaluate().

RooRealProxy RooRelBW::x [protected]

Definition at line 113 of file HZZ2L2QRooPdfs.h.

Referenced by evaluate().