53usage: hist2workspace [-h] [-v] [-vv] [-disable_binned_fit_optimization]
55hist2workspace is a utility to create RooFit/RooStats workspace from histograms
58 -h, --help show this help message and exit
59 -v switch HistFactory message stream to INFO level
60 -vv switch HistFactory message stream to DEBUG level
61 -disable_binned_fit_optimization disable the binned fit optimization used in HistFactory since ROOT 6.28
66 namespace HistFactory {
109 std::cerr <<
"need input file" << std::endl;
114 gROOT->SetMustClean(
false);
115 cxcoutIHF <<
"hist2workspace is less verbose now. Use -v and -vv for more details." << std::endl;
123 for (
int i=1; i <
argc; ++i) {
137 if (
input ==
"-vv") {
143 if(
input ==
"-disable_binned_fit_optimization") {
144 cfg.binnedFitOptimization =
false;
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void input
static RooMsgService & instance()
Return reference to singleton instance.
The RooStats::HistFactory::Measurement class can be used to construct a model by combining multiple R...
static constexpr const char kCommandLineOptionsHelp[]
void fastDriver(std::string const &input, HistoToWorkspaceFactoryFast::Configuration const &cfg)
RooFit::OwningPtr< RooWorkspace > MakeModelAndMeasurementFast(RooStats::HistFactory::Measurement &measurement, HistoToWorkspaceFactoryFast::Configuration const &cfg={})
Namespace for the RooStats classes.
Configuration settings for HistFactory behavior.