GetSignal.h
Go to the documentation of this file.
1 #ifndef __GETSIGNAL_h__
2 #define __GETSIGNAL_h__
3 
4 // LOCAL
6 
7 // OFFLINE
8 #include <utl/Math.h>
9 #include <fwk/CentralConfig.h>
10 
11 
12 namespace un2 {
13 
14  std::vector<double>
15  GetSignal(std::string model,
16  double lgE,
17  double zenith,
18  double r,
19  double psi,
20  double height,
21  double Xmax,
22  double Rmu,
23  std::string detector,
24  int month = 3,
25  bool realAtmosphere = false,
26  bool useThreshold = true);
27 
28 
29  std::vector<std::vector<double>>
30  GetTimeQuantile(double zenith,
31  double r,
32  double psi,
33  double height,
34  double Xmax,
35  std::string detector = "WCD",
36  std::string quantile = "t40",
37  int month = 3,
38  bool realAtmosphere = false);
39 
40 
41  std::vector<std::vector<double>>
42  GetTraceParameters(double zenith,
43  double r,
44  double psi,
45  double height = 1400.,
46  double Xmax = 750.,
47  std::string detector = "WCD",
48  int month = 3,
49  bool realAtmosphere = false,
50  double planeFrontTimeResidual = -10,
51  double nsBin = 8.3333);
52 
53 
54  std::vector<double>
55  GetIntegratedTotalSignal(std::vector<double> t,
56  std::string model,
57  double lgE,
58  double zenith,
59  double r,
60  double psi,
61  double height = 1400.,
62  double Xmax = 750.,
63  double Rmu = 1.0,
64  std::string detector = "WCD",
65  int month = 3,
66  bool realAtmosphere = false,
67  bool useThreshold = false,
68  double planeFrontTimeResidual = -10,
69  double nsBin = 8.3333,
70  std::string returnValue = "cdf",
71  int component = 0,
72  double normalized = 0);
73 
74  std::vector<double>
75  GetIntegratedTotalSignalSum(std::vector<double> t,
76  std::string model,
77  double lgE,
78  double zenith,
79  double r,
80  double psi,
81  double height = 1400.,
82  double Xmax = 750.,
83  double Rmu = 1.0,
84  std::string detector = "WCD",
85  int month = 3,
86  bool realAtmosphere = false,
87  bool useThreshold = false,
88  double planeFrontTimeResidual = -10,
89  double nsBin = 8.3333,
90  double normalized = 0
91  );
92 
93 };
94 
95 
96 #endif
vector< double > GetSignal(string model, double lgE, double zenith, double r, double psi, double height, double Xmax, double Rmu, string detector, int month, bool realAtmosphere, bool useThreshold)
Definition: GetSignal.cc:24
vector< vector< double > > GetTraceParameters(double zenith, double r, double psi, double height, double Xmax, string detector, int month, bool realAtmosphere, double planeFrontTimeResidual, double nsBin)
Definition: GetSignal.cc:282
vector< double > GetIntegratedTotalSignalSum(vector< double > t, string model, double lgE, double zenith, double r, double psi, double height, double Xmax, double Rmu, string detector, int month, bool realAtmosphere, bool useThreshold, double planeFrontTimeResidual, double nsBin, double normalized)
Definition: GetSignal.cc:476
vector< double > GetIntegratedTotalSignal(vector< double > t, string model, double lgE, double zenith, double r, double psi, double height, double Xmax, double Rmu, string detector, int month, bool realAtmosphere, bool useThreshold, double planeFrontTimeResidual, double nsBin, string returnValue, int component, double normalized)
Definition: GetSignal.cc:393
vector< vector< double > > GetTimeQuantile(double zenith, double r, double psi, double height, double Xmax, string detector, string quantile, int month, bool realAtmosphere)
Definition: GetSignal.cc:202

, generated on Tue Sep 26 2023.