Jpp
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Functions | Variables
KM3NET Namespace Reference

Name space for KM3NeT. More...

Classes

class  quantumEfficiency
 Quantum efficiency of KM3NeT PMT. More...
 
struct  JPhotocathodeArea2D
 Photo-cathode area 3 inch PMT. More...
 

Functions

void setClock ()
 Set clock. More...
 
double getAmbientPressure ()
 Get ambient pressure. More...
 
const double getPhotocathodeArea ()
 Photo-cathode area 3 inch PMT. More...
 
double getAbsorptionLength (const double lambda)
 Absorption length. More...
 
double getScatteringLength (const double lambda)
 Scattering length. More...
 
double henyey_greenstein (const double g, const double x)
 Auxiliary method to describe light scattering in water (Henyey-Greenstein) More...
 
double rayleigh (const double a, const double x)
 Auxiliary method to describe light scattering in water (Rayleigh) More...
 
double rayleigh (const double x)
 Auxiliary method to describe light scattering in water (Rayleigh) More...
 
double f4 (const double x)
 Model specific function to describe light scattering in water (f4) More...
 
double p00075 (const double x)
 Model specific function to describe light scattering in water (p00075) More...
 
double getScatteringProbability (const double x)
 Function to describe light scattering in water. More...
 
double getAngularAcceptance (const double x)
 Angular acceptence of KM3NeT PMT. More...
 
double getQE (const double lambda)
 Quantum efficiency of KM3NeT PMT. More...
 

Variables

static const JPhotocathodeArea2D getPhotocathodeArea2D
 Function object for photo-cathode area 3 inch PMT. More...
 

Detailed Description

Name space for KM3NeT.

Function Documentation

void KM3NET::setClock ( )
inline

Set clock.

Definition at line 314 of file JDAQClock.hh.

315  {
317  }
Auxiliary class to set DAQ system clock parameters.
Definition: JDAQClock.hh:27
double KM3NET::getAmbientPressure ( )
inline

Get ambient pressure.

Returns
pressure [Atm]

Definition at line 36 of file KM3NeT.hh.

37  {
38  return 240.0; // ambient pressure [Atm]
39  }
const double KM3NET::getPhotocathodeArea ( )
inline

Photo-cathode area 3 inch PMT.

Returns
photo-cathode area [m^2]

Definition at line 47 of file KM3NeT.hh.

48  {
49  return 45.4e-4; // photo-cathode area [m^2]
50  }
double KM3NET::getAbsorptionLength ( const double  lambda)
inline

Absorption length.

Parameters
lambdawavelength of light [nm]
Returns
absorption length [m]

Definition at line 59 of file KM3NeT.hh.

60  {
61  static JPolint1Function1D_t f1;
62 
63  if (f1.empty()) {
64 
65  f1[290] = 0.0;
66  f1[310] = 11.9;
67  f1[330] = 16.4;
68  f1[350] = 20.6;
69  f1[375] = 29.5;
70  f1[412] = 48.5;
71  f1[440] = 67.5;
72  f1[475] = 59.0;
73  f1[488] = 55.1;
74  f1[510] = 26.1;
75  f1[532] = 19.9;
76  f1[555] = 14.7;
77  f1[650] = 2.8;
78  f1[676] = 2.3;
79  f1[715] = 1.0;
80  f1[720] = 0.0;
81 
82  f1.compile();
83 
84  f1.setExceptionHandler(new JPolint1Function1D_t::JDefaultResult(0.0));
85  }
86 
87  return f1(lambda);
88  }
void setExceptionHandler(const JSupervisor &supervisor)
Set the supervisor for handling of exceptions.
Definition: JFunctional.hh:286
Type definition of a 1st degree polynomial interpolation with result type double. ...
double KM3NET::getScatteringLength ( const double  lambda)
inline

Scattering length.

Parameters
lambdawavelength of light [nm]
Returns
absorption length [m]

Definition at line 97 of file KM3NeT.hh.

98  {
99  static JPolint1Function1D_t f1;
100 
101  if (f1.empty()) {
102 
103  f1[290] = 16.6;
104  f1[310] = 20.2;
105  f1[330] = 23.8;
106  f1[350] = 27.6;
107  f1[375] = 32.5;
108  f1[412] = 40.2;
109  f1[440] = 46.2;
110  f1[475] = 53.9;
111  f1[488] = 56.8;
112  f1[510] = 61.8;
113  f1[532] = 66.8;
114  f1[555] = 72.1;
115  f1[650] = 94.2;
116  f1[676] = 100.3;
117  f1[715] = 109.4;
118  f1[720] = 109.4;
119 
120  f1.compile();
121 
122  f1.setExceptionHandler(new JPolint1Function1D_t::JDefaultResult(0.0));
123  }
124 
125  return f1(lambda);
126  }
void setExceptionHandler(const JSupervisor &supervisor)
Set the supervisor for handling of exceptions.
Definition: JFunctional.hh:286
Type definition of a 1st degree polynomial interpolation with result type double. ...
double KM3NET::henyey_greenstein ( const double  g,
const double  x 
)
inline

Auxiliary method to describe light scattering in water (Henyey-Greenstein)

Parameters
gangular dependence parameter
xcosine scattering angle
Returns
probability

Definition at line 136 of file KM3NeT.hh.

139  {
140  const double a0 = (1.0 - g*g) / (4*PI);
141  const double y = 1.0 + g*g - 2.0*g*x;
142 
143  return a0 / (y*sqrt(y));
144  }
static const double PI
Constants.
Definition: JConstants.hh:20
double KM3NET::rayleigh ( const double  a,
const double  x 
)
inline

Auxiliary method to describe light scattering in water (Rayleigh)

Parameters
aangular dependence parameter
xcosine scattering angle
Returns
probability

Definition at line 154 of file KM3NeT.hh.

156  {
157  const double a0 = 1.0 / (1.0 + a/3.0) / (4*PI);
158 
159  return a0 * (1.0 + a*x*x);
160  }
static const double PI
Constants.
Definition: JConstants.hh:20
double KM3NET::rayleigh ( const double  x)
inline

Auxiliary method to describe light scattering in water (Rayleigh)

Parameters
xcosine scattering angle
Returns
probability

Definition at line 169 of file KM3NeT.hh.

170  {
171  return rayleigh(0.853, x);
172  }
double rayleigh(const double ct)
Definition: JDrawLED.cc:36
double KM3NET::f4 ( const double  x)
inline

Model specific function to describe light scattering in water (f4)

Parameters
xcosine scattering angle
Returns
probability

Definition at line 181 of file KM3NeT.hh.

182  {
183  static const double g1 = 0.77;
184  static const double g2 = 0.00;
185  static const double f = 1.00;
186 
187  return f * henyey_greenstein(g1,x) + (1.0 - f) * henyey_greenstein(g2,x);
188  }
double henyey_greenstein(const double ct)
Definition: JDrawLED.cc:28
Double_t g1(const Double_t x)
Function.
Definition: JQuantiles.cc:25
double KM3NET::p00075 ( const double  x)
inline

Model specific function to describe light scattering in water (p00075)

Parameters
xcosine scattering angle
Returns
probability

Definition at line 197 of file KM3NeT.hh.

198  {
199  static const double g = 0.924;
200  static const double f = 0.17;
201 
202  return f * rayleigh(x) + (1.0 - f) * henyey_greenstein(g,x);
203  }
double rayleigh(const double ct)
Definition: JDrawLED.cc:36
double henyey_greenstein(const double ct)
Definition: JDrawLED.cc:28
double KM3NET::getScatteringProbability ( const double  x)
inline

Function to describe light scattering in water.

Parameters
xcosine scattering angle
Returns
probability

Definition at line 212 of file KM3NeT.hh.

213  {
214  return p00075(x);
215  }
double p00075(const double x)
Model specific function to describe light scattering in water (p00075)
Definition: Antares.hh:277
double KM3NET::getAngularAcceptance ( const double  x)
inline

Angular acceptence of KM3NeT PMT.

Parameters
xcosine of angle of incidence
Returns
probability

Definition at line 224 of file KM3NeT.hh.

225  {
226  static JGridPolint1Function1D_t f1;
227 
228  if (f1.empty()) {
229 
230  f1[-1.00] = 1.565;
231  f1[-0.95] = 1.453;
232  f1[-0.90] = 1.295;
233  f1[-0.85] = 1.149;
234  f1[-0.80] = 1.013;
235  f1[-0.75] = 0.903;
236  f1[-0.70] = 0.812;
237  f1[-0.65] = 0.738;
238  f1[-0.60] = 0.670;
239  f1[-0.55] = 0.615;
240  f1[-0.50] = 0.562;
241  f1[-0.45] = 0.506;
242  f1[-0.40] = 0.456;
243  f1[-0.35] = 0.404;
244  f1[-0.30] = 0.354;
245  f1[-0.25] = 0.309;
246  f1[-0.20] = 0.263;
247  f1[-0.15] = 0.220;
248  f1[-0.10] = 0.178;
249  f1[-0.05] = 0.138;
250  f1[-0.00] = 0.101;
251  f1[0.05] = 0.069;
252  f1[0.10] = 0.041;
253  f1[0.15] = 0.019;
254  f1[0.20] = 0.004;
255  f1[0.25] = 0.0;
256 
257  // f1[-1.00] = 1.56;
258  // f1[-0.95] = 1.17;
259  // f1[-0.90] = 1.06;
260  // f1[-0.85] = 0.96;
261  // f1[-0.80] = 0.91;
262  // f1[-0.75] = 0.85;
263  // f1[-0.70] = 0.77;
264  // f1[-0.65] = 0.72;
265  // f1[-0.60] = 0.67;
266  // f1[-0.55] = 0.61;
267  // f1[-0.50] = 0.58;
268  // f1[-0.45] = 0.52;
269  // f1[-0.40] = 0.49;
270  // f1[-0.35] = 0.45;
271  // f1[-0.30] = 0.39;
272  // f1[-0.25] = 0.35;
273  // f1[-0.20] = 0.31;
274  // f1[-0.15] = 0.29;
275  // f1[-0.10] = 0.19;
276  // f1[-0.05] = 0.10;
277  // f1[-0.00] = 0.0;
278 
279  f1.compile();
280 
281  f1.setExceptionHandler(new JGridPolint1Function1D_t::JDefaultResult(0.0));
282  }
283 
284  return f1(x);
285  }
Type definition of a 1st degree polynomial interpolation based on a JGridCollection with result type ...
void setExceptionHandler(const JSupervisor &supervisor)
Set the supervisor for handling of exceptions.
Definition: JFunctional.hh:286
double KM3NET::getQE ( const double  lambda)
inline

Quantum efficiency of KM3NeT PMT.

Parameters
lambdawavelength of photon [nm]
Returns
quantum efficiency

Definition at line 594 of file KM3NeT.hh.

595  {
596  static const quantumEfficiency f1(true);
597  static const double cola = 0.9; // collection efficiency
598 
599  return cola * f1(lambda);
600  //return f1(lambda);
601  }

Variable Documentation

const JPhotocathodeArea2D KM3NET::getPhotocathodeArea2D
static

Function object for photo-cathode area 3 inch PMT.

Definition at line 5713 of file KM3NeT.hh.