![]() |
LArSoft
v10_06_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "DecoderToolBase.h"
Public Member Functions | |
| virtual | ~DecoderToolBase () noexcept=default |
| Virtual Destructor. More... | |
| DecoderToolBase (fhicl::ParameterSet const &p) | |
| Construcutor. More... | |
| virtual void | declareProducts (art::ProducesCollector &)=0 |
| declareProducts function More... | |
| virtual void | writeEmptyToEvent (art::Event &e, const vector< vector< size_t >> &idsmap)=0 |
| writeEmptyToEvent function More... | |
| virtual void | writeToEvent (art::Event &e, const vector< vector< size_t >> &idsmap, const vector< NuGraphOutput > &infer_output)=0 |
| writeToEvent function More... | |
| void | printVector (const std::vector< float > &vec) |
| template<typename T , size_t N> | |
| void | softmax (std::array< T, N > &arr) |
| void | setDebugAndPlanes (bool d, vector< std::string > &p) |
Protected Attributes | |
| bool | debug |
| vector< std::string > | planes |
| std::string | instancename |
| std::string | outputname |
Definition at line 21 of file DecoderToolBase.h.
|
virtualdefaultnoexcept |
Virtual Destructor.
|
inline |
Construcutor.
| ParameterSet | The input set of parameters for configuration |
Definition at line 34 of file DecoderToolBase.h.
References e, fhicl::ParameterSet::get(), and lar::dump::vector().
|
pure virtual |
declareProducts function
| art::ProducesCollector |
Implemented in SemanticDecoder, FilterDecoder, and VertexDecoder.
|
inline |
Definition at line 65 of file DecoderToolBase.h.
Referenced by FilterDecoder::writeToEvent(), and SemanticDecoder::writeToEvent().
|
inline |
|
inline |
Definition at line 77 of file DecoderToolBase.h.
References sum.
Referenced by SemanticDecoder::writeToEvent().
|
pure virtual |
writeEmptyToEvent function
| art::Event | event record |
Implemented in SemanticDecoder, FilterDecoder, and VertexDecoder.
|
pure virtual |
writeToEvent function
| art::Event | event record |
| idsmap | |
| infer_output |
Implemented in SemanticDecoder, FilterDecoder, and VertexDecoder.
|
protected |
Definition at line 101 of file DecoderToolBase.h.
Referenced by VertexDecoder::writeToEvent(), FilterDecoder::writeToEvent(), and SemanticDecoder::writeToEvent().
|
protected |
Definition at line 103 of file DecoderToolBase.h.
Referenced by VertexDecoder::declareProducts(), FilterDecoder::declareProducts(), SemanticDecoder::declareProducts(), VertexDecoder::writeEmptyToEvent(), FilterDecoder::writeEmptyToEvent(), SemanticDecoder::writeEmptyToEvent(), VertexDecoder::writeToEvent(), FilterDecoder::writeToEvent(), and SemanticDecoder::writeToEvent().
|
protected |
Definition at line 104 of file DecoderToolBase.h.
Referenced by FilterDecoder::writeToEvent(), and SemanticDecoder::writeToEvent().
|
protected |
Definition at line 102 of file DecoderToolBase.h.
Referenced by FilterDecoder::writeToEvent(), and SemanticDecoder::writeToEvent().