From 077952d33757cd1e52cccab51e62289b46edc17f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Renata=20Kopecn=C3=A1?= Date: Thu, 27 Jan 2022 15:47:51 +0100 Subject: [PATCH] Add 'ParamValues Class' --- ParamValues-Class.md | 85 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 ParamValues-Class.md diff --git a/ParamValues-Class.md b/ParamValues-Class.md new file mode 100644 index 0000000..278c101 --- /dev/null +++ b/ParamValues-Class.md @@ -0,0 +1,85 @@ + + +## Global variables: + +*class ParamValues: public SignalType +*public BackgroundType{ +*protected: +*public: +*struct FitValuesWithName{ +*public: +*struct SavedFitValues { +*struct SavedFitValuesBackground { + + +# Classes +### ParamValues: public SignalType, public BackgroundType +* **Private members:** +* **Public members:** + * string name + * double value + * double error +* **Functions:** + * **mValues()** + * **Parameters** + * }; //default constructor + * **Return** + + + + +# Functions and their parameters: +### void ParamValues::printProperties() + +* **Parameters** + * +* **Return** + +### void ParamValues::SetParamValues() + +* **Parameters** + * string s_string + * bool fitRef +* **Return** + +### FitValuesWithName getSignalSavedFitValue() + +* **Parameters** + * string s_name //This would have been so much nicer in Python +* **Return** + +### FitValuesWithName getBackgroundSavedFitValue() + +* **Parameters** + * string s_name //This would have been so much nicer in Python +* **Return** + +### RooRealVar \*ParamValues::getRooRealVar() + +* **Parameters** + * string s_name + * bool sig + * bool fitRef +* **Return** + +### void setSignalSavedFitValue() + +* **Parameters** + * string s_name + * double d_val + * double d_err //This would have been so much nicer in Python +* **Return** + +### void setBackgroundSavedFitValue() + +* **Parameters** + * string s_name + * double d_val + * double d_err //This would have been so much nicer in Python +* **Return** + +### void ParamValues::setValuesAndErrors() + +* **Parameters** + * bool sig +* **Return**