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
RooFermi Class Reference

#include <HZZ2L2QRooPdfs.h>

Inheritance diagram for RooFermi:

Public Member Functions

virtual TObject * clone (const char *newname) const
 
 RooFermi ()
 
 RooFermi (const char *name, const char *title, RooAbsReal &_x, RooAbsReal &_cutOff, RooAbsReal &_beta)
 
 RooFermi (const RooFermi &other, const char *name=0)
 
virtual ~RooFermi ()
 

Protected Member Functions

Double_t evaluate () const
 

Protected Attributes

RooRealProxy beta
 
RooRealProxy cutOff
 
RooRealProxy x
 

Detailed Description

Definition at line 73 of file HZZ2L2QRooPdfs.h.

Constructor & Destructor Documentation

RooFermi::RooFermi ( )

Definition at line 127 of file HZZ2L2QRooPdfs.cc.

Referenced by clone().

127 {}
RooFermi::RooFermi ( const char *  name,
const char *  title,
RooAbsReal &  _x,
RooAbsReal &  _cutOff,
RooAbsReal &  _beta 
)

Definition at line 129 of file HZZ2L2QRooPdfs.cc.

133  :
134  RooAbsPdf(name,title),
135  x("x","x",this,_x),
136  cutOff("cutOff","cutOff",this,_cutOff),
137  beta("beta","beta",this,_beta)
138  {
139  }
RooRealProxy cutOff
RooRealProxy beta
RooRealProxy x
RooFermi::RooFermi ( const RooFermi other,
const char *  name = 0 
)

Definition at line 142 of file HZZ2L2QRooPdfs.cc.

142  :
143  RooAbsPdf(other,name),
144  x("x",this,other.x),
145  cutOff("cutOff",this,other.cutOff),
146  beta("beta",this,other.beta)
147 
148  {
149  }
RooRealProxy cutOff
RooRealProxy beta
RooRealProxy x
virtual RooFermi::~RooFermi ( )
inlinevirtual

Definition at line 83 of file HZZ2L2QRooPdfs.h.

83 { }

Member Function Documentation

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

Definition at line 82 of file HZZ2L2QRooPdfs.h.

References RooFermi().

82 { return new RooFermi(*this,newname); }
double RooFermi::evaluate ( ) const
protected

Definition at line 153 of file HZZ2L2QRooPdfs.cc.

References beta, cutOff, create_public_lumi_plots::exp, and x.

154  {
155  return 1.0/(exp((cutOff-x)/beta)+1);
156  }
RooRealProxy cutOff
RooRealProxy beta
RooRealProxy x

Member Data Documentation

RooRealProxy RooFermi::beta
protected

Definition at line 89 of file HZZ2L2QRooPdfs.h.

Referenced by evaluate().

RooRealProxy RooFermi::cutOff
protected

Definition at line 88 of file HZZ2L2QRooPdfs.h.

Referenced by evaluate().

RooRealProxy RooFermi::x
protected