ICRC2019/BiasFunctions.hh
Go to the documentation of this file.
1 double HybridBias_2019_SD1500(double ESD, double coszenith, double maxZenith) {
2  //bias as calculated by V. Verzi. Based on hybrid events
3  //ICRC 2019
4  // Gap2019-022
5  double biasFinal = 1;
6 
7  if (acos(coszenith) < maxZenith * TMath::DegToRad() && acos(coszenith) > 0.) {
8  if (ESD < 18.4)
9  biasFinal = 1. + (24.3 + 77.61 * exp(-10. * (coszenith - 0.5 ) ) ) * (18.4 - ESD) * 0.01;
10  }
11  return biasFinal;
12 }
13 
14 double HybridBias_2019_SD750(double lgE, double fdB) {
15  //bias as calculated by A Coleman. Based on Monte Carlo
16  //ICRC 2019
17  // March Auger meeting 2019
18  // https://indico.nucleares.unam.mx/event/1408/session/16/contribution/118/material/slides/0.pdf
19 
20  const double pars[4] = { -0.1167, 5.022, 16.08, 21.61}; //Auger Mixed Comp (2017)
21  // const double pars[4] = {-0.4843, 8.333, 16.43, 16.94}; //Proton
22  // const double pars[4] = {-0.8852, 1.807, 15.75, 17.37}; //Iron
23  const double biasS35 = 1 + pars[0] * exp(-pars[1] * pow(lgE - pars[2], 2.)) * (lgE - pars[3]);
24 
25  return pow(biasS35, fdB);
26 }
27 
28 double HybridBias_2019_11_06_Offline_SD1500(double ESD, double coszenith, double maxZenith) {
29  // Bias as calculated by V. Verzi. Based on hybrid events
30  // ICRC 2019
31  // June 11 2019
32  // OFFLINE
33  double biasFinal = 1;
34 
35  if (acos(coszenith) < maxZenith * TMath::DegToRad() && acos(coszenith) > 0.) {
36  if (ESD < 18.4)
37  biasFinal = 1. + (20.01 + 59.2 * exp(-10. * (coszenith - 0.5 ) ) ) * (18.4 - ESD) * 0.01;
38  }
39  return biasFinal;
40 }
41 
42 double HybridBias_2019_11_06_Herald_SD1500(double ESD, double coszenith, double maxZenith) {
43  // Bias as calculated by V. Verzi. Based on hybrid events
44  // ICRC 2019
45  // June 11 2019
46  // HERALD
47  double biasFinal = 1;
48 
49  if (acos(coszenith) < maxZenith * TMath::DegToRad() && acos(coszenith) > 0.) {
50  if (ESD < 18.4)
51  biasFinal = 1. + (36.08 + 9.27 * exp(-10. * (coszenith - 0.5 ) ) ) * (18.4 - ESD) * 0.01;
52  }
53  return biasFinal;
54 }
55 
56 double Bias_TestExample(double ESD, double coszenith) {
57  /* Test for Bias */
58  //test function. Add here any function you want to test
59  // input is lgE and cos(zenith)
60  // output is bias
61 
62  double res = 1.;
63  return res;
64 }
double pow(const double x, const unsigned int i)
double HybridBias_2019_11_06_Herald_SD1500(double ESD, double coszenith, double maxZenith)
double HybridBias_2019_11_06_Offline_SD1500(double ESD, double coszenith, double maxZenith)
double HybridBias_2019_SD750(double lgE, double fdB)
double HybridBias_2019_SD1500(double ESD, double coszenith, double maxZenith)
double Bias_TestExample(double ESD, double coszenith)

, generated on Tue Sep 26 2023.