|
Jpp master_rocky-44-g75b7c4f75
the software that should make you happy
|
Auxiliary class for simultaneously handling light yields and response of module. More...
#include <JK40Hit.hh>
Public Member Functions | |
| JK40Hit () | |
| Default constructor. | |
| JK40Hit (const JDAQModuleIdentifier &id, const JK40 &k40, const size_t n) | |
| Constructor. | |
| size_t | getN () const |
| Get number of hits. | |
| double | getP () const |
| Get probability. | |
| double | getP (const bool hit) const |
| Get probability for observing a hit or not. | |
| const JDAQModuleIdentifier & | getModuleIdentifier () const |
| Get Module identifier. | |
| void | setModuleIdentifier (const JDAQModuleIdentifier &module) |
| Set Module identifier. | |
| int | getModuleID () const |
| Get module identifier. | |
| ClassDefNV (JDAQModuleIdentifier, 1) | |
| double | getY0 () const |
| Get light yield due to random background. | |
| double | getH0 () const |
| Expected number of photo-electrons for random background hypothesis. | |
| double | getChi2 (const bool hit) const |
| Get chi2 for observing a hit or not. | |
Protected Attributes | |
| size_t | __n |
| int | id |
| double | y0 |
| light yield due to random background [npe] | |
Auxiliary class for simultaneously handling light yields and response of module.
Definition at line 23 of file JK40Hit.hh.
|
inline |
Default constructor.
Definition at line 32 of file JK40Hit.hh.
|
inline |
Constructor.
| id | module identifier |
| k40 | k40 |
| n | number of hits |
Definition at line 46 of file JK40Hit.hh.
|
inline |
|
inline |
|
inline |
Get probability for observing a hit or not.
| hit | hit |
Definition at line 72 of file JK40.hh.
|
inlineinherited |
Get Module identifier.
Definition at line 50 of file JDAQModuleIdentifier.hh.
|
inlineinherited |
Set Module identifier.
| module | Module identifier |
Definition at line 61 of file JDAQModuleIdentifier.hh.
|
inlineinherited |
Get module identifier.
Definition at line 72 of file JDAQModuleIdentifier.hh.
|
inherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
Get chi2 for observing a hit or not.
| hit | hit |
Definition at line 84 of file JK40.hh.
|
protected |
Definition at line 77 of file JK40Hit.hh.
|
protectedinherited |
Definition at line 112 of file JDAQModuleIdentifier.hh.
|
protectedinherited |