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

#include <HZZ2L2QRooPdfs.h>

Inheritance diagram for RooLevelledExp:

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

Definition at line 263 of file HZZ2L2QRooPdfs.cc.

Referenced by clone().

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

270  :
271  RooAbsPdf(name,title),
272  x("x","x",this,_x),
273  sigma("sigma","sigma",this,_sigma),
274  alpha("alpha","alpha",this,_alpha),
275  m("m","m",this,_m),
276  // k("k","k",this,_k),
277  theta("theta","theta",this,_theta)
278 {
279 }
RooRealProxy m
RooRealProxy sigma
RooRealProxy x
RooRealProxy alpha
RooRealProxy theta
RooLevelledExp::RooLevelledExp ( const RooLevelledExp other,
const char *  name = 0 
)

Definition at line 281 of file HZZ2L2QRooPdfs.cc.

281  :
282  RooAbsPdf(other,name),
283  x("x",this,other.x),
284  sigma("sigma",this,other.sigma),
285  alpha("alpha",this,other.alpha),
286  m("m",this,other.m),
287  theta("theta",this,other.theta)
288 {
289 }
RooRealProxy m
RooRealProxy sigma
RooRealProxy x
RooRealProxy alpha
RooRealProxy theta
virtual RooLevelledExp::~RooLevelledExp ( )
inlinevirtual

Definition at line 173 of file HZZ2L2QRooPdfs.h.

173 { }

Member Function Documentation

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

Definition at line 172 of file HZZ2L2QRooPdfs.h.

References RooLevelledExp().

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

292 {
293  double res=0.0;
294  double s = cos(theta)*sigma - sin(theta)*alpha;
295  double a = sin(theta)*sigma + cos(theta)*alpha;
296 
297  //original
298  double t = fabs(x-m);
299  double den = (s + a*t);
300  res=exp(-1.0*t/den);
301 
302 
303  return res;
304 }
RooRealProxy m
RooRealProxy sigma
Sin< T >::type sin(const T &t)
Definition: Sin.h:22
RooRealProxy x
Cos< T >::type cos(const T &t)
Definition: Cos.h:22
double a
Definition: hdecay.h:121
RooRealProxy alpha
RooRealProxy theta

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