11#include "GaudiKernel/MsgStream.h"
23#define MSGLVL MSG::DEBUG
26#define ATH_MSG( MSG ) \
28 if( log.level() <= MSGLVL ) { \
29 log << MSGLVL << MSG << endmsg; \
40 MsgStream& log )
const {
43 ATH_MSG(
"Converting xAOD::TrigRingerRingsAuxContainer_v1 to current "
53 for(
size_t i = 0; i < oldObj->
size(); ++i ) {
56 oldInt.setStore( oldObj );
60 for(
size_t i = 0; i < newObj->
size(); ++i ) {
63 newInt.setStore( newObj );
66 for(
size_t i = 0; i < oldInt.
size(); ++i ) {
67 newInt[ i ]->setRings( oldInt[ i ]->rings() );
79 MsgStream& log )
const {
82 <<
"Somebody called xAODTrigRingerRingsAuxContainerCnv_v1::transToPers"
84 throw std::runtime_error(
"Somebody called "
85 "xAODTrigRingerRingsAuxContainerCnv_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.
xAODTrigRingerRingsAuxContainerCnv_v1()
Default constructor.
virtual void transToPers(const xAOD::TrigRingerRingsAuxContainer *, xAOD::TrigRingerRingsAuxContainer_v1 *, MsgStream &log) const override
Dummy function inherited from the base class.
virtual void persToTrans(const xAOD::TrigRingerRingsAuxContainer_v1 *oldObj, xAOD::TrigRingerRingsAuxContainer *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.
virtual size_t size() const override
Get the size of the container.
This is a fixed implementation of the trigger TrigRingerRings 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.
TrigRingerRings_v2 TrigRingerRings
Define the latest version of the TrigRingerRings class.
TrigRingerRingsContainer_v2 TrigRingerRingsContainer
Define the latest version of the TrigRingerRingsContainer class.
DataVector< TrigRingerRings_v1 > TrigRingerRingsContainer_v1
Define the TrigRingerRings container as a simple DataVector.
TrigRingerRingsAuxContainer_v2 TrigRingerRingsAuxContainer
Define the latest version of the TrigRingerRings class.