Jpp  17.3.0-rc.2
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 31 of file JDrawLED.cc.

Constructor & Destructor Documentation

LED::LED ( )
inline

Constructor.

Definition at line 36 of file JDrawLED.cc.

37  {}

Member Function Documentation

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[]
Definition: JQuadrature.cc:74
static const double PI
Mathematical constants.
then fatal Wrong number of arguments fi set_variable DETECTOR $argv[1] set_variable STRING $argv[2] set_array QUANTILES set_variable FORMULA *[0] exp(-0.5 *(x-[1])*(x-[1])/([2]*[2]))" set_variable MODULE `getModule -a $DETECTOR -L "$STRING 0"` source JAcousticsToolkit.sh typeset -A TRIPODS get_tripods $WORKDIR/tripod.txt TRIPODS XMEAN

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