CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Protected Member Functions | Protected Attributes
RooRelBW Class Reference

#include <HZZ2L2QRooPdfs.h>

Inheritance diagram for RooRelBW:

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 ( )

Definition at line 160 of file HZZ2L2QRooPdfs.cc.

Referenced by clone().

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

Definition at line 162 of file HZZ2L2QRooPdfs.cc.

167  :
168  RooAbsPdf(name,title),
169  x("x","x",this,_x),
170  mean("mean","mean",this,_mean),
171  width("width","width",this,_width),
172  n("n","n",this,_n)
173  {
174  }
RooRealProxy width
RooRealProxy mean
RooRealProxy n
RooRealProxy x
RooRelBW::RooRelBW ( const RooRelBW other,
const char *  name = 0 
)

Definition at line 177 of file HZZ2L2QRooPdfs.cc.

177  :
178  RooAbsPdf(other,name),
179  x("x",this,other.x),
180  mean("mean",this,other.mean),
181  width("width",this,other.width),
182  n("n",this,other.n)
183 
184  {
185  }
RooRealProxy width
RooRealProxy mean
RooRealProxy n
RooRealProxy x
virtual RooRelBW::~RooRelBW ( )
inlinevirtual

Definition at line 109 of file HZZ2L2QRooPdfs.h.

109 { }

Member Function Documentation

virtual TObject* RooRelBW::clone ( const char *  newname) const
inlinevirtual

Definition at line 108 of file HZZ2L2QRooPdfs.h.

References RooRelBW().

108 { 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.

190  {
191  return pow(x*x,n)/((x*x-mean*mean)*(x*x-mean*mean)+pow(x*x/(mean*mean),2*n)*mean*mean*width*width);
192  }
RooRealProxy width
RooRealProxy mean
RooRealProxy n
RooRealProxy x
Power< A, B >::type pow(const A &a, const B &b)
Definition: Power.h:40

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
RooRealProxy RooRelBW::x
protected