diff --git a/Efficiency-Class.md b/Efficiency-Class.md new file mode 100644 index 0000000..0df6e82 --- /dev/null +++ b/Efficiency-Class.md @@ -0,0 +1,94 @@ +Welcome to the Wiki. + +## Global variables: + +# Classes +### EffAndError +* **Private members:** +* **Public members:** +* **Functions:** + * **EffAndError()** + * **Parameters** + * //default constructor + * **Return** + * **EffAndError()** + * **Parameters** + * double val //default constructor + * **Return** + * **EffAndError()** + * **Parameters** + * double val + * double highErr + * double lowErr //default constructor + * **Return** + * **~EffAndError()** + * **Parameters** + * ); //destuctor + * **Return** + + + +# Functions and their parameters: +### EffAndError::~EffAndError() + +* **Parameters** + * //destuctor +* **Return** + +### EffAndError GetEfficiency() + +* **Parameters** + * TFile \*fitFileNumerator + * string nameNumerator + * TFile \*fitFileDenominator + * string nameDenominator +* **Return** + +### EffAndError getTMEfficiencySimple() + +* **Parameters** + * string year + * int Run + * bool UseOnlyMuMuEvents + * bool PHSP + * bool KshortDecaysInVelo + * bool RemoveMultiple + * bool weighted + * string sExtraVar + * int nExtraBin + * string customTMbranch + * bool gammaTM //TODO: add customTMbranch and gammaTM +* **Return** + +### EffAndError getBDTEfficiencySimple() + +* **Parameters** + * string year + * Double_t TMVAcut + * int Run + * bool UseOnlyMuMuEvents + * bool PHSP + * bool KshortDecaysInVelo + * bool IncludeMultipleEff + * bool weighted + * string sExtraVar + * int nExtraBin //TODO: check weight +* **Return** + +### EffAndError getSelectionEfficiencySimple() + +* **Parameters** + * bool full + * string year + * int Run + * bool UseOnlyMuMuEvents + * bool useRefChannel + * bool PHSP + * bool KshortDecaysInVelo + * bool RemoveMultiple + * bool weighted + * string sExtraVar + * int nExtraBin + * string customTMbranch + * bool gammaTM //For studies on variables +* **Return**