ROOT logo
ROOT » ROOFIT » HISTFACTORY » RooStats::HistFactory::Data

class RooStats::HistFactory::Data

Function Members (Methods)

public:
~Data()
RooStats::HistFactory::DataData()
RooStats::HistFactory::DataData(const RooStats::HistFactory::Data& other)
RooStats::HistFactory::DataData(string HistoName, string InputFile, string HistoPath = "")
TH1*GetHisto()
stringGetHistoName()
stringGetHistoPath()
stringGetInputFile()
stringGetName()
RooStats::HistFactory::Data&operator=(const RooStats::HistFactory::Data&)
voidPrint(ostream& = std::cout)
voidPrintXML(ostream&)
voidSetHisto(TH1* Hist)
voidSetHistoName(const string& HistoName)
voidSetHistoPath(const string& HistoPath)
voidSetInputFile(const string& InputFile)
voidSetName(const string& name)
voidwriteToFile(string FileName, string DirName)

Data Members

protected:
stringfHistoName
stringfHistoPath
stringfInputFile
stringfName
RooStats::HistFactory::HistReffhData

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

Data()
friend class Channel;
Data(const RooStats::HistFactory::Data& other)
 constructor from name, file and path. Name of the histogram should not include the path
Data(string HistoName, string InputFile, string HistoPath = "")
std::string GetName()
{ return fName; }
void SetName(const string& name)
{ fName=name; }
void SetInputFile(const string& InputFile)
{ fInputFile = InputFile; }
std::string GetInputFile()
{ return fInputFile; }
void SetHistoName(const string& HistoName)
{ fHistoName = HistoName; }
std::string GetHistoName()
{ return fHistoName; }
void SetHistoPath(const string& HistoPath)
{ fHistoPath = HistoPath; }
std::string GetHistoPath()
{ return fHistoPath; }
void Print(ostream& = std::cout)
void PrintXML(ostream& )
void writeToFile(string FileName, string DirName)
TH1* GetHisto()
void SetHisto(TH1* Hist)
{ fhData = Hist; fHistoName=Hist->GetName(); }