Jpp
Public Member Functions | List of all members
LED Class Reference

Light yield from LED (number of p.e. More...

Inheritance diagram for LED:
JPHYSICS::JAbstractLED

Public Member Functions

 LED ()
 Constructor. More...
 
double getLightFromLED (const double ct, const double phi, const double dt) const
 Light yield from LED (number of p.e. More...
 

Detailed Description

Light yield from LED (number of p.e.

per unit solid angle per unit time).

Definition at line 47 of file JDrawLED.cc.

Constructor & Destructor Documentation

◆ LED()

LED::LED ( )
inline

Constructor.

Definition at line 52 of file JDrawLED.cc.

53  {}

Member Function Documentation

◆ getLightFromLED()

double LED::getLightFromLED ( const double  ct,
const double  phi,
const double  dt 
) const
inlinevirtual

Light yield from LED (number of p.e.

per unit solid angle per unit time).

Parameters
ctzenith angle of emission
phiazimuth angle of emission
dttime of emission [ns]
Returns
d^2P / dOmega dt [npe/ns/sr]

Implements JPHYSICS::JAbstractLED.

Definition at line 63 of file JDrawLED.cc.

66  {
67  using namespace JPP;
68 
69  static const double sigma = 2.0;
70 
71  const double x = dt / sigma;
72 
73  return exp(-0.5*x*x) / (sigma*sqrt(2*PI)) / (4*PI);
74  }

The documentation for this class was generated from the following file:
JPP
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Definition: JAAnetToolkit.hh:37
JTOOLS::PI
static const double PI
Constants.
Definition: JConstants.hh:20