![]() |
LArSoft
v10_04_05
Liquid Argon Software toolkit - https://larsoft.org/
|
Public Member Functions | |
VertexDecoder (const fhicl::ParameterSet &pset) | |
Constructor. More... | |
virtual | ~VertexDecoder () 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 |
Private Attributes | |
string | outputDictElem |
Definition at line 6 of file VertexDecoder_tool.cc.
VertexDecoder::VertexDecoder | ( | const fhicl::ParameterSet & | pset | ) |
Constructor.
pset |
Definition at line 51 of file VertexDecoder_tool.cc.
References fhicl::ParameterSet::get().
|
virtualdefaultnoexcept |
Virtual Destructor.
|
inlineoverridevirtual |
declareProducts function
art::ProducesCollector |
Implements DecoderToolBase.
Definition at line 26 of file VertexDecoder_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 FilterDecoder::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 55 of file VertexDecoder_tool.cc.
References DecoderToolBase::instancename, and art::Event::put().
Referenced by declareProducts().
|
overridevirtual |
Decoder function.
art::Event | event record for decoder |
Implements DecoderToolBase.
Definition at line 63 of file VertexDecoder_tool.cc.
References DecoderToolBase::debug, DEFINE_ART_CLASS_TOOL, DecoderToolBase::instancename, outputDictElem, and art::Event::put().
Referenced by declareProducts().
|
protectedinherited |
Definition at line 105 of file DecoderToolBase.h.
Referenced by writeToEvent(), FilterDecoder::writeToEvent(), and SemanticDecoder::writeToEvent().
|
protectedinherited |
Definition at line 107 of file DecoderToolBase.h.
Referenced by declareProducts(), FilterDecoder::declareProducts(), SemanticDecoder::declareProducts(), writeEmptyToEvent(), FilterDecoder::writeEmptyToEvent(), SemanticDecoder::writeEmptyToEvent(), writeToEvent(), FilterDecoder::writeToEvent(), and SemanticDecoder::writeToEvent().
|
private |
Definition at line 48 of file VertexDecoder_tool.cc.
Referenced by writeToEvent().
|
protectedinherited |
Definition at line 108 of file DecoderToolBase.h.
Referenced by FilterDecoder::writeToEvent(), and SemanticDecoder::writeToEvent().
|
protectedinherited |
Definition at line 106 of file DecoderToolBase.h.
Referenced by FilterDecoder::writeToEvent(), and SemanticDecoder::writeToEvent().