Logo ROOT   master
Reference Guide
RooStats::HistFactory Namespace Reference

Namespaces

 Constraint
 

Classes

class  Asimov
 TODO Here, we are missing some documentation. More...
 
class  Channel
 This class encapsulates all information for the statistical interpretation of one experiment. More...
 
class  ConfigParser
 TODO Add documentation. More...
 
class  Data
 
class  EstimateSummary
 
class  FlexibleInterpVar
 
class  hf_exc
 
class  HistFactoryNavigation
 
class  HistFactorySimultaneous
 RooSimultaneous facilitates simultaneous fitting of multiple PDFs to subsets of a given dataset. More...
 
class  HistoFactor
 Configuration for an *un*constrained, coherent shape variation of affected samples. More...
 
class  HistogramUncertaintyBase
 ////////////////////////////////////////////////////////////////////////////////////////////Base class to store the up and down variations for histogram uncertainties. More...
 
class  HistoSys
 Configuration for a constrained, coherent shape variation of affected samples. More...
 
class  HistoToWorkspaceFactory
 
class  HistoToWorkspaceFactoryFast
 This class provides helper functions for creating likelihood models from histograms. More...
 
class  HistRef
 Internal class wrapping an histogram and managing its content. More...
 
class  LinInterpVar
 RooAbsReal that does piecewise-linear interpolations. More...
 
class  Measurement
 The RooStats::HistFactory::Measurement class can be used to construct a model by combining multiple RooStats::HistFactory::Channel objects. More...
 
class  NormFactor
 Configuration for an un- constrained overall systematic to scale sample normalisations. More...
 
class  OverallSys
 Configuration for a constrained overall systematic to scale sample normalisations. More...
 
class  PreprocessFunction
 
class  RooBarlowBeestonLL
 Class RooBarlowBeestonLL implements the profile likelihood estimator for a given likelihood and set of parameters of interest. More...
 
class  Sample
 
class  ShapeFactor
 *Un*constrained bin-by-bin variation of affected histogram. More...
 
class  ShapeSys
 Constrained bin-by-bin variation of affected histogram. More...
 
class  StatError
 Statistical error of Monte Carlo predictions. More...
 
class  StatErrorConfig
 Configuration to automatically assign nuisance parameters for the statistical error of the Monte Carlo simulations. More...
 

Functions

void AddParamsToAsimov (RooStats::HistFactory::Asimov &asimov, std::string str)
 
void AddSubStrings (vector< std::string > &vs, std::string s)
 
bool AddSummaries (std::vector< EstimateSummary > &summary, std::vector< std::vector< EstimateSummary > > &master)
 
std::string channelNameFromPdf (RooAbsPdf *channelPdf)
 
void FactorizeHistFactoryPdf (const RooArgSet &, RooAbsPdf &, RooArgList &, RooArgList &)
 
void fastDriver (std::string input)
 
void FitModel (RooWorkspace *, std::string data_name="obsData")
 
void FitModelAndPlot (const std::string &measurementName, const std::string &fileNamePrefix, RooWorkspace *, std::string, std::string, TFile *, FILE *)
 
void FormatFrameForLikelihood (RooPlot *frame, std::string xTitle=std::string("#sigma / #sigma_{SM}"), std::string yTitle=std::string("-log likelihood"))
 
vector< pair< std::string, std::string > > get_comb (vector< std::string > names)
 
std::vector< RooStats::HistFactory::EstimateSummaryGetChannelEstimateSummaries (RooStats::HistFactory::Measurement &measurement, RooStats::HistFactory::Channel &channel)
 
std::vector< std::string > GetChildrenFromString (std::string str)
 
void getDataValuesForObservables (std::map< std::string, std::vector< double > > &ChannelBinDataMap, RooAbsData *data, RooAbsPdf *simPdf)
 
TH1GetHisto (TFile *inFile, const std::string name)
 
TH1GetHisto (const std::string file, const std::string path, const std::string obj)
 
int getStatUncertaintyConstraintTerm (RooArgList *constraints, RooRealVar *gamma_stat, RooAbsReal *&pois_mean, RooRealVar *&tau)
 
bool getStatUncertaintyFromChannel (RooAbsPdf *channel, ParamHistFunc *&paramfunc, RooArgList *gammaList)
 
RooAbsPdfgetSumPdfFromChannel (RooAbsPdf *channel)
 
vector< EstimateSummary > * loadSavedInputs (TFile *outFile, std::string channel)
 
RooWorkspaceMakeModelAndMeasurementFast (RooStats::HistFactory::Measurement &measurement)
 
More...
 
void saveInputs (TFile *outFile, std::string channel, vector< EstimateSummary > summaries)
 

Variables

Channel BadChannel
 

Function Documentation

◆ AddParamsToAsimov()

void RooStats::HistFactory::AddParamsToAsimov ( RooStats::HistFactory::Asimov asimov,
std::string  str 
)

Definition at line 199 of file Helper.cxx.

◆ AddSubStrings()

void RooStats::HistFactory::AddSubStrings ( vector< std::string > &  vs,
std::string  s 
)

Definition at line 165 of file Helper.cxx.

◆ AddSummaries()

bool RooStats::HistFactory::AddSummaries ( std::vector< EstimateSummary > &  summary,
std::vector< std::vector< EstimateSummary > > &  master 
)

◆ fastDriver()

void RooStats::HistFactory::fastDriver ( std::string  input)

Definition at line 35 of file hist2workspace.cxx.

◆ FitModel()

void RooStats::HistFactory::FitModel ( RooWorkspace combined,
std::string  data_name = "obsData" 
)

Definition at line 475 of file MakeModelAndMeasurementsFast.cxx.

◆ FitModelAndPlot()

void RooStats::HistFactory::FitModelAndPlot ( const std::string &  measurementName,
const std::string &  fileNamePrefix,
RooWorkspace combined,
std::string  channel,
std::string  data_name,
TFile outFile,
FILE *  tableFile 
)

Definition at line 305 of file MakeModelAndMeasurementsFast.cxx.

◆ FormatFrameForLikelihood()

void RooStats::HistFactory::FormatFrameForLikelihood ( RooPlot frame,
std::string  xTitle = std::string("#sigma / #sigma_{SM}"),
std::string  yTitle = std::string("-log likelihood") 
)

Definition at line 502 of file MakeModelAndMeasurementsFast.cxx.

◆ get_comb()

std::vector< std::pair< std::string, std::string > > RooStats::HistFactory::get_comb ( vector< std::string >  names)

Definition at line 38 of file Helper.cxx.

◆ GetChannelEstimateSummaries()

std::vector< EstimateSummary > RooStats::HistFactory::GetChannelEstimateSummaries ( RooStats::HistFactory::Measurement measurement,
RooStats::HistFactory::Channel channel 
)

Definition at line 257 of file Helper.cxx.

◆ GetChildrenFromString()

std::vector< std::string > RooStats::HistFactory::GetChildrenFromString ( std::string  str)

Definition at line 179 of file Helper.cxx.

◆ GetHisto() [1/2]

TH1 * RooStats::HistFactory::GetHisto ( TFile inFile,
const std::string  name 
)

Definition at line 115 of file Helper.cxx.

◆ GetHisto() [2/2]

TH1 * RooStats::HistFactory::GetHisto ( const std::string  file,
const std::string  path,
const std::string  obj 
)

Definition at line 136 of file Helper.cxx.

◆ loadSavedInputs()

std::vector< EstimateSummary > * RooStats::HistFactory::loadSavedInputs ( TFile outFile,
std::string  channel 
)

Definition at line 49 of file Helper.cxx.

◆ saveInputs()

void RooStats::HistFactory::saveInputs ( TFile outFile,
std::string  channel,
vector< EstimateSummary summaries 
)

Definition at line 79 of file Helper.cxx.

Variable Documentation

◆ BadChannel

Channel RooStats::HistFactory::BadChannel

Definition at line 60 of file Channel.cxx.