CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Namespaces | Functions
utils.h File Reference
#include <vector>
#include <string>

Go to the source code of this file.

Classes

struct  utils::CheapValueSnapshot
 

Namespaces

 RooStats
 
 utils
 

Functions

bool utils::checkModel (const RooStats::ModelConfig &model, bool throwOnFail=false)
 
void utils::copyAttributes (const RooAbsArg &from, RooAbsArg &to)
 
void utils::factorizeFunc (const RooArgSet &observables, RooAbsReal &pdf, RooArgList &obsTerms, RooArgList &otherTerms, bool debug=false)
 factorize a RooAbsReal More...
 
RooAbsPdf * utils::factorizePdf (const RooArgSet &observables, RooAbsPdf &pdf, RooArgList &constraints)
 
void utils::factorizePdf (RooStats::ModelConfig &model, RooAbsPdf &pdf, RooArgList &obsTerms, RooArgList &constraints, bool debug=false)
 collect factors depending on observables in obsTerms, and all others in constraints More...
 
void utils::factorizePdf (const RooArgSet &observables, RooAbsPdf &pdf, RooArgList &obsTerms, RooArgList &constraints, bool debug=false)
 
RooAbsReal * utils::fullCloneFunc (const RooAbsReal *pdf, RooArgSet &holder, bool cloneLeafNodes=false)
 
RooAbsPdf * utils::fullClonePdf (const RooAbsPdf *pdf, RooArgSet &holder, bool cloneLeafNodes=false)
 
void utils::getClients (const RooAbsCollection &values, const RooAbsCollection &allObjects, RooAbsCollection &clients)
 add to 'clients' all object within allObjects that directly depend on values More...
 
void utils::guessChannelMode (RooSimultaneous &simPdf, RooAbsData &simData, bool verbose=false)
 
RooAbsPdf * utils::makeNuisancePdf (RooStats::ModelConfig &model, const char *name="nuisancePdf")
 
RooAbsPdf * utils::makeNuisancePdf (RooAbsPdf &pdf, const RooArgSet &observables, const char *name="nuisancePdf")
 
RooAbsPdf * utils::makeObsOnlyPdf (RooStats::ModelConfig &model, const char *name="obsPdf")
 Note: doesn't recompose Simultaneous pdfs properly, for that use factorizePdf method. More...
 
std::vector< RooPlot * > utils::makePlots (const RooAbsPdf &pdf, const RooAbsData &data, const char *signalSel=0, const char *backgroundSel=0, float rebinFactor=1.0)
 make plots, if possible More...
 
void utils::printPdf (RooAbsPdf *pdf)
 
void utils::printPdf (RooStats::ModelConfig &model)
 
void utils::printPdf (RooWorkspace *w, const char *pdfName)
 
void utils::printRAD (const RooAbsData *d)
 
void utils::printRDH (RooAbsData *data)
 
RooSimultaneous * utils::rebuildSimPdf (const RooArgSet &observables, RooSimultaneous *pdf)
 
bool utils::setAllConstant (const RooAbsCollection &coll, bool constant=true)
 set all RooRealVars to constants. return true if at least one changed status More...
 
void utils::tdrStyle ()
 set style for plots More...