RooRealVar Class Reference

#include <RooRealVar.h>

Inheritance diagram for RooRealVar:

RooAbsRealLValue RooAbsRealLValue RooAbsLValue RooAbsReal RooAbsLValue RooAbsReal RooAbsLValue RooAbsReal RooAbsLValue RooAbsReal List of all members.

Public Member Functions

 RooRealVar ()
 RooRealVar (const char *name, const char *title, Double_t value, const char *unit="")
 RooRealVar (const char *name, const char *title, Double_t minValue, Double_t maxValue, const char *unit="")
 RooRealVar (const char *name, const char *title, Double_t value, Double_t minValue, Double_t maxValue, const char *unit="")
 RooRealVar (const RooRealVar &other, const char *name=0)
virtual TObjectclone (const char *newname) const
virtual ~RooRealVar ()
virtual Double_t getVal (const RooArgSet *nset=0) const
virtual void setVal (Double_t value)
Double_t getError () const
Bool_t hasError (Bool_t allowZero=kTRUE) const
void setError (Double_t value)
void removeError ()
Double_t getAsymErrorLo () const
Double_t getAsymErrorHi () const
Bool_t hasAsymError (Bool_t allowZero=kTRUE) const
void removeAsymError ()
void setAsymError (Double_t lo, Double_t hi)
Double_t getErrorLo () const
Double_t getErrorHi () const
RooErrorVarerrorVar () const
void setMin (const char *name, Double_t value)
void setMax (const char *name, Double_t value)
void setRange (const char *name, Double_t min, Double_t max)
void setRange (const char *name, RooAbsReal &min, RooAbsReal &max)
void setMin (Double_t value)
void setMax (Double_t value)
void setRange (Double_t min, Double_t max)
void setRange (RooAbsReal &min, RooAbsReal &max)
void setBins (Int_t nBins, const char *name=0)
void setBinning (const RooAbsBinning &binning, const char *name=0)
Bool_t hasBinning (const char *name) const
const RooAbsBinninggetBinning (const char *name=0, Bool_t verbose=kTRUE, Bool_t createOnTheFly=kFALSE) const
RooAbsBinninggetBinning (const char *name=0, Bool_t verbose=kTRUE, Bool_t createOnTheFly=kFALSE)
void removeMin (const char *name=0)
void removeMax (const char *name=0)
void removeRange (const char *name=0)
virtual Bool_t readFromStream (istream &is, Bool_t compact, Bool_t verbose=kFALSE)
virtual void writeToStream (ostream &os, Bool_t compact) const
virtual Bool_t isFundamental () const
virtual void printValue (ostream &os) const
virtual void printExtras (ostream &os) const
virtual void printMultiline (ostream &os, Int_t contents, Bool_t verbose=kFALSE, TString indent="") const
virtual Int_t defaultPrintContents (Option_t *opt) const
TStringformat (const RooCmdArg &formatArg) const
TStringformat (Int_t sigDigits, const char *options) const
void deleteSharedProperties ()
 RooRealVar ()
 RooRealVar (const char *name, const char *title, Double_t value, const char *unit="")
 RooRealVar (const char *name, const char *title, Double_t minValue, Double_t maxValue, const char *unit="")
 RooRealVar (const char *name, const char *title, Double_t value, Double_t minValue, Double_t maxValue, const char *unit="")
 RooRealVar (const RooRealVar &other, const char *name=0)
virtual TObjectclone (const char *newname) const
virtual ~RooRealVar ()
virtual Double_t getVal (const RooArgSet *nset=0) const
virtual void setVal (Double_t value)
Double_t getError () const
Bool_t hasError (Bool_t allowZero=kTRUE) const
void setError (Double_t value)
void removeError ()
Double_t getAsymErrorLo () const
Double_t getAsymErrorHi () const
Bool_t hasAsymError (Bool_t allowZero=kTRUE) const
void removeAsymError ()
void setAsymError (Double_t lo, Double_t hi)
Double_t getErrorLo () const
Double_t getErrorHi () const
RooErrorVarerrorVar () const
void setMin (const char *name, Double_t value)
void setMax (const char *name, Double_t value)
void setRange (const char *name, Double_t min, Double_t max)
void setRange (const char *name, RooAbsReal &min, RooAbsReal &max)
void setMin (Double_t value)
void setMax (Double_t value)
void setRange (Double_t min, Double_t max)
void setRange (RooAbsReal &min, RooAbsReal &max)
void setBins (Int_t nBins, const char *name=0)
void setBinning (const RooAbsBinning &binning, const char *name=0)
Bool_t hasBinning (const char *name) const
const RooAbsBinninggetBinning (const char *name=0, Bool_t verbose=kTRUE, Bool_t createOnTheFly=kFALSE) const
RooAbsBinninggetBinning (const char *name=0, Bool_t verbose=kTRUE, Bool_t createOnTheFly=kFALSE)
void removeMin (const char *name=0)
void removeMax (const char *name=0)
void removeRange (const char *name=0)
virtual Bool_t readFromStream (istream &is, Bool_t compact, Bool_t verbose=kFALSE)
virtual void writeToStream (ostream &os, Bool_t compact) const
virtual Bool_t isFundamental () const
virtual void printValue (ostream &os) const
virtual void printExtras (ostream &os) const
virtual void printMultiline (ostream &os, Int_t contents, Bool_t verbose=kFALSE, TString indent="") const
virtual Int_t defaultPrintContents (Option_t *opt) const
TStringformat (const RooCmdArg &formatArg) const
TStringformat (Int_t sigDigits, const char *options) const
void deleteSharedProperties ()

Static Public Member Functions

static void printScientific (Bool_t flag=kFALSE)
static void printSigDigits (Int_t ndig=5)
static void printScientific (Bool_t flag=kFALSE)
static void printSigDigits (Int_t ndig=5)

Protected Member Functions

virtual void setVal (Double_t value, const char *rangeName)
virtual void setValFast (Double_t value)
virtual Double_t evaluate () const
virtual void copyCache (const RooAbsArg *source, Bool_t valueOnly=kFALSE)
virtual void attachToTree (TTree &t, Int_t bufSize=32000)
virtual void fillTreeBranch (TTree &t)
Double_t chopAt (Double_t what, Int_t where) const
RooRealVarSharedPropertiessharedProp () const
virtual void setVal (Double_t value, const char *rangeName)
virtual void setValFast (Double_t value)
virtual Double_t evaluate () const
virtual void copyCache (const RooAbsArg *source, Bool_t valueOnly=kFALSE)
virtual void attachToTree (TTree &t, Int_t bufSize=32000)
virtual void fillTreeBranch (TTree &t)
Double_t chopAt (Double_t what, Int_t where) const
RooRealVarSharedPropertiessharedProp () const

Protected Attributes

Double_t _error
Double_t _asymErrLo
Double_t _asymErrHi
RooAbsBinning_binning
RooLinkedList _altNonSharedBinning
RooRealVarSharedProperties_sharedProp
RooAbsBinning_binning
RooRealVarSharedProperties_sharedProp

Static Protected Attributes

static Bool_t _printScientific
static Int_t _printSigDigits
static RooSharedPropertiesList _sharedPropList
static RooRealVarSharedProperties _nullProp

Detailed Description

Definition at line 33 of file RooRealVar.h.


Constructor & Destructor Documentation

RooRealVar::RooRealVar (  ) 

Definition at line 57 of file RooRealVar.cxx.

Referenced by clone().

RooRealVar::RooRealVar ( const char *  name,
const char *  title,
Double_t  value,
const char *  unit = "" 
)

Definition at line 64 of file RooRealVar.cxx.

References _binning, RooAbsReal::_value, kTRUE, removeRange(), and RooAbsRealLValue::setConstant().

RooRealVar::RooRealVar ( const char *  name,
const char *  title,
Double_t  minValue,
Double_t  maxValue,
const char *  unit = "" 
)

Definition at line 79 of file RooRealVar.cxx.

References _binning, RooAbsReal::_value, RooNumber::isInfinite(), and setRange().

RooRealVar::RooRealVar ( const char *  name,
const char *  title,
Double_t  value,
Double_t  minValue,
Double_t  maxValue,
const char *  unit = "" 
)

Definition at line 112 of file RooRealVar.cxx.

References _binning, RooAbsReal::_value, and setRange().

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

Definition at line 127 of file RooRealVar.cxx.

References _altNonSharedBinning, _binning, _sharedProp, _sharedPropList, RooLinkedList::Add(), RooAbsBinning::clone(), RooAbsBinning::insertHook(), RooLinkedList::MakeIterator(), TIterator::Next(), RooSharedPropertiesList::registerProperties(), and sharedProp().

RooRealVar::~RooRealVar (  )  [virtual]

Definition at line 157 of file RooRealVar.cxx.

References _altNonSharedBinning, _binning, _sharedProp, _sharedPropList, RooLinkedList::Delete(), and RooSharedPropertiesList::unregisterProperties().

RooRealVar::RooRealVar (  ) 

RooRealVar::RooRealVar ( const char *  name,
const char *  title,
Double_t  value,
const char *  unit = "" 
)

RooRealVar::RooRealVar ( const char *  name,
const char *  title,
Double_t  minValue,
Double_t  maxValue,
const char *  unit = "" 
)

RooRealVar::RooRealVar ( const char *  name,
const char *  title,
Double_t  value,
Double_t  minValue,
Double_t  maxValue,
const char *  unit = "" 
)

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

virtual RooRealVar::~RooRealVar (  )  [virtual]


Member Function Documentation

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

Implements RooAbsArg.

Definition at line 44 of file RooRealVar.h.

References RooRealVar().

Referenced by RooStats::NumberCountingPdfFactory::AddData(), RooStats::NumberCountingPdfFactory::AddDataWithSideband(), RooAbsReal::createIntRI(), and RooStats::ProposalHelper::CreatePdf().

Double_t RooRealVar::getVal ( const RooArgSet nset = 0  )  const [virtual]

Reimplemented from RooAbsReal.

Definition at line 171 of file RooRealVar.cxx.

References RooAbsReal::_value.

Referenced by RooStats::NumberCountingPdfFactory::AddData(), RooStats::NumberCountingPdfFactory::AddDataWithSideband(), RooNumRunningInt::RICacheElem::addPoint(), RooNDKeysPdf::boxInfoInit(), ClassImp(), RooMinuit::contour(), RooMinimizer::contour(), RooAbsData::corrcov(), RooAbsData::corrcovMatrix(), RooStats::LikelihoodInterval::CreateMinimizer(), RooMinimizerFcn::DoEval(), DoSPlot(), RooStats::LikelihoodIntervalPlot::Draw(), RooStats::ProfileLikelihoodTestStat::Evaluate(), RooProfileLL::evaluate(), RooXYChi2Var::evaluatePartition(), RooAbsReal::fillHistogram(), RooConvGenContext::generateEvent(), RooTreeDataStore::get(), RooStats::ConfidenceBelt::GetAcceptanceRegion(), RooStats::NeymanConstruction::GetInterval(), RooStats::ProfileInspector::GetListOfProfilePlots(), HybridOriginalDemo(), RooDataHist::interpolateDim(), RooStats::PointSetInterval::IsInInterval(), RooKeysPdf::LoadDataSet(), RooAcceptReject::nextAcceptedEvent(), WrapperRooPdf::Parameters(), RooFitResult::plotOn(), RooDataSet::plotOnXY(), printValue(), RooChi2MCSModule::processAfterFit(), RooDLLSignificanceMCSModule::processAfterFit(), RooStats::UpperLimitMCSModule::processBetweenGenAndFit(), RooNumRunningInt::RICacheElem::RICacheElem(), RooMinuitGlue(), RooMinimizerFcn::Synchronize(), RooMinuit::synchronize(), RooDataHist::weight(), writeToStream(), and RooXYChi2Var::xErrorContribution().

void RooRealVar::setVal ( Double_t  value  )  [virtual]

Implements RooAbsRealLValue.

Definition at line 181 of file RooRealVar.cxx.

References RooAbsReal::_value, RooAbsRealLValue::inRange(), and RooAbsArg::setValueDirty().

Referenced by RooStats::MarkovChain::Add(), RooDataSet::add(), RooAcceptReject::addEventToCache(), RooDataSet::addFast(), RooStats::MarkovChain::AddFast(), RooMCStudy::addFitResult(), RooTreeDataStore::append(), RooStats::MCMCInterval::CalcConfLevel(), RooIntegralMorph::MorphCacheElem::calculate(), ClassImp(), RooAbsReal::createIntRI(), RooStats::MCMCInterval::DetermineByKeys(), WrapperRooPdf::DoEvalPar(), WrapperRooPdf::DoSetParameters(), RooGenFitStudy::execute(), RooAbsReal::fillHistogram(), RooFitResult::fillLegacyCorrMatrix(), RooMCStudy::fitSample(), RooConvGenContext::generateEvent(), RooGenContext::generateEvent(), RooFoamGenerator::generateEvent(), RooStats::ProfileInspector::GetListOfProfilePlots(), RooMinimizer::lastMinuitFit(), RooFitResult::lastMinuitFit(), MakePlots(), RooAbsData::meanVar(), RooChi2MCSModule::processAfterFit(), RooDLLSignificanceMCSModule::processAfterFit(), RooRandomizeParamMCSModule::processBeforeGen(), RooStats::UpperLimitMCSModule::processBetweenGenAndFit(), readFromStream(), RooAbsData::rmsVar(), rs101_limitexample(), RooMCStudy::run(), setMax(), setMin(), and RooXYChi2Var::xErrorContribution().

Double_t RooRealVar::getError (  )  const [inline]

Definition at line 50 of file RooRealVar.h.

References _error.

Referenced by RooStats::LikelihoodInterval::CreateMinimizer(), RooPullVar::evaluate(), format(), RooTreeDataStore::get(), RooFitResult::plotOn(), printMultiline(), printValue(), RooTreeDataStore::weightError(), writeToStream(), and RooXYChi2Var::xErrorContribution().

Bool_t RooRealVar::hasError ( Bool_t  allowZero = kTRUE  )  const [inline]

Definition at line 51 of file RooRealVar.h.

References _error.

Referenced by RooPullVar::evaluate(), format(), printValue(), writeToStream(), and RooXYChi2Var::xErrorContribution().

void RooRealVar::setError ( Double_t  value  )  [inline]

Definition at line 52 of file RooRealVar.h.

References _error.

Referenced by RooDataSet::add(), RooDataSet::addFast(), RooMinimizer::lastMinuitFit(), RooFitResult::lastMinuitFit(), RooAbsData::meanVar(), readFromStream(), rf606_nllerrorhandling(), RooAbsData::rmsVar(), and TestBasic606::testCode().

void RooRealVar::removeError (  )  [inline]

Definition at line 53 of file RooRealVar.h.

References _error.

Referenced by readFromStream().

Double_t RooRealVar::getAsymErrorLo (  )  const [inline]

Definition at line 54 of file RooRealVar.h.

References _asymErrLo.

Referenced by RooPullVar::evaluate(), format(), RooTreeDataStore::get(), printValue(), RooTreeDataStore::weightError(), writeToStream(), and RooXYChi2Var::xErrorContribution().

Double_t RooRealVar::getAsymErrorHi (  )  const [inline]

Definition at line 55 of file RooRealVar.h.

References _asymErrHi.

Referenced by RooPullVar::evaluate(), format(), RooTreeDataStore::get(), printValue(), RooTreeDataStore::weightError(), writeToStream(), and RooXYChi2Var::xErrorContribution().

Bool_t RooRealVar::hasAsymError ( Bool_t  allowZero = kTRUE  )  const [inline]

Definition at line 56 of file RooRealVar.h.

References _asymErrHi, and _asymErrLo.

Referenced by RooPullVar::evaluate(), format(), RooTreeDataStore::get(), printValue(), RooTreeDataStore::weightError(), writeToStream(), and RooXYChi2Var::xErrorContribution().

void RooRealVar::removeAsymError (  )  [inline]

Definition at line 57 of file RooRealVar.h.

References _asymErrHi, and _asymErrLo.

Referenced by readFromStream().

void RooRealVar::setAsymError ( Double_t  lo,
Double_t  hi 
) [inline]

Definition at line 58 of file RooRealVar.h.

References _asymErrHi, and _asymErrLo.

Referenced by RooDataSet::add(), and readFromStream().

Double_t RooRealVar::getErrorLo (  )  const [inline]

Definition at line 59 of file RooRealVar.h.

References _asymErrLo, and _error.

Referenced by ClassImp(), RooXYChi2Var::evaluatePartition(), and RooDataSet::plotOnXY().

Double_t RooRealVar::getErrorHi (  )  const [inline]

Definition at line 60 of file RooRealVar.h.

References _asymErrHi, and _error.

Referenced by ClassImp(), RooXYChi2Var::evaluatePartition(), and RooDataSet::plotOnXY().

RooErrorVar * RooRealVar::errorVar (  )  const

Definition at line 215 of file RooRealVar.cxx.

References TNamed::GetName(), TNamed::GetTitle(), name, and title.

void RooRealVar::setMin ( const char *  name,
Double_t  value 
)

Definition at line 340 of file RooRealVar.cxx.

References RooAbsReal::_value, coutW, getBinning(), RooAbsRealLValue::getMax(), TNamed::GetName(), RooFit::InputArguments, RooAbsRealLValue::inRange(), kTRUE, RooAbsBinning::setMin(), RooAbsArg::setShapeDirty(), and setVal().

Referenced by setMin().

void RooRealVar::setMax ( const char *  name,
Double_t  value 
)

Definition at line 370 of file RooRealVar.cxx.

References RooAbsReal::_value, coutW, getBinning(), RooAbsRealLValue::getMin(), TNamed::GetName(), RooFit::InputArguments, RooAbsRealLValue::inRange(), kTRUE, RooAbsBinning::setMax(), RooAbsArg::setShapeDirty(), and setVal().

Referenced by setMax().

void RooRealVar::setRange ( const char *  name,
Double_t  min,
Double_t  max 
)

Definition at line 400 of file RooRealVar.cxx.

References RooRealVarSharedProperties::_altBinning, coutI, coutW, RooFit::Eval, RooLinkedList::FindObject(), getBinning(), TNamed::GetName(), RooFit::InputArguments, kFALSE, kTRUE, RooAbsArg::setShapeDirty(), and sharedProp().

Referenced by RooAbsPdf::createNLL(), RooFFTConvPdf::FFTCacheElem::FFTCacheElem(), RooMinimizer::lastMinuitFit(), RooFitResult::lastMinuitFit(), RooAbsReal::plotOn(), readFromStream(), RooAbsOptTestStatistic::RooAbsOptTestStatistic(), RooRealVar(), and setRange().

void RooRealVar::setRange ( const char *  name,
RooAbsReal min,
RooAbsReal max 
)

Definition at line 432 of file RooRealVar.cxx.

References max, min, and setBinning().

void RooRealVar::setMin ( Double_t  value  )  [inline]

Definition at line 69 of file RooRealVar.h.

References setMin().

void RooRealVar::setMax ( Double_t  value  )  [inline]

Definition at line 70 of file RooRealVar.h.

References setMax().

void RooRealVar::setRange ( Double_t  min,
Double_t  max 
) [inline]

Definition at line 71 of file RooRealVar.h.

References setRange().

void RooRealVar::setRange ( RooAbsReal min,
RooAbsReal max 
) [inline]

Definition at line 72 of file RooRealVar.h.

References max, min, and setRange().

void RooRealVar::setBins ( Int_t  nBins,
const char *  name = 0 
) [inline]

Definition at line 74 of file RooRealVar.h.

References RooAbsRealLValue::getMax(), RooAbsRealLValue::getMin(), and setBinning().

Referenced by ClassImp(), RooStats::MCMCInterval::CreateKeysDataHist(), RooStats::FeldmanCousins::CreateParameterPoints(), RooAbsPdf::createScanCdf(), RooAbsReal::createScanRI(), RooStats::LikelihoodIntervalPlot::Draw(), RooMCStudy::plotPull(), readFromStream(), rf708_bphysics(), and TestBasic708::testCode().

void RooRealVar::setBinning ( const RooAbsBinning binning,
const char *  name = 0 
)

Definition at line 298 of file RooRealVar.cxx.

References RooRealVarSharedProperties::_altBinning, _altNonSharedBinning, _binning, RooLinkedList::Add(), RooAbsBinning::clone(), RooLinkedList::FindObject(), RooAbsBinning::insertHook(), RooAbsBinning::isShareable(), RooLinkedList::Remove(), RooAbsBinning::removeHook(), TNamed::SetName(), TNamed::SetTitle(), and sharedProp().

Referenced by RooAbsReal::createIntRI(), RooFFTConvPdf::fillCacheSlice(), RooDataHist::initialize(), RooFFTConvPdf::RooFFTConvPdf(), setBins(), and setRange().

Bool_t RooRealVar::hasBinning ( const char *  name  )  const [virtual]

Implements RooAbsRealLValue.

Definition at line 231 of file RooRealVar.cxx.

References RooRealVarSharedProperties::_altBinning, RooLinkedList::FindObject(), kFALSE, kTRUE, and sharedProp().

Referenced by RooFFTConvPdf::RooFFTConvPdf().

const RooAbsBinning & RooRealVar::getBinning ( const char *  name = 0,
Bool_t  verbose = kTRUE,
Bool_t  createOnTheFly = kFALSE 
) const [virtual]

Implements RooAbsRealLValue.

Definition at line 241 of file RooRealVar.cxx.

Referenced by RooStats::MCMCInterval::CreateKeysDataHist(), RooFFTConvPdf::FFTCacheElem::FFTCacheElem(), RooDataHist::initialize(), RooAbsData::optimizeReadingWithCaching(), RooDataHist::plotOn(), removeMax(), removeMin(), removeRange(), RooAbsOptTestStatistic::RooAbsOptTestStatistic(), RooFFTConvPdf::RooFFTConvPdf(), RooFFTConvPdf::scanPdf(), setMax(), setMin(), setRange(), and RooDataHist::weight().

RooAbsBinning & RooRealVar::getBinning ( const char *  name = 0,
Bool_t  verbose = kTRUE,
Bool_t  createOnTheFly = kFALSE 
) [virtual]

Implements RooAbsRealLValue.

Definition at line 254 of file RooRealVar.cxx.

References RooRealVarSharedProperties::_altBinning, _altNonSharedBinning, _binning, RooLinkedList::Add(), coutI, RooFit::Eval, TObject::FindObject(), RooLinkedList::FindObject(), RooAbsRealLValue::getMax(), RooAbsRealLValue::getMin(), TNamed::GetName(), and sharedProp().

void RooRealVar::removeMin ( const char *  name = 0  )  [inline]

Definition at line 83 of file RooRealVar.h.

References getBinning(), RooNumber::infinity(), and RooAbsBinning::setMin().

void RooRealVar::removeMax ( const char *  name = 0  )  [inline]

Definition at line 84 of file RooRealVar.h.

References getBinning(), RooNumber::infinity(), and RooAbsBinning::setMax().

void RooRealVar::removeRange ( const char *  name = 0  )  [inline]

Definition at line 85 of file RooRealVar.h.

References getBinning(), RooNumber::infinity(), and RooAbsBinning::setRange().

Referenced by RooAbsReal::createFundamental(), RooConvGenContext::RooConvGenContext(), and RooRealVar().

Bool_t RooRealVar::readFromStream ( istream &  is,
Bool_t  compact,
Bool_t  verbose = kFALSE 
) [virtual]

Reimplemented from RooAbsRealLValue.

Definition at line 444 of file RooRealVar.cxx.

References TString::Append(), RooStreamParser::atEOF(), RooStreamParser::atEOL(), TString::CompareTo(), RooStreamParser::convertToDouble(), coutW, error, RooFit::Eval, RooStreamParser::expectToken(), TNamed::GetName(), RooAbsRealLValue::isValidReal(), kFALSE, kTRUE, RooStreamParser::readDouble(), RooStreamParser::readInteger(), RooStreamParser::readToken(), removeAsymError(), removeError(), setAsymError(), setBins(), RooAbsRealLValue::setConstant(), setError(), setRange(), setVal(), value, and RooStreamParser::zapToEnd().

void RooRealVar::writeToStream ( ostream &  os,
Bool_t  compact 
) const [virtual]

Reimplemented from RooAbsRealLValue.

Definition at line 583 of file RooRealVar.cxx.

References _printScientific, _printSigDigits, RooAbsReal::_unit, RooAbsReal::_value, TString::Data(), Form(), format(), getAsymErrorHi(), getAsymErrorLo(), RooAbsRealLValue::getBins(), getError(), RooAbsRealLValue::getMax(), RooAbsRealLValue::getMin(), RooAbsReal::getUnit(), getVal(), hasAsymError(), hasError(), RooAbsRealLValue::hasMax(), RooAbsRealLValue::hasMin(), RooAbsArg::isConstant(), TString::IsNull(), and snprintf.

virtual Bool_t RooRealVar::isFundamental (  )  const [inline, virtual]

Reimplemented from RooAbsArg.

Definition at line 92 of file RooRealVar.h.

References kTRUE.

void RooRealVar::printValue ( ostream &  os  )  const [virtual]

Reimplemented from RooAbsReal.

Definition at line 648 of file RooRealVar.cxx.

References getAsymErrorHi(), getAsymErrorLo(), getError(), getVal(), hasAsymError(), and hasError().

void RooRealVar::printExtras ( ostream &  os  )  const [virtual]

Reimplemented from RooPrintable.

Definition at line 664 of file RooRealVar.cxx.

References RooAbsReal::_unit, RooAbsRealLValue::getBins(), RooAbsRealLValue::getMax(), RooAbsRealLValue::getMin(), RooAbsReal::getUnit(), RooAbsRealLValue::hasMax(), RooAbsRealLValue::hasMin(), RooAbsArg::isConstant(), and TString::IsNull().

void RooRealVar::printMultiline ( ostream &  os,
Int_t  contents,
Bool_t  verbose = kFALSE,
TString  indent = "" 
) const [virtual]

Reimplemented from RooAbsRealLValue.

Definition at line 713 of file RooRealVar.cxx.

References RooAbsReal::_unit, getError(), RooAbsRealLValue::printMultiline(), and unit.

Int_t RooRealVar::defaultPrintContents ( Option_t opt  )  const [virtual]

Reimplemented from RooAbsArg.

Definition at line 701 of file RooRealVar.cxx.

References RooPrintable::kClassName, RooPrintable::kExtras, RooPrintable::kName, and RooPrintable::kValue.

TString * RooRealVar::format ( const RooCmdArg formatArg  )  const

Definition at line 727 of file RooRealVar.cxx.

References RooCmdConfig::defineInt(), RooCmdConfig::defineMutex(), RooCmdConfig::defineString(), Form(), RooCmdConfig::getInt(), TNamed::GetName(), RooCmdConfig::getString(), RooCmdConfig::hasProcessed(), kTRUE, RooCmdConfig::ok(), RooCmdConfig::process(), and RooCmdArg::setProcessRecArgs().

Referenced by RooAbsPdf::paramOn(), RooAbsData::statOn(), and writeToStream().

TString * RooRealVar::format ( Int_t  sigDigits,
const char *  options 
) const

Definition at line 783 of file RooRealVar.cxx.

References _error, RooAbsReal::_unit, RooAbsReal::_value, buffer, chopAt(), ROOT::Math::fabs(), floor(), getAsymErrorHi(), getAsymErrorLo(), getError(), RooAbsReal::getPlotLabel(), hasAsymError(), hasError(), RooAbsArg::isConstant(), TString::IsNull(), kFALSE, kTRUE, log10(), opts, snprintf, and text().

void RooRealVar::printScientific ( Bool_t  flag = kFALSE  )  [static]

Definition at line 1127 of file RooRealVar.cxx.

References _printScientific.

Referenced by G__G__RooFitCore3_204_0_46(), and G__setup_memfuncRooRealVar().

void RooRealVar::printSigDigits ( Int_t  ndig = 5  )  [static]

Definition at line 1136 of file RooRealVar.cxx.

References _printSigDigits.

Referenced by G__G__RooFitCore3_204_0_47(), and G__setup_memfuncRooRealVar().

void RooRealVar::deleteSharedProperties (  ) 

Definition at line 1115 of file RooRealVar.cxx.

References _sharedProp, _sharedPropList, and RooSharedPropertiesList::unregisterProperties().

Referenced by RooFitResult::setConstParList(), RooFitResult::setFinalParList(), and RooFitResult::setInitParList().

void RooRealVar::setVal ( Double_t  value,
const char *  rangeName 
) [protected, virtual]

Reimplemented from RooAbsRealLValue.

Definition at line 198 of file RooRealVar.cxx.

References RooAbsReal::_value, RooAbsRealLValue::inRange(), and RooAbsArg::setValueDirty().

virtual void RooRealVar::setValFast ( Double_t  value  )  [inline, protected, virtual]

Reimplemented from RooAbsRealLValue.

Definition at line 120 of file RooRealVar.h.

References RooAbsReal::_value, and RooAbsArg::setValueDirty().

virtual Double_t RooRealVar::evaluate (  )  const [inline, protected, virtual]

Implements RooAbsReal.

Definition at line 123 of file RooRealVar.h.

References RooAbsReal::_value.

void RooRealVar::copyCache ( const RooAbsArg source,
Bool_t  valueOnly = kFALSE 
) [protected, virtual]

Reimplemented from RooAbsRealLValue.

Definition at line 1029 of file RooRealVar.cxx.

References _asymErrHi, _asymErrLo, _error, and RooAbsReal::copyCache().

void RooRealVar::attachToTree ( TTree t,
Int_t  bufSize = 32000 
) [protected, virtual]

Reimplemented from RooAbsReal.

Definition at line 940 of file RooRealVar.cxx.

References _asymErrHi, _asymErrLo, _error, TString::Append(), RooAbsReal::attachToTree(), RooAbsArg::getAttribute(), TNamed::GetName(), and t.

void RooRealVar::fillTreeBranch ( TTree t  )  [protected, virtual]

Reimplemented from RooAbsReal.

Definition at line 991 of file RooRealVar.cxx.

References TString::Append(), RooAbsArg::cleanBranchName(), coutE, RooFit::Eval, TBranch::Fill(), RooAbsArg::getAttribute(), TNamed::GetName(), and t.

Double_t RooRealVar::chopAt ( Double_t  what,
Int_t  where 
) const [protected]

Definition at line 927 of file RooRealVar.cxx.

References floor(), and pow().

Referenced by format().

RooRealVarSharedProperties* RooRealVar::sharedProp (  )  const [inline, protected]

Definition at line 136 of file RooRealVar.h.

References _sharedProp, _sharedPropList, and RooSharedPropertiesList::registerProperties().

Referenced by getBinning(), hasBinning(), RooRealVar(), setBinning(), and setRange().

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

Implements RooAbsArg.

Definition at line 44 of file RooRealVar.h.

References RooRealVar().

virtual Double_t RooRealVar::getVal ( const RooArgSet nset = 0  )  const [virtual]

Reimplemented from RooAbsReal.

virtual void RooRealVar::setVal ( Double_t  value  )  [virtual]

Implements RooAbsRealLValue.

Double_t RooRealVar::getError (  )  const [inline]

Definition at line 50 of file RooRealVar.h.

References _error.

Bool_t RooRealVar::hasError ( Bool_t  allowZero = kTRUE  )  const [inline]

Definition at line 51 of file RooRealVar.h.

References _error.

void RooRealVar::setError ( Double_t  value  )  [inline]

Definition at line 52 of file RooRealVar.h.

References _error.

void RooRealVar::removeError (  )  [inline]

Definition at line 53 of file RooRealVar.h.

References _error.

Double_t RooRealVar::getAsymErrorLo (  )  const [inline]

Definition at line 54 of file RooRealVar.h.

References _asymErrLo.

Double_t RooRealVar::getAsymErrorHi (  )  const [inline]

Definition at line 55 of file RooRealVar.h.

References _asymErrHi.

Bool_t RooRealVar::hasAsymError ( Bool_t  allowZero = kTRUE  )  const [inline]

Definition at line 56 of file RooRealVar.h.

References _asymErrHi, and _asymErrLo.

void RooRealVar::removeAsymError (  )  [inline]

Definition at line 57 of file RooRealVar.h.

References _asymErrHi, and _asymErrLo.

void RooRealVar::setAsymError ( Double_t  lo,
Double_t  hi 
) [inline]

Definition at line 58 of file RooRealVar.h.

References _asymErrHi, and _asymErrLo.

Double_t RooRealVar::getErrorLo (  )  const [inline]

Definition at line 59 of file RooRealVar.h.

References _asymErrLo, and _error.

Double_t RooRealVar::getErrorHi (  )  const [inline]

Definition at line 60 of file RooRealVar.h.

References _asymErrHi, and _error.

RooErrorVar* RooRealVar::errorVar (  )  const

void RooRealVar::setMin ( const char *  name,
Double_t  value 
)

void RooRealVar::setMax ( const char *  name,
Double_t  value 
)

void RooRealVar::setRange ( const char *  name,
Double_t  min,
Double_t  max 
)

void RooRealVar::setRange ( const char *  name,
RooAbsReal min,
RooAbsReal max 
)

void RooRealVar::setMin ( Double_t  value  )  [inline]

Definition at line 69 of file RooRealVar.h.

References setMin().

void RooRealVar::setMax ( Double_t  value  )  [inline]

Definition at line 70 of file RooRealVar.h.

References setMax().

void RooRealVar::setRange ( Double_t  min,
Double_t  max 
) [inline]

Definition at line 71 of file RooRealVar.h.

References setRange().

void RooRealVar::setRange ( RooAbsReal min,
RooAbsReal max 
) [inline]

Definition at line 72 of file RooRealVar.h.

References max, min, and setRange().

void RooRealVar::setBins ( Int_t  nBins,
const char *  name = 0 
) [inline]

Definition at line 74 of file RooRealVar.h.

References RooAbsRealLValue::getMax(), RooAbsRealLValue::getMin(), name, and setBinning().

void RooRealVar::setBinning ( const RooAbsBinning binning,
const char *  name = 0 
)

Bool_t RooRealVar::hasBinning ( const char *  name  )  const [virtual]

Implements RooAbsRealLValue.

const RooAbsBinning& RooRealVar::getBinning ( const char *  name = 0,
Bool_t  verbose = kTRUE,
Bool_t  createOnTheFly = kFALSE 
) const [virtual]

Implements RooAbsRealLValue.

RooAbsBinning& RooRealVar::getBinning ( const char *  name = 0,
Bool_t  verbose = kTRUE,
Bool_t  createOnTheFly = kFALSE 
) [virtual]

Implements RooAbsRealLValue.

void RooRealVar::removeMin ( const char *  name = 0  )  [inline]

Definition at line 83 of file RooRealVar.h.

References getBinning(), RooNumber::infinity(), name, and RooAbsBinning::setMin().

void RooRealVar::removeMax ( const char *  name = 0  )  [inline]

Definition at line 84 of file RooRealVar.h.

References getBinning(), RooNumber::infinity(), name, and RooAbsBinning::setMax().

void RooRealVar::removeRange ( const char *  name = 0  )  [inline]

Definition at line 85 of file RooRealVar.h.

References getBinning(), RooNumber::infinity(), name, and RooAbsBinning::setRange().

virtual Bool_t RooRealVar::readFromStream ( istream &  is,
Bool_t  compact,
Bool_t  verbose = kFALSE 
) [virtual]

Reimplemented from RooAbsRealLValue.

virtual void RooRealVar::writeToStream ( ostream &  os,
Bool_t  compact 
) const [virtual]

Reimplemented from RooAbsRealLValue.

virtual Bool_t RooRealVar::isFundamental (  )  const [inline, virtual]

Reimplemented from RooAbsArg.

Definition at line 92 of file RooRealVar.h.

References kTRUE.

virtual void RooRealVar::printValue ( ostream &  os  )  const [virtual]

Reimplemented from RooAbsReal.

virtual void RooRealVar::printExtras ( ostream &  os  )  const [virtual]

Reimplemented from RooPrintable.

virtual void RooRealVar::printMultiline ( ostream &  os,
Int_t  contents,
Bool_t  verbose = kFALSE,
TString  indent = "" 
) const [virtual]

Reimplemented from RooAbsRealLValue.

virtual Int_t RooRealVar::defaultPrintContents ( Option_t opt  )  const [virtual]

Reimplemented from RooAbsArg.

TString* RooRealVar::format ( const RooCmdArg formatArg  )  const

TString* RooRealVar::format ( Int_t  sigDigits,
const char *  options 
) const

static void RooRealVar::printScientific ( Bool_t  flag = kFALSE  )  [static]

static void RooRealVar::printSigDigits ( Int_t  ndig = 5  )  [static]

void RooRealVar::deleteSharedProperties (  ) 

virtual void RooRealVar::setVal ( Double_t  value,
const char *  rangeName 
) [protected, virtual]

Reimplemented from RooAbsRealLValue.

virtual void RooRealVar::setValFast ( Double_t  value  )  [inline, protected, virtual]

Reimplemented from RooAbsRealLValue.

Definition at line 120 of file RooRealVar.h.

References RooAbsReal::_value, and RooAbsArg::setValueDirty().

virtual Double_t RooRealVar::evaluate (  )  const [inline, protected, virtual]

Implements RooAbsReal.

Definition at line 123 of file RooRealVar.h.

References RooAbsReal::_value.

virtual void RooRealVar::copyCache ( const RooAbsArg source,
Bool_t  valueOnly = kFALSE 
) [protected, virtual]

Reimplemented from RooAbsRealLValue.

virtual void RooRealVar::attachToTree ( TTree t,
Int_t  bufSize = 32000 
) [protected, virtual]

Reimplemented from RooAbsReal.

virtual void RooRealVar::fillTreeBranch ( TTree t  )  [protected, virtual]

Reimplemented from RooAbsReal.

Double_t RooRealVar::chopAt ( Double_t  what,
Int_t  where 
) const [protected]

RooRealVarSharedProperties* RooRealVar::sharedProp (  )  const [inline, protected]

Definition at line 136 of file RooRealVar.h.

References _sharedProp, _sharedPropList, and RooSharedPropertiesList::registerProperties().


Member Data Documentation

Bool_t RooRealVar::_printScientific [static, protected]

Definition at line 116 of file RooRealVar.h.

Referenced by printScientific(), and writeToStream().

Int_t RooRealVar::_printSigDigits [static, protected]

Definition at line 117 of file RooRealVar.h.

Referenced by printSigDigits(), and writeToStream().

Double_t RooRealVar::_error [protected]

Definition at line 130 of file RooRealVar.h.

Referenced by attachToTree(), copyCache(), format(), getError(), getErrorHi(), getErrorLo(), hasError(), removeError(), and setError().

Double_t RooRealVar::_asymErrLo [protected]

Definition at line 131 of file RooRealVar.h.

Referenced by attachToTree(), copyCache(), getAsymErrorLo(), getErrorLo(), hasAsymError(), removeAsymError(), and setAsymError().

Double_t RooRealVar::_asymErrHi [protected]

Definition at line 132 of file RooRealVar.h.

Referenced by attachToTree(), copyCache(), getAsymErrorHi(), getErrorHi(), hasAsymError(), removeAsymError(), and setAsymError().

RooAbsBinning* RooRealVar::_binning [protected]

Definition at line 133 of file RooRealVar.h.

Referenced by getBinning(), RooRealVar(), setBinning(), and ~RooRealVar().

RooLinkedList RooRealVar::_altNonSharedBinning [protected]

Definition at line 134 of file RooRealVar.h.

Referenced by getBinning(), RooRealVar(), setBinning(), and ~RooRealVar().

RooSharedPropertiesList RooRealVar::_sharedPropList [static, protected]

Definition at line 143 of file RooRealVar.h.

Referenced by deleteSharedProperties(), RooRealVar(), sharedProp(), and ~RooRealVar().

RooRealVarSharedProperties RooRealVar::_nullProp [static, protected]

Definition at line 144 of file RooRealVar.h.

RooRealVarSharedProperties* RooRealVar::_sharedProp [mutable, protected]

Definition at line 145 of file RooRealVar.h.

Referenced by deleteSharedProperties(), RooRealVar(), sharedProp(), and ~RooRealVar().

RooAbsBinning* RooRealVar::_binning [protected]

Definition at line 133 of file RooRealVar.h.

RooRealVarSharedProperties* RooRealVar::_sharedProp [mutable, protected]

Definition at line 145 of file RooRealVar.h.


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