RooChi2Var Class Reference

#include <RooChi2Var.h>

Inheritance diagram for RooChi2Var:

RooAbsOptTestStatistic RooAbsOptTestStatistic RooAbsTestStatistic RooAbsTestStatistic RooAbsTestStatistic RooAbsTestStatistic RooAbsReal RooAbsReal RooAbsReal RooAbsReal RooAbsReal RooAbsReal RooAbsReal RooAbsReal List of all members.

Public Types

enum  FuncMode
enum  FuncMode

Public Member Functions

 RooChi2Var (const char *name, const char *title, RooAbsReal &func, RooDataHist &data, const RooCmdArg &arg1, const RooCmdArg &arg2=RooCmdArg::none(), const RooCmdArg &arg3=RooCmdArg::none(), const RooCmdArg &arg4=RooCmdArg::none(), const RooCmdArg &arg5=RooCmdArg::none(), const RooCmdArg &arg6=RooCmdArg::none(), const RooCmdArg &arg7=RooCmdArg::none(), const RooCmdArg &arg8=RooCmdArg::none(), const RooCmdArg &arg9=RooCmdArg::none())
 RooChi2Var (const char *name, const char *title, RooAbsPdf &pdf, RooDataHist &data, const RooCmdArg &arg1, const RooCmdArg &arg2=RooCmdArg::none(), const RooCmdArg &arg3=RooCmdArg::none(), const RooCmdArg &arg4=RooCmdArg::none(), const RooCmdArg &arg5=RooCmdArg::none(), const RooCmdArg &arg6=RooCmdArg::none(), const RooCmdArg &arg7=RooCmdArg::none(), const RooCmdArg &arg8=RooCmdArg::none(), const RooCmdArg &arg9=RooCmdArg::none())
 RooChi2Var (const char *name, const char *title, RooAbsPdf &pdf, RooDataHist &data, Bool_t extended=kFALSE, const char *rangeName=0, const char *addCoefRangeName=0, Int_t nCPU=1, Bool_t interleave=kFALSE, Bool_t verbose=kTRUE, Bool_t splitCutRange=kTRUE, RooDataHist::ErrorType=RooDataHist::SumW2)
 RooChi2Var (const char *name, const char *title, RooAbsReal &func, RooDataHist &data, const RooArgSet &projDeps, FuncMode funcMode, const char *rangeName=0, const char *addCoefRangeName=0, Int_t nCPU=1, Bool_t interleave=kFALSE, Bool_t verbose=kTRUE, Bool_t splitCutRange=kTRUE, RooDataHist::ErrorType=RooDataHist::SumW2)
 RooChi2Var (const RooChi2Var &other, const char *name=0)
virtual TObjectclone (const char *newname) const
virtual RooAbsTestStatisticcreate (const char *name, const char *title, RooAbsReal &pdf, RooAbsData &dhist, const RooArgSet &projDeps, const char *rangeName=0, const char *addCoefRangeName=0, Int_t nCPU=1, Bool_t interleave=kFALSE, Bool_t verbose=kTRUE, Bool_t splitCutRange=kTRUE)
virtual ~RooChi2Var ()
virtual Double_t defaultErrorLevel () const
 RooChi2Var (const char *name, const char *title, RooAbsReal &func, RooDataHist &data, const RooCmdArg &arg1, const RooCmdArg &arg2=RooCmdArg::none(), const RooCmdArg &arg3=RooCmdArg::none(), const RooCmdArg &arg4=RooCmdArg::none(), const RooCmdArg &arg5=RooCmdArg::none(), const RooCmdArg &arg6=RooCmdArg::none(), const RooCmdArg &arg7=RooCmdArg::none(), const RooCmdArg &arg8=RooCmdArg::none(), const RooCmdArg &arg9=RooCmdArg::none())
 RooChi2Var (const char *name, const char *title, RooAbsPdf &pdf, RooDataHist &data, const RooCmdArg &arg1, const RooCmdArg &arg2=RooCmdArg::none(), const RooCmdArg &arg3=RooCmdArg::none(), const RooCmdArg &arg4=RooCmdArg::none(), const RooCmdArg &arg5=RooCmdArg::none(), const RooCmdArg &arg6=RooCmdArg::none(), const RooCmdArg &arg7=RooCmdArg::none(), const RooCmdArg &arg8=RooCmdArg::none(), const RooCmdArg &arg9=RooCmdArg::none())
 RooChi2Var (const char *name, const char *title, RooAbsPdf &pdf, RooDataHist &data, Bool_t extended=kFALSE, const char *rangeName=0, const char *addCoefRangeName=0, Int_t nCPU=1, Bool_t interleave=kFALSE, Bool_t verbose=kTRUE, Bool_t splitCutRange=kTRUE, RooDataHist::ErrorType=RooDataHist::SumW2)
 RooChi2Var (const char *name, const char *title, RooAbsReal &func, RooDataHist &data, const RooArgSet &projDeps, FuncMode funcMode, const char *rangeName=0, const char *addCoefRangeName=0, Int_t nCPU=1, Bool_t interleave=kFALSE, Bool_t verbose=kTRUE, Bool_t splitCutRange=kTRUE, RooDataHist::ErrorType=RooDataHist::SumW2)
 RooChi2Var (const RooChi2Var &other, const char *name=0)
virtual TObjectclone (const char *newname) const
virtual RooAbsTestStatisticcreate (const char *name, const char *title, RooAbsReal &pdf, RooAbsData &dhist, const RooArgSet &projDeps, const char *rangeName=0, const char *addCoefRangeName=0, Int_t nCPU=1, Bool_t interleave=kFALSE, Bool_t verbose=kTRUE, Bool_t splitCutRange=kTRUE)
virtual ~RooChi2Var ()
virtual Double_t defaultErrorLevel () const

Protected Member Functions

virtual Double_t evaluatePartition (Int_t firstEvent, Int_t lastEvent, Int_t stepSize) const
virtual Double_t evaluatePartition (Int_t firstEvent, Int_t lastEvent, Int_t stepSize) const

Protected Attributes

RooDataHist::ErrorType _etype
FuncMode _funcMode

Static Protected Attributes

static RooArgSet _emptySet

Detailed Description

Definition at line 25 of file RooChi2Var.h.


Member Enumeration Documentation

enum RooChi2Var::FuncMode

Definition at line 39 of file RooChi2Var.h.

enum RooChi2Var::FuncMode

Definition at line 39 of file RooChi2Var.h.


Constructor & Destructor Documentation

RooChi2Var::RooChi2Var ( const char *  name,
const char *  title,
RooAbsReal func,
RooDataHist data,
const RooCmdArg arg1,
const RooCmdArg arg2 = RooCmdArg::none(),
const RooCmdArg arg3 = RooCmdArg::none(),
const RooCmdArg arg4 = RooCmdArg::none(),
const RooCmdArg arg5 = RooCmdArg::none(),
const RooCmdArg arg6 = RooCmdArg::none(),
const RooCmdArg arg7 = RooCmdArg::none(),
const RooCmdArg arg8 = RooCmdArg::none(),
const RooCmdArg arg9 = RooCmdArg::none() 
)

Definition at line 51 of file RooChi2Var.cxx.

References _etype, _funcMode, RooCmdConfig::allowUndefined(), RooCmdConfig::defineInt(), Function, RooCmdConfig::getInt(), RooCmdConfig::process(), and RooAbsData::SumW2.

Referenced by clone(), and create().

RooChi2Var::RooChi2Var ( const char *  name,
const char *  title,
RooAbsPdf pdf,
RooDataHist data,
const RooCmdArg arg1,
const RooCmdArg arg2 = RooCmdArg::none(),
const RooCmdArg arg3 = RooCmdArg::none(),
const RooCmdArg arg4 = RooCmdArg::none(),
const RooCmdArg arg5 = RooCmdArg::none(),
const RooCmdArg arg6 = RooCmdArg::none(),
const RooCmdArg arg7 = RooCmdArg::none(),
const RooCmdArg arg8 = RooCmdArg::none(),
const RooCmdArg arg9 = RooCmdArg::none() 
)

Definition at line 83 of file RooChi2Var.cxx.

References _etype, _funcMode, RooCmdConfig::allowUndefined(), RooCmdConfig::defineInt(), ExtendedPdf, RooCmdConfig::getInt(), kFALSE, Pdf, RooCmdConfig::process(), and RooAbsData::SumW2.

RooChi2Var::RooChi2Var ( const char *  name,
const char *  title,
RooAbsPdf pdf,
RooDataHist data,
Bool_t  extended = kFALSE,
const char *  rangeName = 0,
const char *  addCoefRangeName = 0,
Int_t  nCPU = 1,
Bool_t  interleave = kFALSE,
Bool_t  verbose = kTRUE,
Bool_t  splitCutRange = kTRUE,
RooDataHist::ErrorType  = RooDataHist::SumW2 
)

Definition at line 122 of file RooChi2Var.cxx.

RooChi2Var::RooChi2Var ( const char *  name,
const char *  title,
RooAbsReal func,
RooDataHist data,
const RooArgSet projDeps,
FuncMode  funcMode,
const char *  rangeName = 0,
const char *  addCoefRangeName = 0,
Int_t  nCPU = 1,
Bool_t  interleave = kFALSE,
Bool_t  verbose = kTRUE,
Bool_t  splitCutRange = kTRUE,
RooDataHist::ErrorType  = RooDataHist::SumW2 
)

Definition at line 147 of file RooChi2Var.cxx.

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

Definition at line 173 of file RooChi2Var.cxx.

RooChi2Var::~RooChi2Var (  )  [virtual]

Definition at line 184 of file RooChi2Var.cxx.

RooChi2Var::RooChi2Var ( const char *  name,
const char *  title,
RooAbsReal func,
RooDataHist data,
const RooCmdArg arg1,
const RooCmdArg arg2 = RooCmdArg::none(),
const RooCmdArg arg3 = RooCmdArg::none(),
const RooCmdArg arg4 = RooCmdArg::none(),
const RooCmdArg arg5 = RooCmdArg::none(),
const RooCmdArg arg6 = RooCmdArg::none(),
const RooCmdArg arg7 = RooCmdArg::none(),
const RooCmdArg arg8 = RooCmdArg::none(),
const RooCmdArg arg9 = RooCmdArg::none() 
)

RooChi2Var::RooChi2Var ( const char *  name,
const char *  title,
RooAbsPdf pdf,
RooDataHist data,
const RooCmdArg arg1,
const RooCmdArg arg2 = RooCmdArg::none(),
const RooCmdArg arg3 = RooCmdArg::none(),
const RooCmdArg arg4 = RooCmdArg::none(),
const RooCmdArg arg5 = RooCmdArg::none(),
const RooCmdArg arg6 = RooCmdArg::none(),
const RooCmdArg arg7 = RooCmdArg::none(),
const RooCmdArg arg8 = RooCmdArg::none(),
const RooCmdArg arg9 = RooCmdArg::none() 
)

RooChi2Var::RooChi2Var ( const char *  name,
const char *  title,
RooAbsPdf pdf,
RooDataHist data,
Bool_t  extended = kFALSE,
const char *  rangeName = 0,
const char *  addCoefRangeName = 0,
Int_t  nCPU = 1,
Bool_t  interleave = kFALSE,
Bool_t  verbose = kTRUE,
Bool_t  splitCutRange = kTRUE,
RooDataHist::ErrorType  = RooDataHist::SumW2 
)

RooChi2Var::RooChi2Var ( const char *  name,
const char *  title,
RooAbsReal func,
RooDataHist data,
const RooArgSet projDeps,
FuncMode  funcMode,
const char *  rangeName = 0,
const char *  addCoefRangeName = 0,
Int_t  nCPU = 1,
Bool_t  interleave = kFALSE,
Bool_t  verbose = kTRUE,
Bool_t  splitCutRange = kTRUE,
RooDataHist::ErrorType  = RooDataHist::SumW2 
)

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

virtual RooChi2Var::~RooChi2Var (  )  [virtual]


Member Function Documentation

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

Implements RooAbsArg.

Definition at line 50 of file RooChi2Var.h.

References RooChi2Var().

virtual RooAbsTestStatistic* RooChi2Var::create ( const char *  name,
const char *  title,
RooAbsReal pdf,
RooAbsData dhist,
const RooArgSet projDeps,
const char *  rangeName = 0,
const char *  addCoefRangeName = 0,
Int_t  nCPU = 1,
Bool_t  interleave = kFALSE,
Bool_t  verbose = kTRUE,
Bool_t  splitCutRange = kTRUE 
) [inline, virtual]

Implements RooAbsTestStatistic.

Definition at line 52 of file RooChi2Var.h.

References _etype, _funcMode, RooChi2Var(), and verbose.

virtual Double_t RooChi2Var::defaultErrorLevel (  )  const [inline, virtual]

Reimplemented from RooAbsReal.

Definition at line 62 of file RooChi2Var.h.

Double_t RooChi2Var::evaluatePartition ( Int_t  firstEvent,
Int_t  lastEvent,
Int_t  stepSize 
) const [protected, virtual]

Implements RooAbsTestStatistic.

Definition at line 192 of file RooChi2Var.cxx.

References RooAbsOptTestStatistic::_dataClone, _etype, RooAbsOptTestStatistic::_funcClone, _funcMode, RooAbsOptTestStatistic::_normSet, RooDataHist::binVolume(), coutE, Rgl::Mc::eInt, RooFit::Eval, ExtendedPdf, Function, RooAbsData::get(), RooDataHist::get(), TNamed::GetName(), RooAbsReal::getVal(), i, Pdf, result(), RooAbsData::sumEntries(), RooDataHist::valid(), RooDataHist::weight(), and RooDataHist::weightError().

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

Implements RooAbsArg.

Definition at line 50 of file RooChi2Var.h.

References RooChi2Var().

virtual RooAbsTestStatistic* RooChi2Var::create ( const char *  name,
const char *  title,
RooAbsReal pdf,
RooAbsData dhist,
const RooArgSet projDeps,
const char *  rangeName = 0,
const char *  addCoefRangeName = 0,
Int_t  nCPU = 1,
Bool_t  interleave = kFALSE,
Bool_t  verbose = kTRUE,
Bool_t  splitCutRange = kTRUE 
) [inline, virtual]

Implements RooAbsTestStatistic.

Definition at line 52 of file RooChi2Var.h.

References _etype, _funcMode, RooChi2Var(), and verbose.

virtual Double_t RooChi2Var::defaultErrorLevel (  )  const [inline, virtual]

Reimplemented from RooAbsReal.

Definition at line 62 of file RooChi2Var.h.

virtual Double_t RooChi2Var::evaluatePartition ( Int_t  firstEvent,
Int_t  lastEvent,
Int_t  stepSize 
) const [protected, virtual]

Implements RooAbsTestStatistic.


Member Data Documentation

RooArgSet RooChi2Var::_emptySet [static, protected]

Definition at line 69 of file RooChi2Var.h.

RooDataHist::ErrorType RooChi2Var::_etype [protected]

Definition at line 71 of file RooChi2Var.h.

Referenced by create(), evaluatePartition(), and RooChi2Var().

FuncMode RooChi2Var::_funcMode [protected]

Definition at line 72 of file RooChi2Var.h.

Referenced by create(), evaluatePartition(), and RooChi2Var().


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