ROOT » ROOFIT » HISTFACTORY » RooStats::HistFactory::Sample

class RooStats::HistFactory::Sample




Function Members (Methods)

public:
~Sample()
voidActivateStatError()
voidActivateStatError(string HistoName, string InputFile, string HistoPath = "")
voidAddHistoFactor(const RooStats::HistFactory::HistoFactor& Factor)
voidAddHistoFactor(string Name, string HistoNameLow, string HistoFileLow, string HistoPathLow, string HistoNameHigh, string HistoFileHigh, string HistoPathHigh)
voidAddHistoSys(const RooStats::HistFactory::HistoSys& Sys)
voidAddHistoSys(string Name, string HistoNameLow, string HistoFileLow, string HistoPathLow, string HistoNameHigh, string HistoFileHigh, string HistoPathHigh)
voidAddNormFactor(const RooStats::HistFactory::NormFactor& Factor)
voidAddNormFactor(string Name, Double_t Val, Double_t Low, Double_t High, bool Const = false)
voidAddOverallSys(const RooStats::HistFactory::OverallSys& Sys)
voidAddOverallSys(string Name, Double_t Low, Double_t High)
voidAddShapeFactor(string Name)
voidAddShapeFactor(const RooStats::HistFactory::ShapeFactor& Factor)
voidAddShapeSys(const RooStats::HistFactory::ShapeSys& Sys)
voidAddShapeSys(string Name, RooStats::HistFactory::Constraint::Type ConstraintType, string HistoName, string HistoFile, string HistoPath = "")
stringGetChannelName()
TH1*GetHisto()
vector<RooStats::HistFactory::HistoFactor>&GetHistoFactorList()
stringGetHistoName()
stringGetHistoPath()
vector<RooStats::HistFactory::HistoSys>&GetHistoSysList()
stringGetInputFile()
stringGetName()
boolGetNormalizeByTheory()
vector<RooStats::HistFactory::NormFactor>&GetNormFactorList()
vector<RooStats::HistFactory::OverallSys>&GetOverallSysList()
vector<RooStats::HistFactory::ShapeFactor>&GetShapeFactorList()
vector<RooStats::HistFactory::ShapeSys>&GetShapeSysList()
RooStats::HistFactory::StatError&GetStatError()
RooStats::HistFactory::Sample&operator=(const RooStats::HistFactory::Sample&)
voidPrint(ostream& = std::cout)
voidPrintXML(ofstream& xml)
RooStats::HistFactory::SampleSample()
RooStats::HistFactory::SampleSample(string Name)
RooStats::HistFactory::SampleSample(const RooStats::HistFactory::Sample& other)
RooStats::HistFactory::SampleSample(string Name, string HistoName, string InputFile, string HistoPath = "")
voidSetChannelName(const string& ChannelName)
voidSetHisto(TH1* histo)
voidSetHistoName(const string& HistoName)
voidSetHistoPath(const string& HistoPath)
voidSetInputFile(const string& InputFile)
voidSetName(const string& Name)
voidSetNormalizeByTheory(bool norm)
voidSetStatError(RooStats::HistFactory::StatError Error)
voidSetValue(Double_t Val)
voidwriteToFile(string FileName, string DirName)

Data Members

protected:
stringfChannelName
vector<RooStats::HistFactory::HistoFactor>fHistoFactorList
stringfHistoName
stringfHistoPath
vector<RooStats::HistFactory::HistoSys>fHistoSysList
stringfInputFile
stringfName
vector<RooStats::HistFactory::NormFactor>fNormFactorList
boolfNormalizeByTheory
vector<RooStats::HistFactory::OverallSys>fOverallSysList
vector<RooStats::HistFactory::ShapeFactor>fShapeFactorList
vector<RooStats::HistFactory::ShapeSys>fShapeSysList
RooStats::HistFactory::StatErrorfStatError
boolfStatErrorActivate
TH1*fhCountingHist
RooStats::HistFactory::HistReffhNominal

Class Charts

Inheritance Inherited Members Includes Libraries
Class Charts

Function documentation

Sample()
{ ; }
Sample(const Sample& other)
Sample(string Name, string HistoName, string InputFile, string HistoPath = "")
{ ; }
Sample(string Name)
{ ; }
~Sample()
TH1* GetHisto()
void writeToFile(string FileName, string DirName)
void SetValue(Double_t Val)
void Print(ostream& = std::cout)
void PrintXML(ofstream& xml)
void ActivateStatError()
void ActivateStatError(string HistoName, string InputFile, string HistoPath = "")
void AddOverallSys(string Name, Double_t Low, Double_t High)
void AddOverallSys(const RooStats::HistFactory::OverallSys& Sys)
void AddNormFactor(string Name, Double_t Val, Double_t Low, Double_t High, bool Const = false)
void AddNormFactor(const RooStats::HistFactory::NormFactor& Factor)
void AddHistoSys(string Name, string HistoNameLow, string HistoFileLow, string HistoPathLow, string HistoNameHigh, string HistoFileHigh, string HistoPathHigh)
void AddHistoSys(const RooStats::HistFactory::HistoSys& Sys)
void AddHistoFactor(string Name, string HistoNameLow, string HistoFileLow, string HistoPathLow, string HistoNameHigh, string HistoFileHigh, string HistoPathHigh)
void AddHistoFactor(const RooStats::HistFactory::HistoFactor& Factor)
void AddShapeFactor(string Name)
void AddShapeFactor(const RooStats::HistFactory::ShapeFactor& Factor)
void AddShapeSys(string Name, RooStats::HistFactory::Constraint::Type ConstraintType, string HistoName, string HistoFile, string HistoPath = "")
void AddShapeSys(const RooStats::HistFactory::ShapeSys& Sys)
void SetHisto(TH1* histo)
 set histogram for this sample
{ fhNominal = histo; fHistoName=histo->GetName(); }
void SetNormalizeByTheory(bool norm)
 defines whether the normalization scale with luminosity
{ fNormalizeByTheory = norm; }
bool GetNormalizeByTheory()
 does the normalization scale with luminosity
{ return fNormalizeByTheory; }
std::string GetName()
 get name of sample
{ return fName; }
void SetName(const string& Name)
 set name of sample
{ fName = Name; }
std::string GetInputFile()
 get input ROOT file
{ return fInputFile; }
void SetInputFile(const string& InputFile)
 set input ROOT file
{ fInputFile = InputFile; }
std::string GetHistoName()
 get histogram name
{ return fHistoName; }
void SetHistoName(const string& HistoName)
 set histogram name
{ fHistoName = HistoName; }
std::string GetHistoPath()
 get histogram path
{ return fHistoPath; }
void SetHistoPath(const string& HistoPath)
 set histogram path
{ fHistoPath = HistoPath; }
std::string GetChannelName()
 get name of associated channel
{ return fChannelName; }
void SetChannelName(const string& ChannelName)
 set name of associated channel
{ fChannelName = ChannelName; }
std::vector< RooStats::HistFactory::OverallSys >& GetOverallSysList()
{ return fOverallSysList; }
std::vector< RooStats::HistFactory::NormFactor >& GetNormFactorList()
{ return fNormFactorList; }
std::vector< RooStats::HistFactory::HistoSys >& GetHistoSysList()
{ return fHistoSysList; }
std::vector< RooStats::HistFactory::HistoFactor >& GetHistoFactorList()
{ return fHistoFactorList; }
std::vector< RooStats::HistFactory::ShapeSys >& GetShapeSysList()
{ return fShapeSysList; }
std::vector< RooStats::HistFactory::ShapeFactor >& GetShapeFactorList()
{ return fShapeFactorList; }
RooStats::HistFactory::StatError& GetStatError()
{ return fStatError; }
void SetStatError(RooStats::HistFactory::StatError Error)
{ fStatError = Error; }