Main Page
Namespaces
Classes
Package Documentation
SimG4CMS
CherenkovAnalysis
src
PMTResponse.cc
Go to the documentation of this file.
1
#include "
SimG4CMS/CherenkovAnalysis/interface/PMTResponse.h
"
2
3
#include <cmath>
4
5
//________________________________________________________________________________________
6
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
std::exp
(+waveLengthNm/144.3 - 5.0752);
14
else
15
return
std::exp
(-waveLengthNm/290.7 + 0.1105);
16
17
}
PMTResponse.h
PMTResponse::getEfficiency
static double getEfficiency(const double &waveLengthNm)
Return efficiency for given photon wavelength (in nm)
Definition:
PMTResponse.cc:6
JetChargeProducer_cfi.exp
exp
Definition:
JetChargeProducer_cfi.py:6
Generated for CMSSW Reference Manual by
1.8.11