|
Jpp test-rotations-new
the software that should make you happy
|
Auxiliary class to set-up Hit. More...
#include <JSirene.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. | |
| operator const Hit & () const | |
| Type conversion operator. | |
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. | |
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.
Definition at line 57 of file JSirene.hh.
|
inline |
Constructor.
| id | identifier |
| pmt_id | PMT identifier |
| type | type |
| origin | origin |
| t | time [ns] |
| npe | number of photo-electrons |
Definition at line 69 of file JSirene.hh.
|
inline |
Type conversion operator.
Definition at line 90 of file JSirene.hh.
Less than operator for hits.
First hit is defined as:
| first | first hit |
| second | second hit |
Definition at line 116 of file JSirene.hh.
| int JSIRENE::JHit_t::id |
Definition at line 125 of file JSirene.hh.
| int JSIRENE::JHit_t::pmt_id |
Definition at line 126 of file JSirene.hh.
| int JSIRENE::JHit_t::type |
Definition at line 127 of file JSirene.hh.
| int JSIRENE::JHit_t::origin |
Definition at line 128 of file JSirene.hh.
| double JSIRENE::JHit_t::t |
Definition at line 129 of file JSirene.hh.
| int JSIRENE::JHit_t::npe |
Definition at line 130 of file JSirene.hh.