CMS 3D CMS Logo

PMTResponse.cc
Go to the documentation of this file.
1 #include "TMath.h"
2 
4 
5 //________________________________________________________________________________________
6 const double PMTResponse::getEfficiency( const double& waveLengthNm ) {
7 
8  // Overall range
9  if ( waveLengthNm<300. || waveLengthNm>850 ) return 0.;
10 
11  // Parameterisation
12  if ( waveLengthNm<500. )
13  return TMath::Exp(+waveLengthNm/144.3 - 5.0752);
14  else
15  return TMath::Exp(-waveLengthNm/290.7 + 0.1105);
16 
17 }
static const double getEfficiency(const double &waveLengthNm)
Return efficiency for given photon wavelength (in nm)
Definition: PMTResponse.cc:6