#include <SiPMUtils.h>
Definition at line 13 of file SiPMUtils.h.
util::SiPMUtils::SiPMUtils |
( |
| ) |
|
util::SiPMUtils::SiPMUtils |
( |
double |
NeffPx | ) |
|
util::SiPMUtils::~SiPMUtils |
( |
| ) |
|
double util::SiPMUtils::DeSaturate |
( |
const double |
sat_px | ) |
|
Definition at line 43 of file SiPMUtils.cxx.
46 if ( sat_px <= 0 )
return sat_px;
52 float unSaturatedSignal = - fNeffPx * std::log(1 - sat_px / fNeffPx);
53 return unSaturatedSignal;
58 float unSaturatedSignal = 1/( 1 -
ratio ) * (sat_px - ratio * fNeffPx) - fNeffPx * std::log( 1 - ratio );
59 return unSaturatedSignal;
double util::SiPMUtils::Saturate |
( |
const double |
unsat_px | ) |
|
Definition at line 31 of file SiPMUtils.cxx.
34 if ( unsat_px <= 0 )
return unsat_px;
37 double saturatedSignal =
fNeffPx * ( 1. - std::exp( - unsat_px /
fNeffPx ) );
39 return saturatedSignal;
double util::SiPMUtils::fNeffPx |
|
private |
The documentation for this class was generated from the following files: