Simon Spannagel committed Jun 27, 2018 1 # EtaCalculation  Simon Spannagel committed Mar 09, 2018 2 **Maintainer**: Daniel Hynds (), Simon Spannagel ()  Simon Spannagel committed Nov 07, 2018 3 4 **Module Type**: *DETECTOR* **Detector Type**: *all*  Simon Spannagel committed Mar 09, 2018 5 6 **Status**: Under development  Simon Spannagel committed Jun 27, 2018 7 ### Description  Simon Spannagel committed Apr 16, 2018 8 9 This module calculates the $\eta$-distributions for two-pixel clusters of any detector in analysis by comparing the in-pixel track position and the calculated cluster centre position. Histograms for all available detectors are filled for both X and Y coordinate. At the end of the run, fits to the recorded profiles are performed using the provided formulas. A printout of the resulting fit parameters is provided in the format read by the EtaCorrection module for convenience.  Simon Spannagel committed Mar 09, 2018 10   Simon Spannagel committed Apr 16, 2018 11 In order to measure the correct $\eta$-distribution, no additional $\eta$-correction should be applied during this calculation, i.e. by using the EtaCorrection module.  Simon Spannagel committed Mar 09, 2018 12   Simon Spannagel committed Jun 27, 2018 13 ### Parameters  Simon Spannagel committed Dec 19, 2018 14 15 * chi2ndof_cut: Track quality cut on its Chi2 over numbers of degrees of freedom. Default value is 100. * eta_formula_x / eta_formula_y: Formula to for to the recorded $\eta$-distributions, defaults to a polynomial of fifth order, i.e. [0] + [1]*x + [2]*x^2 + [3]*x^3 + [4]*x^4 + [5]*x^5.  Simon Spannagel committed Mar 09, 2018 16   Simon Spannagel committed Jun 27, 2018 17 ### Plots produced  Simon Spannagel committed Mar 09, 2018 18 For each detector the following plots are produced:  Simon Spannagel committed Jun 27, 2018 19   Simon Spannagel committed Mar 09, 2018 20 21 22 * 2D histogram of the calculated $\eta$-distribution, for X and Y respectively * Profile plot of the calculated $\eta$-distribution, for X and Y respectively  Simon Spannagel committed Jun 27, 2018 23 ### Usage  Simon Spannagel committed Mar 09, 2018 24 25 toml [EtaCalculation]  Simon Spannagel committed Dec 19, 2018 26 chi2ndof_cut = 100  Simon Spannagel committed Mar 09, 2018 27