Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
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
 
TH1GetHisto ()
 
const TH1GetHisto () const
 
std::string const & GetHistoName () const
 
std::string const & GetHistoPath () const
 
std::string const & GetInputFile () const
 
std::string const & GetName () const
 
void Print (std::ostream &=std::cout)
 
void PrintXML (std::ostream &) const
 
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 ( )
inline

Definition at line 29 of file Data.h.

◆ 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 20 of file Data.cxx.

Member Function Documentation

◆ GetHisto() [1/2]

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

Definition at line 24 of file Data.cxx.

◆ GetHisto() [2/2]

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

Definition at line 28 of file Data.cxx.

◆ GetHistoName()

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

Definition at line 40 of file Data.h.

◆ GetHistoPath()

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

Definition at line 43 of file Data.h.

◆ GetInputFile()

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

Definition at line 37 of file Data.h.

◆ GetName()

std::string const & RooStats::HistFactory::Data::GetName ( ) const
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) const

Definition at line 64 of file Data.cxx.

◆ SetHisto()

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

Definition at line 51 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 63 of file Data.h.

◆ fHistoName

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

Definition at line 58 of file Data.h.

◆ fHistoPath

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

Definition at line 59 of file Data.h.

◆ fInputFile

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

Definition at line 57 of file Data.h.

◆ fName

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

Definition at line 55 of file Data.h.

Libraries for RooStats::HistFactory::Data:

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