11 #ifndef ROOSTATS_HELPER 12 #define ROOSTATS_HELPER 29 namespace HistFactory{
33 void saveInputs(
TFile* outFile, std::string channel, std::vector<EstimateSummary> summaries);
37 TH1 *
GetHisto(
const std::string
file,
const std::string path,
const std::string obj );
39 bool AddSummaries( std::vector<EstimateSummary> & summary, std::vector<std::vector<EstimateSummary> > &master);
41 std::vector<std::pair<std::string, std::string> >
get_comb(std::vector<std::string> names);
void saveInputs(TFile *outFile, std::string channel, vector< EstimateSummary > summaries)
std::vector< RooStats::HistFactory::EstimateSummary > GetChannelEstimateSummaries(RooStats::HistFactory::Measurement &measurement, RooStats::HistFactory::Channel &channel)
vector< EstimateSummary > * loadSavedInputs(TFile *outFile, std::string channel)
TH1 * GetHisto(TFile *inFile, const std::string name)
void AddParamsToAsimov(RooStats::HistFactory::Asimov &asimov, std::string str)
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format...
void AddSubStrings(vector< std::string > &vs, std::string s)
vector< pair< std::string, std::string > > get_comb(vector< std::string > names)
Namespace for the RooStats classes.
static constexpr double s
std::vector< std::string > GetChildrenFromString(std::string str)
bool AddSummaries(std::vector< EstimateSummary > &summary, std::vector< std::vector< EstimateSummary > > &master)