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);
116 cxcoutIHF <<
"hist2workspace is less verbose now. Use -v and -vv for more details." << std::endl;
124 for (
int i=1; i <
argc; ++i) {
138 if (
input ==
"-vv") {
144 if(
input ==
"-disable_binned_fit_optimization") {
145 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 void AddDirectory(Bool_t add=kTRUE)
Sets the flag controlling the automatic add objects like histograms, TGraph2D, etc in memory.
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.