|
ATLAS Offline Software
|
Go to the documentation of this file.
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::"
void copyAuxStoreThinned(const SG::IConstAuxStore &orig, SG::IAuxStore ©, const SG::ThinningInfo *info)
Helper to copy an aux store while applying thinning.
This is a fixed implementation of the trigger TrigRNNOutput auxiliary store.
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.
virtual bool resize(size_t size) override
Resize the arrays to a given size.
This is a fixed implementation of the trigger TrigRNNOutput auxiliary store.
virtual size_t size() const override
Get the size of the container.
Helper to copy an aux store while applying thinning.
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.
#define ATH_MSG(MSG)
Another convenience macro for printing messages in the converter.
xAODTrigRNNOutputAuxContainerCnv_v1()
Default constructor.