Logo ROOT   6.14/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 (const Data &other)
 
 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/3]

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

Definition at line 25 of file Data.cxx.

◆ Data() [2/3]

RooStats::HistFactory::Data::Data ( const Data other)

Definition at line 29 of file Data.cxx.

◆ Data() [3/3]

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

Member Function Documentation

◆ GetHisto()

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

Definition at line 41 of file Data.cxx.

◆ GetHistoName()

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

Definition at line 41 of file Data.h.

◆ GetHistoPath()

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

Definition at line 44 of file Data.h.

◆ GetInputFile()

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

Definition at line 38 of file Data.h.

◆ GetName()

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

Definition at line 34 of file Data.h.

◆ Print()

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

Definition at line 46 of file Data.cxx.

◆ PrintXML()

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

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

◆ SetHistoPath()

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

Definition at line 43 of file Data.h.

◆ SetInputFile()

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

Definition at line 37 of file Data.h.

◆ SetName()

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

Definition at line 35 of file Data.h.

◆ writeToFile()

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

Definition at line 57 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:
[legend]

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