10#include "GaudiKernel/MsgStream.h"
22#define MSGLVL MSG::DEBUG
25#define ATH_MSG( MSG ) \
27 if( log.level() <= MSGLVL ) { \
28 log << MSGLVL << MSG << endmsg; \
39 MsgStream& log )
const {
42 ATH_MSG(
"Converting xAOD::TrigRNNOutputAuxContainer_v1 to current version..." );
50 for(
size_t i = 0; i < oldObj->
size(); ++i ) {
53 oldInt.setStore( oldObj );
57 for (
size_t i = 0; i < newObj->
size(); ++i) {
60 newInt.setStore( newObj );
63 for(
size_t i = 0; i < oldInt.
size(); ++i ) {
64 newInt[ i ]->setRnnDecision( oldInt[ i ]->decision() );
76 MsgStream& log )
const {
79 <<
"Somebody called xAODTrigRNNOutputAuxContainerCnv_v1::transToPers"
81 throw std::runtime_error(
"Somebody called "
82 "xAODTrigRNNOutputAuxContainerCnv_v1::"
value_type push_back(value_type pElem)
Add an element to the end of the collection.
size_type size() const noexcept
Returns the number of elements in the collection.
virtual void transToPers(const xAOD::TrigRNNOutputAuxContainer *, xAOD::TrigRNNOutputAuxContainer_v1 *, MsgStream &log) const override
Dummy function inherited from the base class.
virtual void persToTrans(const xAOD::TrigRNNOutputAuxContainer_v1 *oldObj, xAOD::TrigRNNOutputAuxContainer *newObj, MsgStream &log) const override
Function converting from the old type to the current one.
xAODTrigRNNOutputAuxContainerCnv_v1()
Default constructor.
virtual bool resize(size_t size) override
Resize the arrays to a given size.
virtual size_t size() const override
Get the size of the container.
This is a fixed implementation of the trigger TrigRNNOutput auxiliary store.
Helper to copy an aux store while applying thinning.
void copyAuxStoreThinned(const SG::IConstAuxStore &orig, SG::IAuxStore ©, const SG::ThinningInfo *info)
Helper to copy an aux store while applying thinning.
DataVector< TrigRNNOutput_v1 > TrigRNNOutputContainer_v1
Define the RingerRings container as a simple DataVector.
TrigRNNOutput_v2 TrigRNNOutput
Define the latest version of the RingerRings class.
TrigRNNOutputAuxContainer_v2 TrigRNNOutputAuxContainer
Define the latest version of the RingerRings class.
TrigRNNOutputContainer_v2 TrigRNNOutputContainer
Define the latest version of the TrigRNNOutputContainer class.