RooKeysPdf Class Reference

#include <RooKeysPdf.h>

Inheritance diagram for RooKeysPdf:

RooAbsPdf RooAbsPdf RooAbsReal RooAbsReal RooAbsReal RooAbsReal RooAbsArg RooAbsArg RooAbsArg RooAbsArg RooAbsArg RooAbsArg RooAbsArg RooAbsArg List of all members.

Public Types

enum  Mirror
enum  Mirror

Public Member Functions

 RooKeysPdf ()
 RooKeysPdf (const char *name, const char *title, RooAbsReal &x, RooDataSet &data, Mirror mirror=NoMirror, Double_t rho=1)
 RooKeysPdf (const RooKeysPdf &other, const char *name=0)
virtual TObjectclone (const char *newname) const
virtual ~RooKeysPdf ()
void LoadDataSet (RooDataSet &data)
 RooKeysPdf ()
 RooKeysPdf (const char *name, const char *title, RooAbsReal &x, RooDataSet &data, Mirror mirror=NoMirror, Double_t rho=1)
 RooKeysPdf (const RooKeysPdf &other, const char *name=0)
virtual TObjectclone (const char *newname) const
virtual ~RooKeysPdf ()
void LoadDataSet (RooDataSet &data)

Protected Member Functions

Double_t evaluate () const
Double_t evaluate () const

Protected Attributes

RooRealProxy _x

Private Types

enum  
enum  

Private Member Functions

Double_t evaluateFull (Double_t x) const
Double_t g (Double_t x, Double_t sigma) const
Double_t evaluateFull (Double_t x) const
Double_t g (Double_t x, Double_t sigma) const

Private Attributes

Int_t _nEvents
Double_t_dataPts
Double_t_dataWgts
Double_t_weights
Double_t _sumWgt
Double_t _lookupTable [_nPoints+1]
Bool_t _mirrorLeft
Bool_t _mirrorRight
Bool_t _asymLeft
Bool_t _asymRight
Char_t _varName [128]
Double_t _lo
Double_t _hi
Double_t _binWidth
Double_t _rho
Double_t_dataPts
Double_t_dataWgts
Double_t_weights

Detailed Description

Definition at line 25 of file RooKeysPdf.h.


Member Enumeration Documentation

enum RooKeysPdf::Mirror

Definition at line 27 of file RooKeysPdf.h.

anonymous enum [private]

Definition at line 56 of file RooKeysPdf.h.

enum RooKeysPdf::Mirror

Definition at line 27 of file RooKeysPdf.h.

anonymous enum [private]

Definition at line 56 of file RooKeysPdf.h.


Constructor & Destructor Documentation

RooKeysPdf::RooKeysPdf (  ) 

Referenced by clone().

RooKeysPdf::RooKeysPdf ( const char *  name,
const char *  title,
RooAbsReal x,
RooDataSet data,
Mirror  mirror = NoMirror,
Double_t  rho = 1 
)

Definition at line 61 of file RooKeysPdf.cxx.

References _binWidth, _hi, _lo, _nPoints, _varName, _x, RooRealProxy::arg(), data, LoadDataSet(), snprintf, and x.

RooKeysPdf::RooKeysPdf ( const RooKeysPdf other,
const char *  name = 0 
)

Definition at line 90 of file RooKeysPdf.cxx.

References _binWidth, _hi, _lo, _lookupTable, _nPoints, _varName, i, and snprintf.

RooKeysPdf::~RooKeysPdf (  )  [virtual]

Definition at line 119 of file RooKeysPdf.cxx.

References _dataPts, _dataWgts, and _weights.

RooKeysPdf::RooKeysPdf (  ) 

RooKeysPdf::RooKeysPdf ( const char *  name,
const char *  title,
RooAbsReal x,
RooDataSet data,
Mirror  mirror = NoMirror,
Double_t  rho = 1 
)

RooKeysPdf::RooKeysPdf ( const RooKeysPdf other,
const char *  name = 0 
)

virtual RooKeysPdf::~RooKeysPdf (  )  [virtual]


Member Function Documentation

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

Implements RooAbsArg.

Definition at line 36 of file RooKeysPdf.h.

References RooKeysPdf().

void RooKeysPdf::LoadDataSet ( RooDataSet data  ) 

Definition at line 129 of file RooKeysPdf.cxx.

References _binWidth, _dataPts, _dataWgts, _hi, _lo, _lookupTable, _mirrorLeft, _mirrorRight, _nEvents, _nPoints, _rho, _sumWgt, _varName, _weights, data, evaluateFull(), g(), RooRealVar::getVal(), h, i, j, norm(), TMath::Power(), sqrt(), x0, x1, and x2.

Referenced by RooKeysPdf().

Double_t RooKeysPdf::evaluate (  )  const [protected, virtual]

Implements RooAbsReal.

Definition at line 195 of file RooKeysPdf.cxx.

References _binWidth, _hi, _lo, _lookupTable, _nPoints, _x, floor(), and i.

Double_t RooKeysPdf::evaluateFull ( Double_t  x  )  const [private]

Definition at line 218 of file RooKeysPdf.cxx.

References _asymLeft, _asymRight, _dataPts, _dataWgts, _hi, _lo, _nEvents, _sumWgt, _weights, exp(), i, TMath::Pi(), sqrt(), and y.

Referenced by LoadDataSet().

Double_t RooKeysPdf::g ( Double_t  x,
Double_t  sigma 
) const [private]

Definition at line 252 of file RooKeysPdf.cxx.

References _dataPts, _nEvents, c, exp(), i, TMath::Pi(), sqrt(), and y.

Referenced by LoadDataSet().

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

Implements RooAbsArg.

Definition at line 36 of file RooKeysPdf.h.

References RooKeysPdf().

void RooKeysPdf::LoadDataSet ( RooDataSet data  ) 

Double_t RooKeysPdf::evaluate (  )  const [protected, virtual]

Implements RooAbsReal.

Double_t RooKeysPdf::evaluateFull ( Double_t  x  )  const [private]

Double_t RooKeysPdf::g ( Double_t  x,
Double_t  sigma 
) const [private]


Member Data Documentation

RooRealProxy RooKeysPdf::_x [protected]

Definition at line 43 of file RooKeysPdf.h.

Referenced by evaluate(), and RooKeysPdf().

Int_t RooKeysPdf::_nEvents [private]

Definition at line 50 of file RooKeysPdf.h.

Referenced by evaluateFull(), g(), and LoadDataSet().

Double_t* RooKeysPdf::_dataPts [private]

Definition at line 51 of file RooKeysPdf.h.

Referenced by evaluateFull(), g(), LoadDataSet(), and ~RooKeysPdf().

Double_t* RooKeysPdf::_dataWgts [private]

Definition at line 52 of file RooKeysPdf.h.

Referenced by evaluateFull(), LoadDataSet(), and ~RooKeysPdf().

Double_t* RooKeysPdf::_weights [private]

Definition at line 53 of file RooKeysPdf.h.

Referenced by evaluateFull(), LoadDataSet(), and ~RooKeysPdf().

Double_t RooKeysPdf::_sumWgt [private]

Definition at line 54 of file RooKeysPdf.h.

Referenced by evaluateFull(), and LoadDataSet().

Double_t RooKeysPdf::_lookupTable [private]

Definition at line 57 of file RooKeysPdf.h.

Referenced by evaluate(), LoadDataSet(), and RooKeysPdf().

Bool_t RooKeysPdf::_mirrorLeft [private]

Definition at line 61 of file RooKeysPdf.h.

Referenced by LoadDataSet().

Bool_t RooKeysPdf::_mirrorRight [private]

Definition at line 61 of file RooKeysPdf.h.

Referenced by LoadDataSet().

Bool_t RooKeysPdf::_asymLeft [private]

Definition at line 62 of file RooKeysPdf.h.

Referenced by evaluateFull().

Bool_t RooKeysPdf::_asymRight [private]

Definition at line 62 of file RooKeysPdf.h.

Referenced by evaluateFull().

Char_t RooKeysPdf::_varName [private]

Definition at line 65 of file RooKeysPdf.h.

Referenced by LoadDataSet(), and RooKeysPdf().

Double_t RooKeysPdf::_lo [private]

Definition at line 66 of file RooKeysPdf.h.

Referenced by evaluate(), evaluateFull(), LoadDataSet(), and RooKeysPdf().

Double_t RooKeysPdf::_hi [private]

Definition at line 66 of file RooKeysPdf.h.

Referenced by evaluate(), evaluateFull(), LoadDataSet(), and RooKeysPdf().

Double_t RooKeysPdf::_binWidth [private]

Definition at line 66 of file RooKeysPdf.h.

Referenced by evaluate(), LoadDataSet(), and RooKeysPdf().

Double_t RooKeysPdf::_rho [private]

Definition at line 67 of file RooKeysPdf.h.

Referenced by LoadDataSet().

Double_t* RooKeysPdf::_dataPts [private]

Definition at line 51 of file RooKeysPdf.h.

Double_t* RooKeysPdf::_dataWgts [private]

Definition at line 52 of file RooKeysPdf.h.

Double_t* RooKeysPdf::_weights [private]

Definition at line 53 of file RooKeysPdf.h.


The documentation for this class was generated from the following files:
Generated on Tue Jul 5 16:33:52 2011 for ROOT_528-00b_version by  doxygen 1.5.1