Jpp
17.1.1
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. 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.
Definition at line 55 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 67 of file JSirene.hh.
|
inline |
Less than operator for hits.
First hit is defined as:
first | first hit |
second | second hit |
Definition at line 114 of file JSirene.hh.
int JSIRENE::JHit_t::id |
Definition at line 123 of file JSirene.hh.
int JSIRENE::JHit_t::pmt_id |
Definition at line 124 of file JSirene.hh.
int JSIRENE::JHit_t::type |
Definition at line 125 of file JSirene.hh.
int JSIRENE::JHit_t::origin |
Definition at line 126 of file JSirene.hh.
double JSIRENE::JHit_t::t |
Definition at line 127 of file JSirene.hh.
int JSIRENE::JHit_t::npe |
Definition at line 128 of file JSirene.hh.