#include <GLG4HitPMTCollection.hh>
Public Member Functions | |
| void | Clear () |
| clear out AND DELETE HitPMTs (and HitPhotons) that were detected, resetting this HitPMTCollection to be empty | |
| void | DetectPhoton (GLG4HitPhoton *) |
| find or make appropriate HitPMT, and DetectPhoton in that HitPMT | |
| void | SortTimeAscending () |
| int | GetEntries () const |
| return the number of HitPMTs in internal collection | |
| GLG4HitPMT * | GetPMT (int i) const |
| return the i-th HitPMT in internal collection | |
| GLG4HitPMT * | GetPMT_ByID (int id) const |
| return pointer to HitPMT with given id if in collection, or NULL if no such HitPMT is in collection | |
| void | Print (std::ostream &) const |
| print out HitPMTs | |
The general contract for GLG4HitPMTCollection is as follows:
This is almost the same "general contract" that was implemented for KLG4sim's KLHitPMTCollection by O. Tajima and G. Horton-Smith, but the code was rewritten for GLG4sim in December 2004.
1.3.9.1