#include <PMTResponse.h>
Public Member Functions | |
PMTResponse () | |
Default constructor. | |
Static Public Member Functions | |
static const double | getEfficiency (const double &waveLengthNm) |
Return efficiency for given photon wavelength (in nm) |
Encodes the PMT response function
Definition at line 11 of file PMTResponse.h.
PMTResponse::PMTResponse | ( | ) | [inline] |
const double PMTResponse::getEfficiency | ( | const double & | waveLengthNm | ) | [static] |
Return efficiency for given photon wavelength (in nm)
Definition at line 6 of file PMTResponse.cc.
Referenced by DreamSD::getPhotonEnergyDeposit_().
{ // Overall range if ( waveLengthNm<300. || waveLengthNm>850 ) return 0.; // Parameterisation if ( waveLengthNm<500. ) return TMath::Exp(+waveLengthNm/144.3 - 5.0752); else return TMath::Exp(-waveLengthNm/290.7 + 0.1105); }