|
ATLAS Offline Software
|
Go to the documentation of this file.
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::"
void copyAuxStoreThinned(const SG::IConstAuxStore &orig, SG::IAuxStore ©, const SG::ThinningInfo *info)
Helper to copy an aux store while applying thinning.
xAODTrigRingerRingsAuxContainerCnv_v1()
Default constructor.
This is a fixed implementation of the trigger TrigRingerRings auxiliary store.
#define ATH_MSG(MSG)
Another convenience macro for printing messages in the converter.
This is a fixed implementation of the trigger TrigRingerRings auxiliary store.
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.
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.
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 void transToPers(const xAOD::TrigRingerRingsAuxContainer *, xAOD::TrigRingerRingsAuxContainer_v1 *, MsgStream &log) const override
Dummy function inherited from the base class.
size_type size() const noexcept
Returns the number of elements in the collection.