Main Page | Class Hierarchy | Class List | File List | Class Members | File Members | Related Pages

GLG4HitPhoton Class Reference

GLG4HitPhoton stores information about a photon that makes a photoelectron in a PMT. More...

#include <GLG4HitPhoton.hh>

List of all members.

Public Member Functions

void SetPMTID (int id)
void SetTime (double t)
void SetKineticEnergy (double KE)
 set kinetic energy and wavelength of photon.
void SetWavelength (double wl)
 set wavelength and kinetic energy of photon
void SetPosition (double x, double y, double z)
void SetMomentum (double x, double y, double z)
void SetPolarization (double x, double y, double z)
void SetCount (int count)
void AddCount (int dcount)
int GetPMTID () const
double GetTime () const
double GetKineticEnergy () const
double GetWavelength () const
template<class T>
void GetPosition (T &x, T &y, T &z) const
template<class T>
void GetMomentum (T &x, T &y, T &z) const
template<class T>
void GetPolarization (T &x, T &y, T &z) const
int GetCount () const
void Print (std::ostream &) const


Detailed Description

GLG4HitPhoton stores information about a photon that makes a photoelectron in a PMT.

With count>1, it records multiple p.e. made at the same time at a PMT.

The general contract for GLG4HitPhoton is as follows:

This is almost the same "general contract" that was implemented for KLG4sim's KLHitPhoton by O. Tajima and G. Horton-Smith, but the code was rewritten for GLG4sim in December 2004.

Author:
Glenn Horton-Smith


The documentation for this class was generated from the following files:
Generated on Fri Jul 6 13:31:46 2007 for GLG4sim by  doxygen 1.3.9.1