|
Jpp
|
Auxiliary class to set-up Hit. More...
#include <JHit_t.hh>
Public Member Functions | |
| JHit_t (const int id, const int pmt_id, const int type, const int origin, const double t, const int npe) | |
| Constructor. More... | |
| operator const Hit & () const | |
| Type conversion operator. More... | |
Public Attributes | |
| int | id |
| int | pmt_id |
| int | type |
| int | origin |
| double | t |
| int | npe |
Friends | |
| bool | operator< (const JHit_t &first, const JHit_t &second) |
| Less than operator for hits. More... | |
Auxiliary class to set-up Hit.
This class is primarily used to limit the size of a Monte Carlo hit and thereby the memory usage of applications in case of large numbers of hits.
|
inline |
|
inline |
Type conversion operator.
Less than operator for hits.
First hit is defined as:
| first | first hit |
| second | second hit |
1.8.16