6#if !(defined(GENERATIONBASE) || defined(SIMULATIONBASE))
11#include "GaudiKernel/MsgStream.h"
18#include "AthLinks/ElementLink.h"
28#define MSGLVL MSG::VERBOSE
31#define ATH_MSG( MSG ) \
33 if( log.level() <= MSGLVL ) { \
34 log << MSGLVL << MSG << endmsg; \
45 MsgStream& log )
const {
48 ATH_MSG(
"Converting xAOD::JetTrigAuxContainer_v1 to current version..." );
59 for(
size_t i = 0; i < oldObj->
size(); ++i ) {
62 oldInt.setStore( oldObj );
65 for(
size_t i = 0; i < newObj->
size(); ++i ) {
68 newInt.setStore( newObj );
70 std::vector< std::vector< ElementLink< xAOD::IParticleContainer > > > GhostTrack;
73 ATH_MSG(
"Converting xAOD::JetTrigAuxContainer_v1 to current version "
85 MsgStream& log )
const {
88 <<
"Somebody called xAODJetTrigAuxContainerCnv_v1::transToPers"
90 throw std::runtime_error(
"Somebody called xAODJetTrigAuxContainerCnv_v1::"
value_type push_back(value_type pElem)
Add an element to the end of the collection.
virtual void transToPers(const xAOD::JetTrigAuxContainer *, xAOD::JetTrigAuxContainer_v1 *, MsgStream &log) const override
Dummy function inherited from the base class.
xAODJetTrigAuxContainerCnv_v1()
Default constructor.
virtual void persToTrans(const xAOD::JetTrigAuxContainer_v1 *oldObj, xAOD::JetTrigAuxContainer *newObj, MsgStream &log) const override
Function converting from the old type to the current one.
virtual size_t size() const override
Get the size of the container.
virtual bool resize(size_t size) override
Resize the arrays to a given size.
Temporary container used until we have I/O for AuxStoreInternal.
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.
Jet_v1 Jet
Definition of the current "jet version".
JetTrigAuxContainer_v2 JetTrigAuxContainer
Definition of the current jet trigger auxiliary container.
JetContainer_v1 JetContainer
Definition of the current "jet container version".