28 fNormalizeByTheory(false), fStatErrorActivate(false), fhNominal(), fhCountingHist(0) { ; }
122 std::string SampleHistName =
fName +
"_hist";
142 stream <<
"\t \t Name: " <<
fName 148 stream <<
"\t \t \t \t " 152 <<
"\t HistoAddress: " <<
GetHisto()
183 xml <<
" <Sample Name=\"" <<
fName <<
"\" " 187 <<
" NormalizeByTheory=\"" << (
fNormalizeByTheory ? std::string(
"True") : std::string(
"False")) <<
"\" " 282 xml <<
" </Sample>" << std::endl;
349 std::string SysHistoNameLow, std::string SysHistoFileLow, std::string SysHistoPathLow,
350 std::string SysHistoNameHigh, std::string SysHistoFileHigh, std::string SysHistoPathHigh ) {
373 std::string SysHistoNameHigh, std::string SysHistoFileHigh, std::string SysHistoPathHigh ) {
virtual const char * GetName() const
Returns name of object.
virtual Int_t Write(const char *name=0, Int_t option=0, Int_t bufsize=0)
Write this object to the current directory.
void SetName(const std::string &Name)
RooStats::HistFactory::StatError & GetStatError()
void ActivateStatError()
Note that histogram name should not include the path of the histogram in the file.
void SetConstraintType(Constraint::Type ConstrType)
void SetHistoNameHigh(const std::string &HistoNameHigh)
std::string GetHistoName()
void PrintXML(std::ostream &)
void SetHistoPathLow(const std::string &HistoPathLow)
THist< 1, float, THistStatContent, THistStatUncertainty > TH1F
void PrintXML(std::ostream &)
virtual Double_t GetBinContent(Int_t bin) const
Return content of bin number bin.
std::vector< RooStats::HistFactory::ShapeFactor > fShapeFactorList
void SetHistoPathHigh(const std::string &HistoPathHigh)
std::vector< RooStats::HistFactory::NormFactor > fNormFactorList
RooStats::HistFactory::StatError fStatError
std::vector< RooStats::HistFactory::HistoSys > & GetHistoSysList()
void AddShapeFactor(std::string Name)
std::vector< RooStats::HistFactory::HistoFactor > fHistoFactorList
void AddHistoFactor(std::string Name, std::string HistoNameLow, std::string HistoFileLow, std::string HistoPathLow, std::string HistoNameHigh, std::string HistoFileHigh, std::string HistoPathHigh)
void AddShapeSys(std::string Name, Constraint::Type ConstraintType, std::string HistoName, std::string HistoFile, std::string HistoPath="")
void Print(std::ostream &=std::cout)
void SetInputFileLow(const std::string &InputFileLow)
void writeToFile(const std::string &FileName, const std::string &DirName)
void PrintXML(std::ostream &)
void SetHistoNameLow(const std::string &HistoNameLow)
void SetHistoPathLow(const std::string &HistoPathLow)
void writeToFile(std::string FileName, std::string DirName)
void SetValue(Double_t Val)
std::string GetHistoPath()
void SetName(const std::string &Name)
void SetHistoName(const std::string &HistoName)
void SetName(const std::string &Name)
void SetName(const std::string &Name)
void AddHistoSys(std::string Name, std::string HistoNameLow, std::string HistoFileLow, std::string HistoPathLow, std::string HistoNameHigh, std::string HistoFileHigh, std::string HistoPathHigh)
virtual void SetBinContent(Int_t bin, Double_t content)
Set bin content see convention for numbering bins in TH1::GetBin In case the bin number is greater th...
void SetConst(bool Const=true)
std::vector< RooStats::HistFactory::ShapeSys > & GetShapeSysList()
void SetHistoName(const std::string &HistoName)
void SetHigh(double High)
void SetInputFileLow(const std::string &InputFileLow)
void SetHistoNameLow(const std::string &HistoNameLow)
std::vector< RooStats::HistFactory::HistoFactor > & GetHistoFactorList()
void SetHistoPathHigh(const std::string &HistoPathHigh)
std::vector< RooStats::HistFactory::ShapeSys > fShapeSysList
void SetHistoPath(const std::string &HistoPath)
void Activate(bool IsActive=true)
void PrintXML(std::ostream &)
void AddOverallSys(std::string Name, Double_t Low, Double_t High)
void SetHigh(double High)
void AddNormFactor(std::string Name, Double_t Val, Double_t Low, Double_t High, bool Const=false)
void SetHistoNameHigh(const std::string &HistoNameHigh)
void PrintXML(std::ostream &)
void PrintXML(std::ostream &)
std::vector< RooStats::HistFactory::OverallSys > fOverallSysList
void SetName(const std::string &Name)
void SetHisto(TH1 *histo)
void SetUseHisto(bool UseHisto=true)
void SetHistoPath(const std::string &HistoPath)
void SetName(const std::string &Name)
void PrintXML(std::ostream &)
std::vector< RooStats::HistFactory::HistoSys > fHistoSysList
double norm(double *x, double *p)
void PrintXML(std::ofstream &xml)
void SetInputFile(const std::string &InputFile)
std::vector< RooStats::HistFactory::ShapeFactor > & GetShapeFactorList()
void SetInputFileHigh(const std::string &InputFileHigh)
void SetInputFile(const std::string &InputFile)
void SetInputFileHigh(const std::string &InputFileHigh)