CMS 3D CMS Logo

Public Member Functions | Protected Member Functions | Protected Attributes

RooFermi Class Reference

#include <HZZ2L2QRooPdfs.h>

List of all members.

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

Referenced by clone().

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

Definition at line 129 of file HZZ2L2QRooPdfs.cc.

                      :
   RooAbsPdf(name,title), 
   x("x","x",this,_x),
   cutOff("cutOff","cutOff",this,_cutOff),
   beta("beta","beta",this,_beta)
 { 
 } 
RooFermi::RooFermi ( const RooFermi other,
const char *  name = 0 
)

Definition at line 142 of file HZZ2L2QRooPdfs.cc.

                                                           :  
   RooAbsPdf(other,name), 
   x("x",this,other.x),
   cutOff("cutOff",this,other.cutOff),
   beta("beta",this,other.beta)

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

Definition at line 83 of file HZZ2L2QRooPdfs.h.

{ }

Member Function Documentation

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

Definition at line 82 of file HZZ2L2QRooPdfs.h.

References RooFermi().

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

 { 
   return 1.0/(exp((cutOff-x)/beta)+1);
 } 

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]

Definition at line 87 of file HZZ2L2QRooPdfs.h.

Referenced by evaluate().