11 #ifndef HISTFACTORY_SYSTEMATICS_H 12 #define HISTFACTORY_SYSTEMATICS_H 22 namespace HistFactory {
24 namespace Constraint {
54 void SetLow(
double Low ) { fLow = Low; }
55 void SetHigh(
double High ) { fHigh = High; }
59 void Print(std::ostream& = std::cout);
60 void PrintXML(std::ostream&);
79 void SetVal(
double Val ) { fVal = Val; }
82 void SetConst(
bool Const=
true ) { fConst = Const; }
85 void SetLow(
double Low ) { fLow = Low; }
86 void SetHigh(
double High ) { fHigh = High; }
90 void Print(std::ostream& = std::cout);
91 void PrintXML(std::ostream&);
111 void Print(std::ostream& = std::cout);
112 void PrintXML(std::ostream&);
113 void writeToFile(
const std::string& FileName,
const std::string& DirName );
124 void SetInputFileLow(
const std::string& InputFileLow ) { fInputFileLow = InputFileLow; }
125 void SetInputFileHigh(
const std::string& InputFileHigh ) { fInputFileHigh = InputFileHigh; }
130 void SetHistoNameLow(
const std::string& HistoNameLow ) { fHistoNameLow = HistoNameLow; }
131 void SetHistoNameHigh(
const std::string& HistoNameHigh ) { fHistoNameHigh = HistoNameHigh; }
136 void SetHistoPathLow(
const std::string& HistoPathLow ) { fHistoPathLow = HistoPathLow; }
137 void SetHistoPathHigh(
const std::string& HistoPathHigh ) { fHistoPathHigh = HistoPathHigh; }
170 void SetInputFileLow(
const std::string& InputFileLow ) { fInputFileLow = InputFileLow; }
171 void SetInputFileHigh(
const std::string& InputFileHigh ) { fInputFileHigh = InputFileHigh; }
176 void SetHistoNameLow(
const std::string& HistoNameLow ) { fHistoNameLow = HistoNameLow; }
177 void SetHistoNameHigh(
const std::string& HistoNameHigh ) { fHistoNameHigh = HistoNameHigh; }
182 void SetHistoPathLow(
const std::string& HistoPathLow ) { fHistoPathLow = HistoPathLow; }
183 void SetHistoPathHigh(
const std::string& HistoPathHigh ) { fHistoPathHigh = HistoPathHigh; }
188 void Print(std::ostream& = std::cout);
189 void writeToFile(
const std::string& FileName,
const std::string& DirName );
190 void PrintXML(std::ostream&);
225 void SetInputFile(
const std::string& InputFile ) { fInputFile = InputFile; }
228 void SetHistoName(
const std::string& HistoName ) { fHistoName = HistoName; }
231 void SetHistoPath(
const std::string& HistoPath ) { fHistoPath = HistoPath; }
234 void Print(std::ostream& = std::cout);
235 void PrintXML(std::ostream&);
236 void writeToFile(
const std::string& FileName,
const std::string& DirName );
267 void Print(std::ostream& = std::cout);
268 void PrintXML(std::ostream&);
269 void writeToFile(
const std::string& FileName,
const std::string& DirName);
280 fInputFile = InputFile;
281 fHasInitialShape=
true;
286 fHistoName = HistoName;
287 fHasInitialShape=
true;
292 fHistoPath = HistoPath;
293 fHasInitialShape=
true;
319 void Print(std::ostream& = std::cout);
320 void PrintXML(std::ostream&);
321 void writeToFile(
const std::string& FileName,
const std::string& DirName );
323 void Activate(
bool IsActive=
true ) { fActivate = IsActive; }
329 void SetInputFile(
const std::string& InputFile ) { fInputFile = InputFile; }
332 void SetHistoName(
const std::string& HistoName ) { fHistoName = HistoName; }
335 void SetHistoPath(
const std::string& HistoPath ) { fHistoPath = HistoPath; }
360 void Print(std::ostream& = std::cout);
361 void PrintXML(std::ostream&);
std::string fHistoPathLow
void SetName(const std::string &Name)
void SetInitialShape(TH1 *shape)
void SetConstraintType(Constraint::Type ConstrType)
void SetHistoNameHigh(const std::string &HistoNameHigh)
std::string GetHistoName()
std::string GetHistoNameHigh()
std::string fHistoPathHigh
void SetHistoPathLow(const std::string &HistoPathLow)
std::string fHistoNameHigh
std::string GetInputFileHigh()
Constraint::Type GetConstraintType()
std::string GetHistoName()
std::string GetInputFile()
void SetHistoPathHigh(const std::string &HistoPathHigh)
std::string GetInputFileLow()
std::string GetHistoNameHigh()
void SetConstraintType(Constraint::Type ConstrType)
Type GetType(const std::string &Name)
void SetConstant(bool constant)
Constraint::Type fConstraintType
std::string fInputFileLow
void SetHistoPath(const std::string &HistoPath)
std::string GetHistoNameLow()
double GetRelErrorThreshold()
std::string GetHistoPath()
std::string GetHistoPathHigh()
void SetHistoHigh(TH1 *High)
std::string GetInputFileHigh()
void SetHistoLow(TH1 *Low)
void SetInputFileLow(const std::string &InputFileLow)
std::string GetInputFile()
std::string fInputFileHigh
void Error(const char *location, const char *msgfmt,...)
void SetHistoNameLow(const std::string &HistoNameLow)
void SetHistoPathLow(const std::string &HistoPathLow)
void SetErrorHist(TH1 *Error)
std::string GetHistoPath()
std::string fInputFileLow
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 SetConst(bool Const=true)
void SetHistoName(const std::string &HistoName)
void SetHigh(double High)
void SetInputFileLow(const std::string &InputFileLow)
std::string fHistoNameLow
void SetHistoNameLow(const std::string &HistoNameLow)
double fRelErrorThreshold
void SetHistoPathHigh(const std::string &HistoPathHigh)
HistoSys(const std::string &Name)
void SetHistoPath(const std::string &HistoPath)
void SetHistoHigh(TH1 *High)
void Activate(bool IsActive=true)
std::string fHistoPathLow
std::string GetHistoName()
void SetHigh(double High)
std::string fHistoNameHigh
void SetHistoNameHigh(const std::string &HistoNameHigh)
Namespace for the RooStats classes.
void Print(std::ostream &os, const OptionType &opt)
std::string GetHistoPath()
Constraint::Type fConstraintType
Constraint::Type GetConstraintType()
std::string GetHistoPathHigh()
void SetName(const std::string &Name)
std::string fHistoPathHigh
std::string fHistoNameLow
std::string GetHistoPathLow()
std::string fInputFileHigh
void SetHistoName(const std::string &HistoName)
std::string Name(Type type)
std::string GetHistoPathLow()
void SetUseHisto(bool UseHisto=true)
std::string GetInputFileLow()
void SetHistoPath(const std::string &HistoPath)
void SetHistoLow(TH1 *Low)
void SetInputFile(const std::string &InputFile)
void SetName(const std::string &Name)
std::string GetHistoNameLow()
void SetRelErrorThreshold(double Threshold)
void SetErrorHist(TH1 *hError)
void SetInputFile(const std::string &InputFile)
void SetInputFileHigh(const std::string &InputFileHigh)
std::string GetInputFile()
void SetInputFile(const std::string &InputFile)
void SetInputFileHigh(const std::string &InputFileHigh)