Logo ROOT  
Reference Guide
Loading...
Searching...
No Matches
RooFitImplHelpers.h File Reference
#include <RooAbsArg.h>
#include <RooAbsPdf.h>
#include <RooAbsReal.h>
#include <RooMsgService.h>
#include <RooNaNPacker.h>
#include <TMath.h>
#include <sstream>
#include <string>
#include <string_view>
#include <utility>
#include <vector>

Classes

struct  RooHelpers::BinnedLOutput
class  ChangeOperModeRAII
 Scope guard that temporarily changes the operation mode of one or more RooAbsArg instances. More...
class  DisableCachingRAII
 Disable all caches for sub-branches in an expression tree. More...

Namespaces

namespace  RooFit
 The namespace RooFit contains mostly switches that change the behaviour of functions of PDFs (or other types of arguments).
namespace  RooFit::Detail
namespace  RooHelpers
namespace  RooHelpers::Detail

Functions

bool RooHelpers::checkIfRangesOverlap (RooArgSet const &observables, std::vector< std::string > const &rangeNames)
template<class T>
std::unique_ptr< T > RooHelpers::cloneTreeWithSameParameters (T const &arg, RooArgSet const *observables=nullptr)
 Clone RooAbsArg object and reattach to original parameters.
RooAbsArgRooHelpers::Detail::cloneTreeWithSameParametersImpl (RooAbsArg const &arg, RooArgSet const *observables)
BinnedLOutput RooHelpers::getBinnedL (RooAbsPdf const &pdf)
std::string RooHelpers::getColonSeparatedNameString (RooArgSet const &argSet, char delim=':')
std::string RooHelpers::getRangeNameForSimComponent (std::string const &rangeName, bool splitRange, std::string const &catName)
std::pair< double, doubleRooHelpers::getRangeOrBinningInterval (RooAbsArg const *arg, const char *rangeName)
void RooHelpers::getSortedComputationGraph (RooAbsArg const &func, RooArgSet &out)
std::string RooFit::Detail::makeSliceCutString (RooArgSet const &sliceDataSet)
std::string RooFit::Detail::makeValidVarName (std::string const &in)
double RooFit::Detail::normalizeWithNaNPacking (RooAbsPdf const &pdf, double rawVal, double normVal)
void RooFit::Detail::replaceAll (std::string &inOut, std::string_view what, std::string_view with)
RooArgSet RooHelpers::selectFromArgSet (RooArgSet const &, std::string const &names)
bool RooHelpers::Detail::snapshotImpl (RooAbsCollection const &input, RooAbsCollection &output, bool deepCopy, RooArgSet const *observables)
double toDouble (const char *s)
double toDouble (const std::string &s)

Function Documentation

◆ toDouble() [1/2]

double toDouble ( const char * s)

◆ toDouble() [2/2]

double toDouble ( const std::string & s)