11#include "AthLinks/ElementLink.h"
14void TrigRNNOutputCnv_p1::transToPers(
const TrigRNNOutput *trans,
16 MsgStream &log)
const {
18 log << MSG::DEBUG <<
"TrigRNNOutputCnv_p1::tranToPers" <<
endmsg;
20 if ( (!trans) || (!pers) )
24 for (
unsigned int i = 0;
i < trans->
size(); ++
i) {
33 MsgStream &log)
const {
35 log << MSG::DEBUG <<
"TrigRNNOutputCnv_p1::persToTrans" <<
endmsg;
37 if ( (!pers) || (!trans) )
41 for (
unsigned int i = 0;
i < pers->
m_output.size(); ++
i){
45 ElementLink<TrigEMClusterContainer> cluster;
46 m_ELinkTrigEMClusterCnv.persToTrans(&pers->
m_cluster, &cluster, log);
This file contains the class definition for the ElementLinkCnv_p1 class.
ElementLinkInt_p1 m_cluster
std::vector< float > m_output
This class carries the output of the Neural Network of TrigMultiVarHypo.
unsigned int size() const
float & at(const unsigned int i)
std::vector< float > & output()
Acessor methods.
const ElementLink< TrigEMClusterContainer > & clusterLink() const
void setCluster(const TrigEMClusterContainer &cluster_con, unsigned int cluster_idx)