11 #ifndef HISTFACTORY_MEASUREMENT_H 12 #define HISTFACTORY_MEASUREMENT_H 28 namespace HistFactory {
47 void AddPOI(
const std::string& POI ) {
fPOI.push_back(POI); }
49 std::string
GetPOI(
unsigned int i=0) {
return fPOI.at(i); }
102 void PrintTree( std::ostream& = std::cout );
103 void PrintXML( std::string Directory=
"", std::string NewOutputPrefix=
"" );
140 std::vector< RooStats::HistFactory::Channel >
fChannels;
void AddUniformSyst(std::string syst)
std::vector< RooStats::HistFactory::Asimov > & GetAsimovDatasets()
std::string fInterpolationScheme
void SetPOI(const std::string &POI)
void SetBinHigh(int BinHigh)
std::map< std::string, double > & GetNoSyst()
void SetFunctionObjects(std::vector< RooStats::HistFactory::PreprocessFunction > objects)
std::map< std::string, double > fGammaSyst
void PrintXML(std::string Directory="", std::string NewOutputPrefix="")
std::string GetPOI(unsigned int i=0)
void SetOutputFilePrefix(const std::string &prefix)
A ROOT file is a suite of consecutive data records (TKey instances) with a well defined format...
void AddPreprocessFunction(std::string name, std::string expression, std::string dependencies)
std::vector< std::string > & GetPOIList()
std::string GetOutputFilePrefix()
void SetExportOnly(bool ExportOnly)
void SetLumi(double Lumi)
void AddPOI(const std::string &POI)
void AddChannel(RooStats::HistFactory::Channel chan)
std::vector< std::string > GetPreprocessFunctions()
std::vector< RooStats::HistFactory::Channel > fChannels
std::map< std::string, double > fParamValues
void AddFunctionObject(const RooStats::HistFactory::PreprocessFunction function)
#define ClassDef(name, id)
The TNamed class is the base class for all named ROOT classes.
bool HasChannel(std::string)
std::vector< RooStats::HistFactory::Channel > & GetChannels()
std::string GetDirPath(TDirectory *dir)
std::map< std::string, double > & GetUniformSyst()
std::vector< std::string > fConstantParams
std::map< std::string, double > & GetParamValues()
void AddGammaSyst(std::string syst, double uncert)
void AddConstantParam(const std::string ¶m)
std::vector< std::string > fPOI
std::vector< RooStats::HistFactory::Asimov > fAsimovDatasets
std::vector< std::string > & GetConstantParams()
void ClearConstantParams()
Namespace for the RooStats classes.
Describe directory structure in memory.
void AddNoSyst(std::string syst)
std::map< std::string, double > & GetLogNormSyst()
RooStats::HistFactory::Channel & GetChannel(std::string)
void SetBinLow(int BinLow)
void SetParamValue(const std::string ¶m, double value)
std::map< std::string, double > fLogNormSyst
std::map< std::string, double > fUniformSyst
std::vector< RooStats::HistFactory::PreprocessFunction > & GetFunctionObjects()
std::map< std::string, double > fNoSyst
void SetLumiRelErr(double RelErr)
std::string fOutputFilePrefix
void AddLogNormSyst(std::string syst, double uncert)
void PrintTree(std::ostream &=std::cout)
std::vector< RooStats::HistFactory::PreprocessFunction > fFunctionObjects
void AddAsimovDataset(RooStats::HistFactory::Asimov dataset)
void writeToFile(TFile *file)
std::map< std::string, double > & GetGammaSyst()