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

GLG4HitPMTCollection Class Reference

GLG4HitPMTCollection stores GLG4HitPMT objects. More...

#include <GLG4HitPMTCollection.hh>

List of all members.

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


Detailed Description

GLG4HitPMTCollection stores GLG4HitPMT objects.

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.

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