|
LDMX Software
|
Output of the ECal trigger-cluster NN classifier for one event. More...
#include <TrigClusterNNScore.h>
Public Member Functions | |
| void | setLogits (const std::vector< float > &logits) |
| void | setPBkg (const double p_bkg) |
| const std::vector< float > & | logits () const |
| double | pBkg () const |
| void | clear () |
Private Member Functions | |
| ClassDef (TrigClusterNNScore, 1) | |
| ROOT Dictionary class definition macro. | |
Private Attributes | |
| std::vector< float > | logits_ |
| double | p_bkg_ {0.0} |
Output of the ECal trigger-cluster NN classifier for one event.
Holds the 9 raw logits in trained class order: 0 = 1e bkg, 1 = A', 2 = eN neutron, 3 = proton, 4 = pi+-, 5 = K+-, 6 = K0, 7 = photon, 8 = other. P(bkg) is the class-0 softmax, computed in double precision because 1 - P(bkg) saturates to 1 in float.
The current 1 kHz working point is to fire if pBkg() <= 2.6726722717e-4
Definition at line 21 of file TrigClusterNNScore.h.
| void trigger::TrigClusterNNScore::clear | ( | ) |
Definition at line 6 of file TrigClusterNNScore.cxx.
|
inline |
Definition at line 30 of file TrigClusterNNScore.h.
|
inline |
Definition at line 31 of file TrigClusterNNScore.h.
|
inline |
Definition at line 27 of file TrigClusterNNScore.h.
|
inline |
Definition at line 28 of file TrigClusterNNScore.h.
|
private |
Definition at line 36 of file TrigClusterNNScore.h.
|
private |
Definition at line 37 of file TrigClusterNNScore.h.