CMS 3D CMS Logo

PMTResponse Class Reference

Encodes the PMT response function. More...

#include <SimG4CMS/CherenkovAnalysis/interface/PMTResponse.h>

List of all members.

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).


Detailed Description

Encodes the PMT response function.

Definition at line 11 of file PMTResponse.h.


Constructor & Destructor Documentation

PMTResponse::PMTResponse (  )  [inline]

Default constructor.

Definition at line 16 of file PMTResponse.h.

00016 {}


Member Function Documentation

const double PMTResponse::getEfficiency ( const double &  waveLengthNm  )  [static]

Return efficiency for given photon wavelength (in nm).

Definition at line 6 of file PMTResponse.cc.

00006                                                                     {
00007 
00008   // Overall range
00009   if ( waveLengthNm<300. || waveLengthNm>850 ) return 0.;
00010 
00011   // Parameterisation
00012   if ( waveLengthNm<500. )
00013     return TMath::Exp(+waveLengthNm/144.3 - 5.0752);
00014   else
00015     return TMath::Exp(-waveLengthNm/290.7 + 0.1105);
00016   
00017 }


The documentation for this class was generated from the following files:
Generated on Tue Jun 9 18:30:09 2009 for CMSSW by  doxygen 1.5.4