![]() |
LArSoft
v10_04_05
Liquid Argon Software toolkit - https://larsoft.org/
|
Public Member Functions | |
FilterDecoder (const fhicl::ParameterSet &pset) | |
Constructor. More... | |
virtual | ~FilterDecoder () noexcept=default |
Virtual Destructor. More... | |
void | declareProducts (art::ProducesCollector &collector) override |
declareProducts function More... | |
void | writeEmptyToEvent (art::Event &e, const vector< vector< size_t >> &idsmap) override |
writeEmptyToEvent function More... | |
void | writeToEvent (art::Event &e, const vector< vector< size_t >> &idsmap, const vector< NuGraphOutput > &infer_output) override |
Decoder 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 9 of file FilterDecoder_tool.cc.
FilterDecoder::FilterDecoder | ( | const fhicl::ParameterSet & | pset | ) |
Constructor.
pset |
Definition at line 51 of file FilterDecoder_tool.cc.
|
virtualdefaultnoexcept |
Virtual Destructor.
|
inlineoverridevirtual |
declareProducts function
art::ProducesCollector |
Implements DecoderToolBase.
Definition at line 29 of file FilterDecoder_tool.cc.
References e, DecoderToolBase::instancename, art::ProducesCollector::produces(), lar::dump::vector(), writeEmptyToEvent(), and writeToEvent().
|
inlineinherited |
Definition at line 69 of file DecoderToolBase.h.
Referenced by writeToEvent(), and SemanticDecoder::writeToEvent().
|
inlineinherited |
|
inlineinherited |
Definition at line 81 of file DecoderToolBase.h.
References sum.
Referenced by SemanticDecoder::writeToEvent().
|
overridevirtual |
writeEmptyToEvent function
art::Event | event record |
Implements DecoderToolBase.
Definition at line 53 of file FilterDecoder_tool.cc.
References DecoderToolBase::instancename, art::Event::put(), and util::size().
Referenced by declareProducts().
|
overridevirtual |
Decoder function.
art::Event | event record for decoder |
Implements DecoderToolBase.
Definition at line 65 of file FilterDecoder_tool.cc.
References DecoderToolBase::debug, DEFINE_ART_CLASS_TOOL, f, DecoderToolBase::instancename, DecoderToolBase::outputname, DecoderToolBase::planes, DecoderToolBase::printVector(), art::Event::put(), and util::size().
Referenced by declareProducts().
|
protectedinherited |
Definition at line 105 of file DecoderToolBase.h.
Referenced by VertexDecoder::writeToEvent(), writeToEvent(), and SemanticDecoder::writeToEvent().
|
protectedinherited |
Definition at line 107 of file DecoderToolBase.h.
Referenced by VertexDecoder::declareProducts(), declareProducts(), SemanticDecoder::declareProducts(), VertexDecoder::writeEmptyToEvent(), writeEmptyToEvent(), SemanticDecoder::writeEmptyToEvent(), VertexDecoder::writeToEvent(), writeToEvent(), and SemanticDecoder::writeToEvent().
|
protectedinherited |
Definition at line 108 of file DecoderToolBase.h.
Referenced by writeToEvent(), and SemanticDecoder::writeToEvent().
|
protectedinherited |
Definition at line 106 of file DecoderToolBase.h.
Referenced by writeToEvent(), and SemanticDecoder::writeToEvent().