CMS 3D CMS Logo

Public Member Functions | Protected Member Functions | Protected Attributes

RooLevelledExp Class Reference

#include <HZZ2L2QRooPdfs.h>

List of all members.

Public Member Functions

virtual TObject * clone (const char *newname) const
 RooLevelledExp ()
 RooLevelledExp (const char *name, const char *title, RooAbsReal &_x, RooAbsReal &_sigma, RooAbsReal &_alpha, RooAbsReal &_m, RooAbsReal &_theta)
 RooLevelledExp (const RooLevelledExp &other, const char *name=0)
virtual ~RooLevelledExp ()

Protected Member Functions

Double_t evaluate () const

Protected Attributes

RooRealProxy alpha
RooRealProxy m
RooRealProxy sigma
RooRealProxy theta
RooRealProxy x

Detailed Description

Definition at line 159 of file HZZ2L2QRooPdfs.h.


Constructor & Destructor Documentation

RooLevelledExp::RooLevelledExp ( )

Referenced by clone().

RooLevelledExp::RooLevelledExp ( const char *  name,
const char *  title,
RooAbsReal &  _x,
RooAbsReal &  _sigma,
RooAbsReal &  _alpha,
RooAbsReal &  _m,
RooAbsReal &  _theta 
)

Definition at line 265 of file HZZ2L2QRooPdfs.cc.

                                                  :
  RooAbsPdf(name,title),
  x("x","x",this,_x),
  sigma("sigma","sigma",this,_sigma),
  alpha("alpha","alpha",this,_alpha),
  m("m","m",this,_m),
  //  k("k","k",this,_k),
  theta("theta","theta",this,_theta)
{
}
RooLevelledExp::RooLevelledExp ( const RooLevelledExp other,
const char *  name = 0 
)

Definition at line 281 of file HZZ2L2QRooPdfs.cc.

                                                                            :
  RooAbsPdf(other,name),
  x("x",this,other.x),
  sigma("sigma",this,other.sigma),
  alpha("alpha",this,other.alpha),
  m("m",this,other.m),
  theta("theta",this,other.theta)
{
}
virtual RooLevelledExp::~RooLevelledExp ( ) [inline, virtual]

Definition at line 173 of file HZZ2L2QRooPdfs.h.

{ }

Member Function Documentation

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

Definition at line 172 of file HZZ2L2QRooPdfs.h.

References RooLevelledExp().

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

Definition at line 291 of file HZZ2L2QRooPdfs.cc.

References a, alpha, funct::cos(), create_public_lumi_plots::exp, m, alignCSCRings::s, sigma, funct::sin(), lumiQTWidget::t, theta, and x.

{
  double res=0.0;
  double s = cos(theta)*sigma - sin(theta)*alpha;
  double a = sin(theta)*sigma + cos(theta)*alpha;
    
  //original
  double t = fabs(x-m);
  double den = (s + a*t);
  res=exp(-1.0*t/den);
  

  return res;
}

Member Data Documentation

RooRealProxy RooLevelledExp::alpha [protected]

Definition at line 179 of file HZZ2L2QRooPdfs.h.

Referenced by evaluate().

RooRealProxy RooLevelledExp::m [protected]

Definition at line 180 of file HZZ2L2QRooPdfs.h.

Referenced by evaluate().

RooRealProxy RooLevelledExp::sigma [protected]

Definition at line 178 of file HZZ2L2QRooPdfs.h.

Referenced by evaluate().

RooRealProxy RooLevelledExp::theta [protected]

Definition at line 182 of file HZZ2L2QRooPdfs.h.

Referenced by evaluate().

RooRealProxy RooLevelledExp::x [protected]

Definition at line 177 of file HZZ2L2QRooPdfs.h.

Referenced by evaluate().