Logo ROOT   6.18/05
Reference Guide
List of all members | Public Member Functions | Protected Attributes | List of all members
RooStats::HistFactory::Data Class Reference

Definition at line 24 of file Data.h.

Public Member Functions

 Data ()
 
 Data (std::string HistoName, std::string InputFile, std::string HistoPath="")
 constructor from name, file and path. Name of the histogram should not include the path More...
 
TH1GetHisto ()
 
std::string GetHistoName ()
 
std::string GetHistoPath ()
 
std::string GetInputFile ()
 
std::string GetName ()
 
void Print (std::ostream &=std::cout)
 
void PrintXML (std::ostream &)
 
void SetHisto (TH1 *Hist)
 
void SetHistoName (const std::string &HistoName)
 
void SetHistoPath (const std::string &HistoPath)
 
void SetInputFile (const std::string &InputFile)
 
void SetName (const std::string &name)
 
void writeToFile (std::string FileName, std::string DirName)
 

Protected Attributes

HistRef fhData
 
std::string fHistoName
 
std::string fHistoPath
 
std::string fInputFile
 
std::string fName
 

#include <RooStats/HistFactory/Data.h>

Constructor & Destructor Documentation

◆ Data() [1/2]

RooStats::HistFactory::Data::Data ( )

Definition at line 20 of file Data.cxx.

◆ Data() [2/2]

RooStats::HistFactory::Data::Data ( std::string  HistoName,
std::string  InputFile,
std::string  HistoPath = "" 
)

constructor from name, file and path. Name of the histogram should not include the path

Definition at line 24 of file Data.cxx.

Member Function Documentation

◆ GetHisto()

TH1 * RooStats::HistFactory::Data::GetHisto ( )

Definition at line 28 of file Data.cxx.

◆ GetHistoName()

std::string RooStats::HistFactory::Data::GetHistoName ( )
inline

Definition at line 40 of file Data.h.

◆ GetHistoPath()

std::string RooStats::HistFactory::Data::GetHistoPath ( )
inline

Definition at line 43 of file Data.h.

◆ GetInputFile()

std::string RooStats::HistFactory::Data::GetInputFile ( )
inline

Definition at line 37 of file Data.h.

◆ GetName()

std::string RooStats::HistFactory::Data::GetName ( )
inline

Definition at line 33 of file Data.h.

◆ Print()

void RooStats::HistFactory::Data::Print ( std::ostream &  stream = std::cout)

Definition at line 33 of file Data.cxx.

◆ PrintXML()

void RooStats::HistFactory::Data::PrintXML ( std::ostream &  xml)

Definition at line 64 of file Data.cxx.

◆ SetHisto()

void RooStats::HistFactory::Data::SetHisto ( TH1 Hist)
inline

Definition at line 50 of file Data.h.

◆ SetHistoName()

void RooStats::HistFactory::Data::SetHistoName ( const std::string &  HistoName)
inline

Definition at line 39 of file Data.h.

◆ SetHistoPath()

void RooStats::HistFactory::Data::SetHistoPath ( const std::string &  HistoPath)
inline

Definition at line 42 of file Data.h.

◆ SetInputFile()

void RooStats::HistFactory::Data::SetInputFile ( const std::string &  InputFile)
inline

Definition at line 36 of file Data.h.

◆ SetName()

void RooStats::HistFactory::Data::SetName ( const std::string &  name)
inline

Definition at line 34 of file Data.h.

◆ writeToFile()

void RooStats::HistFactory::Data::writeToFile ( std::string  FileName,
std::string  DirName 
)

Definition at line 44 of file Data.cxx.

Member Data Documentation

◆ fhData

HistRef RooStats::HistFactory::Data::fhData
protected

Definition at line 62 of file Data.h.

◆ fHistoName

std::string RooStats::HistFactory::Data::fHistoName
protected

Definition at line 57 of file Data.h.

◆ fHistoPath

std::string RooStats::HistFactory::Data::fHistoPath
protected

Definition at line 58 of file Data.h.

◆ fInputFile

std::string RooStats::HistFactory::Data::fInputFile
protected

Definition at line 56 of file Data.h.

◆ fName

std::string RooStats::HistFactory::Data::fName
protected

Definition at line 54 of file Data.h.

Libraries for RooStats::HistFactory::Data:
[legend]

The documentation for this class was generated from the following files: