Jpp 19.3.0-rc.2
the software that should make you happy
Loading...
Searching...
No Matches
LED Class Reference

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

Inheritance diagram for LED:
JPHYSICS::JAbstractLED

Public Member Functions

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

Detailed Description

Light yield from LED (number of p.e.

per unit solid angle per unit time).

Definition at line 31 of file JDrawLED.cc.

Constructor & Destructor Documentation

◆ LED()

LED::LED ( )
inline

Constructor.

Definition at line 36 of file JDrawLED.cc.

37 {}

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 47 of file JDrawLED.cc.

50 {
51 using namespace JPP;
52
53 static const double sigma = 2.0;
54
55 const double x = dt / sigma;
56
57 return exp(-0.5*x*x) / (sigma*sqrt(2*PI)) / (4*PI);
58 }
const double sigma[]
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).

The documentation for this class was generated from the following file: