ROOT  6.06/08
Reference Guide
Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
RooStats::HistFactory::Channel Class Reference

Definition at line 26 of file Channel.h.

Public Member Functions

 Channel ()
 
 Channel (const Channel &other)
 
 Channel (std::string Name, std::string InputFile="")
 
void SetName (const std::string &Name)
 
std::string GetName ()
 
void SetInputFile (const std::string &file)
 
std::string GetInputFile ()
 
void SetHistoPath (const std::string &file)
 
std::string GetHistoPath ()
 
void SetData (const RooStats::HistFactory::Data &data)
 
void SetData (std::string HistoName, std::string InputFile, std::string HistoPath="")
 
void SetData (double Val)
 
void SetData (TH1 *hData)
 
RooStats::HistFactory::DataGetData ()
 
void AddAdditionalData (const RooStats::HistFactory::Data &data)
 
std::vector< RooStats::HistFactory::Data > & GetAdditionalData ()
 
void SetStatErrorConfig (double RelErrorThreshold, Constraint::Type ConstraintType)
 
void SetStatErrorConfig (double RelErrorThreshold, std::string ConstraintType)
 
void SetStatErrorConfig (RooStats::HistFactory::StatErrorConfig Config)
 
HistFactory::StatErrorConfigGetStatErrorConfig ()
 
void AddSample (RooStats::HistFactory::Sample sample)
 
std::vector< RooStats::HistFactory::Sample > & GetSamples ()
 
void Print (std::ostream &=std::cout)
 
void PrintXML (std::string Directory, std::string Prefix="")
 
void CollectHistograms ()
 
bool CheckHistograms ()
 

Protected Member Functions

TH1GetHistogram (std::string InputFile, std::string HistoPath, std::string HistoName)
 

Protected Attributes

std::string fName
 
std::string fInputFile
 
std::string fHistoPath
 
HistFactory::Data fData
 
std::vector< RooStats::HistFactory::DatafAdditionalData
 
HistFactory::StatErrorConfig fStatErrorConfig
 
std::vector< RooStats::HistFactory::SamplefSamples
 

Friends

class Measurement
 

#include <RooStats/HistFactory/Channel.h>

+ Collaboration diagram for RooStats::HistFactory::Channel:

Constructor & Destructor Documentation

§ Channel() [1/3]

RooStats::HistFactory::Channel::Channel ( )

Definition at line 38 of file Channel.cxx.

§ Channel() [2/3]

RooStats::HistFactory::Channel::Channel ( const Channel other)

Definition at line 44 of file Channel.cxx.

§ Channel() [3/3]

RooStats::HistFactory::Channel::Channel ( std::string  Name,
std::string  InputFile = "" 
)

Definition at line 55 of file Channel.cxx.

Member Function Documentation

§ AddAdditionalData()

void RooStats::HistFactory::Channel::AddAdditionalData ( const RooStats::HistFactory::Data data)
inline

Definition at line 58 of file Channel.h.

Referenced by RooStats::HistFactory::ConfigParser::ParseChannelXMLFile().

§ AddSample()

void RooStats::HistFactory::Channel::AddSample ( RooStats::HistFactory::Sample  sample)

Definition at line 70 of file Channel.cxx.

Referenced by GetStatErrorConfig().

§ CheckHistograms()

bool RooStats::HistFactory::Channel::CheckHistograms ( )

§ CollectHistograms()

void RooStats::HistFactory::Channel::CollectHistograms ( )

§ GetAdditionalData()

std::vector<RooStats::HistFactory::Data>& RooStats::HistFactory::Channel::GetAdditionalData ( )
inline

§ GetData()

RooStats::HistFactory::Data& RooStats::HistFactory::Channel::GetData ( )
inline

§ GetHistogram()

TH1 * RooStats::HistFactory::Channel::GetHistogram ( std::string  InputFile,
std::string  HistoPath,
std::string  HistoName 
)
protected

Definition at line 454 of file Channel.cxx.

Referenced by CollectHistograms().

§ GetHistoPath()

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

Definition at line 47 of file Channel.h.

Referenced by RooStats::HistFactory::ConfigParser::ParseChannelXMLFile().

§ GetInputFile()

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

Definition at line 43 of file Channel.h.

Referenced by RooStats::HistFactory::ConfigParser::ParseChannelXMLFile().

§ GetName()

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

§ GetSamples()

std::vector< RooStats::HistFactory::Sample >& RooStats::HistFactory::Channel::GetSamples ( )
inline

§ GetStatErrorConfig()

HistFactory::StatErrorConfig& RooStats::HistFactory::Channel::GetStatErrorConfig ( )
inline

§ Print()

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

§ PrintXML()

void RooStats::HistFactory::Channel::PrintXML ( std::string  Directory,
std::string  Prefix = "" 
)

Definition at line 108 of file Channel.cxx.

Referenced by GetSamples().

§ SetData() [1/4]

void RooStats::HistFactory::Channel::SetData ( const RooStats::HistFactory::Data data)
inline

Definition at line 50 of file Channel.h.

Referenced by RooStats::HistFactory::ConfigParser::ParseChannelXMLFile(), and SetData().

§ SetData() [2/4]

void RooStats::HistFactory::Channel::SetData ( std::string  HistoName,
std::string  InputFile,
std::string  HistoPath = "" 
)

Definition at line 169 of file Channel.cxx.

§ SetData() [3/4]

void RooStats::HistFactory::Channel::SetData ( double  Val)

Definition at line 186 of file Channel.cxx.

§ SetData() [4/4]

void RooStats::HistFactory::Channel::SetData ( TH1 hData)

Definition at line 181 of file Channel.cxx.

§ SetHistoPath()

void RooStats::HistFactory::Channel::SetHistoPath ( const std::string &  file)
inline

Definition at line 45 of file Channel.h.

Referenced by RooStats::HistFactory::ConfigParser::ParseChannelXMLFile().

§ SetInputFile()

void RooStats::HistFactory::Channel::SetInputFile ( const std::string &  file)
inline

Definition at line 41 of file Channel.h.

Referenced by RooStats::HistFactory::ConfigParser::ParseChannelXMLFile().

§ SetName()

void RooStats::HistFactory::Channel::SetName ( const std::string &  Name)
inline

Definition at line 37 of file Channel.h.

Referenced by RooStats::HistFactory::ConfigParser::ParseChannelXMLFile().

§ SetStatErrorConfig() [1/3]

void RooStats::HistFactory::Channel::SetStatErrorConfig ( double  RelErrorThreshold,
Constraint::Type  ConstraintType 
)

§ SetStatErrorConfig() [2/3]

void RooStats::HistFactory::Channel::SetStatErrorConfig ( double  RelErrorThreshold,
std::string  ConstraintType 
)

Definition at line 213 of file Channel.cxx.

§ SetStatErrorConfig() [3/3]

void RooStats::HistFactory::Channel::SetStatErrorConfig ( RooStats::HistFactory::StatErrorConfig  Config)
inline

Definition at line 65 of file Channel.h.

Friends And Related Function Documentation

§ Measurement

friend class Measurement
friend

Definition at line 30 of file Channel.h.

Member Data Documentation

§ fAdditionalData

std::vector<RooStats::HistFactory::Data> RooStats::HistFactory::Channel::fAdditionalData
protected

Definition at line 89 of file Channel.h.

Referenced by AddAdditionalData(), CollectHistograms(), and GetAdditionalData().

§ fData

HistFactory::Data RooStats::HistFactory::Channel::fData
protected

§ fHistoPath

std::string RooStats::HistFactory::Channel::fHistoPath
protected

Definition at line 83 of file Channel.h.

Referenced by GetHistoPath(), and SetHistoPath().

§ fInputFile

std::string RooStats::HistFactory::Channel::fInputFile
protected

Definition at line 82 of file Channel.h.

Referenced by GetInputFile(), Print(), PrintXML(), and SetInputFile().

§ fName

std::string RooStats::HistFactory::Channel::fName
protected

Definition at line 81 of file Channel.h.

Referenced by GetName(), Print(), PrintXML(), SetData(), and SetName().

§ fSamples

std::vector< RooStats::HistFactory::Sample > RooStats::HistFactory::Channel::fSamples
protected

Definition at line 93 of file Channel.h.

Referenced by AddSample(), CheckHistograms(), CollectHistograms(), GetSamples(), Print(), and PrintXML().

§ fStatErrorConfig

HistFactory::StatErrorConfig RooStats::HistFactory::Channel::fStatErrorConfig
protected

Definition at line 91 of file Channel.h.

Referenced by GetStatErrorConfig(), Print(), PrintXML(), and SetStatErrorConfig().


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