11 #ifndef HISTFACTORY_CHANNEL_H 12 #define HISTFACTORY_CHANNEL_H 24 namespace HistFactory {
34 Channel(std::string
Name, std::string InputFile=
"");
51 void SetData( std::string HistoName, std::string InputFile, std::string HistoPath=
"" );
73 void Print(std::ostream& = std::cout);
93 std::vector< RooStats::HistFactory::Sample >
fSamples;
96 TH1*
GetHistogram( std::string InputFile, std::string HistoPath, std::string HistoName );
void SetData(const RooStats::HistFactory::Data &data)
void AddAdditionalData(const RooStats::HistFactory::Data &data)
void SetStatErrorConfig(double RelErrorThreshold, Constraint::Type ConstraintType)
void SetInputFile(const std::string &file)
std::string GetInputFile()
void Print(std::ostream &=std::cout)
void PrintXML(std::string Directory, std::string Prefix="")
void SetStatErrorConfig(RooStats::HistFactory::StatErrorConfig Config)
std::vector< RooStats::HistFactory::Data > fAdditionalData
HistFactory::StatErrorConfig fStatErrorConfig
void SetHistoPath(const std::string &file)
std::string GetHistoPath()
void AddSample(RooStats::HistFactory::Sample sample)
Namespace for the RooStats classes.
HistFactory::StatErrorConfig & GetStatErrorConfig()
std::vector< RooStats::HistFactory::Sample > & GetSamples()
TH1 * GetHistogram(std::string InputFile, std::string HistoPath, std::string HistoName)
std::vector< RooStats::HistFactory::Data > & GetAdditionalData()
void SetName(const std::string &Name)
std::vector< RooStats::HistFactory::Sample > fSamples
RooStats::HistFactory::Data & GetData()