rarLass Class Reference

LASS PDF builder. More...

#include <rarLass.hh>

Inheritance diagram for rarLass:

rarBasePdf rarConfig List of all members.

Public Member Functions

 rarLass ()
 Trivial ctor.
 rarLass (const char *configFile, const char *configSec, const char *configStr, rarDatasets *theDatasets, RooDataSet *theData, const char *name, const char *title)
 Default ctor.
virtual ~rarLass ()

Protected Member Functions

void init ()
 Initial function called by ctor.

Protected Attributes

RooAbsReal * _x
 Default obs.
RooAbsReal * _mean
 LASS Resonance K*0(1430) mass.
RooAbsReal * _width
 LASS Resonance mass width.
RooAbsReal * _effRange
 LASS S-wave Effective Range.
RooAbsReal * _scatlen
 LASS S-wave Scattering Length.
RooAbsReal * _turnOffVal
 LASS S-wave Turn off value.

Private Member Functions

 rarLass (const rarLass &)
 ClassDef (rarLass, 0)

Detailed Description

LASS PDF builder.

Config Directives:
See doc for LassPdf configs.

Definition at line 24 of file rarLass.hh.


Constructor & Destructor Documentation

rarLass::rarLass (  ) 

Trivial ctor.

Usually the objects should be created using other ctors.

Definition at line 42 of file rarLass.cc.

References init().

00043   : rarBasePdf(),
00044     _x(0), _mean(0), _width(0), _effRange(0), _scatlen(0), _turnOffVal(0)
00045 {
00046   init();
00047 }

rarLass::rarLass ( const char *  configFile,
const char *  configSec,
const char *  configStr,
rarDatasets theDatasets,
RooDataSet *  theData,
const char *  name,
const char *  title 
)

Default ctor.

Parameters:
configFile The config file
configSec The config section
configStr The config string
theDatasets Available datasets
theData Default dataset for this PDF
name The name
title The title
The default ctor first initializes data members, and then calls init.

Definition at line 61 of file rarLass.cc.

References init().

00065   : rarBasePdf(configFile, configSec, configStr,
00066                theDatasets, theData, name, title),
00067     _x(0), _mean(0), _width(0), _effRange(0), _scatlen(0), _turnOffVal(0)
00068 {
00069   init();
00070 }

rarLass::~rarLass (  )  [virtual]

Definition at line 72 of file rarLass.cc.

00073 {
00074 }

rarLass::rarLass ( const rarLass  )  [private]


Member Function Documentation

rarLass::ClassDef ( rarLass  ,
 
) [private]

void rarLass::init (  )  [protected, virtual]

Initial function called by ctor.

init is called by the ctor. It first creates the parameters by calling createAbsReal, and finally it builds the LASS PDF.

Reimplemented from rarBasePdf.

Definition at line 81 of file rarLass.cc.

References _effRange, _mean, rarBasePdf::_obsSet, rarBasePdf::_params, rarBasePdf::_pdfType, _scatlen, rarBasePdf::_thePdf, _turnOffVal, _width, _x, and rarConfig::createAbsReal().

Referenced by rarLass().

00082 {
00083   cout<<"init of rarLass for "<<GetName()<<":"<<endl;
00084   
00085   _x=createAbsReal("x", "observable"); assert(_x);
00086   RooRealVar *x=(RooRealVar *)RooArgList(_obsSet).at(0); assert(x);
00087  
00088   _mean=createAbsReal("mean", "#mu", (x->getMin()+x->getMax())/2,
00089                       x->getMin(), x->getMax(), _x->getUnit());
00090   // initialise with values from Bill's 34pt fit
00091   // http://www.slac.stanford.edu/~wmd/kpi_swave/kpi_swave_fit.note
00092   // They should replace those in Nucl Phys B296, 493 (1988)
00093   _width      = createAbsReal("width", "#Lambda", 0.279, 0, 1000);
00094   _effRange   = createAbsReal("effRange", "R", 1.76, 0, 1000);
00095   _scatlen    = createAbsReal("scatlen", "s", 1.95, 0, 1000);
00096   // LASS not tested beyond about 1.65 GeV
00097   _turnOffVal = createAbsReal("turnOffVal", "t", 1.825, 0, 1000);
00098   _params.Print("v");
00099 
00100   _thePdf = new RooLass(Form("the_%s", GetName()),_pdfType+" "+GetTitle(),
00101                                *_x, *_mean, *_width, *_effRange, *_scatlen, *_turnOffVal);
00102 
00103 }


Member Data Documentation

RooAbsReal* rarLass::_effRange [protected]

LASS S-wave Effective Range.

Definition at line 40 of file rarLass.hh.

Referenced by init().

RooAbsReal* rarLass::_mean [protected]

LASS Resonance K*0(1430) mass.

Definition at line 38 of file rarLass.hh.

Referenced by init().

RooAbsReal* rarLass::_scatlen [protected]

LASS S-wave Scattering Length.

Definition at line 41 of file rarLass.hh.

Referenced by init().

RooAbsReal* rarLass::_turnOffVal [protected]

LASS S-wave Turn off value.

Definition at line 42 of file rarLass.hh.

Referenced by init().

RooAbsReal* rarLass::_width [protected]

LASS Resonance mass width.

Definition at line 39 of file rarLass.hh.

Referenced by init().

RooAbsReal* rarLass::_x [protected]

Default obs.

Definition at line 37 of file rarLass.hh.

Referenced by init().


The documentation for this class was generated from the following files:
Generated on 30 Oct 2013 for RooRarFit by  doxygen 1.4.7