|
ATLAS Offline Software
|
Go to the documentation of this file.
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::"
95 #endif //ifndef SIMULATIONBASE OR GNERATIONBASE
void copyAuxStoreThinned(const SG::IConstAuxStore &orig, SG::IAuxStore ©, const SG::ThinningInfo *info)
Helper to copy an aux store while applying thinning.
virtual bool resize(size_t size) override
Resize the arrays to a given size.
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.
Temporary container used until we have I/O for AuxStoreInternal.
Helper to copy an aux store while applying thinning.
Temporary container used until we have I/O for AuxStoreInternal.
value_type push_back(value_type pElem)
Add an element to the end of the collection.
virtual size_t size() const override
Get the size of the container.
virtual void transToPers(const xAOD::JetTrigAuxContainer *, xAOD::JetTrigAuxContainer_v1 *, MsgStream &log) const override
Dummy function inherited from the base class.
xAODJetTrigAuxContainerCnv_v1()
Default constructor.
#define ATH_MSG(MSG)
Another convenience macro for printing messages in the converter.