#include <GLG4HitPhoton.hh>
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 |
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.
1.3.9.1