Update 'MassFit.cpp'
parent
7d981b0967
commit
015cedb5ae
@ -1,29 +1,52 @@
|
|||||||
|
|
||||||
# Classes
|
# Classes
|
||||||
### TMefficiencyClass
|
### TMefficiencyClass
|
||||||
* **Private members:**
|
|
||||||
* **Public members:**
|
* **Public members:**
|
||||||
* string sVariable
|
| Name | Description |
|
||||||
* std::vector\<string>sBranchName
|
| ------------- | ------------- |
|
||||||
* Int_t Bins
|
| string sVariable | LaTeX name of the parameter |
|
||||||
* Float_t Range\[2\]
|
| std::vector\<string>sBranchName | |
|
||||||
* std::vector\<std::array\<double,2>> vVarRange
|
| Int_t Bins | |
|
||||||
* std::vector\<double> binEdges
|
| Float_t Range\[2\] | |
|
||||||
* std::vector\<double> binEdgesEquidistant
|
| std::vector\<std::array\<double,2>> vVarRange | |
|
||||||
* bool isEquidistant
|
| std::vector\<double> binEdges | |
|
||||||
* Float_t Step
|
| std::vector\<double> binEdgesEquidistant | |
|
||||||
* string cut
|
| bool isEquidistant | |
|
||||||
*
|
| Float_t Step | |
|
||||||
|
| string cut | |
|
||||||
|
|
||||||
|
|
||||||
* **Functions:**
|
* **Functions:**
|
||||||
* **TMefficiencyClass()**
|
* void fillBinEdges() **TODO** add links
|
||||||
* **Parameters**
|
* void isEq(string &varName)
|
||||||
* //default constructor
|
* bool check_vector_size(bool isEqui)
|
||||||
* **Return**
|
* TMefficiencyClass() //full constructor
|
||||||
|
* ~TMefficiencyClass() //default destuctor
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# Functions and their parameters:
|
# Functions and their parameters:
|
||||||
|
|
||||||
|
### TMefficiencyClass::TMefficiencyClass()
|
||||||
|
Constructor of the TMefficiencyClass. Based on the varName input parameter, it sets the
|
||||||
|
|
||||||
|
* **Parameters**
|
||||||
|
* string varName
|
||||||
|
|
||||||
|
### void TMefficiencyClass::fillBinEdges()
|
||||||
|
Takes the TM efficiency class nad based on the number of bins and the overall bin range fills `binEdgesEquidistant`
|
||||||
|
|
||||||
|
### void TMefficiencyClass::isEq()
|
||||||
|
Checks whether the varName parameter contains string "\_equal" if yes, sets `isEquidistant` to true and remove the "\_equal" from the varName.
|
||||||
|
* **Parameters**
|
||||||
|
* string &varName
|
||||||
|
|
||||||
|
### bool TMefficiencyClass::check_vector_size()
|
||||||
|
Checks whether the size of the binEdges (or binEdgesEqudistant if isEquidistant is true) array is equal to nBins+1.
|
||||||
|
* **Parameters**
|
||||||
|
* bool isEqui
|
||||||
|
* **Return**
|
||||||
|
* True if everything is okay, False if the bin-edge array size is not equal to nBins+1.
|
||||||
|
|
||||||
|
|
||||||
### bool useExtraVarBool()
|
### bool useExtraVarBool()
|
||||||
This functions checks whether the used extra variable is listed in the binning scheme defined in the TMefficiencyClass. **ṪODO** add a link
|
This functions checks whether the used extra variable is listed in the binning scheme defined in the TMefficiencyClass. **ṪODO** add a link
|
||||||
|
Loading…
Reference in New Issue
Block a user