|  | ATLAS Offline Software
    | 
 
 
 
Go to the documentation of this file.
   11 #include "GaudiKernel/MsgStream.h" 
   22 #define MSGLVL MSG::DEBUG 
   25 #define ATH_MSG( MSG )                          \ 
   27       if( log.level() <= MSGLVL ) {             \ 
   28          log << MSGLVL << MSG << endmsg;        \ 
   52   float* newPtr = 
reinterpret_cast<float*
> (newObj.
getData (newId, 
sz, 
sz));
 
   53   if (oldPtr && newPtr) {
 
   64              MsgStream& 
log )
 const 
   67    ATH_MSG( 
"Converting xAOD::L2StandAloneMuonAuxContainer_v1 to current version..." );
 
   76    size_t sz = oldObj->
size();
 
   78    migrateVector (*oldObj, *newObj, 
"roiEtaUint", 
"roiEta");
 
   79    migrateVector (*oldObj, *newObj, 
"roiPhiUint", 
"roiPhi");
 
   83    ATH_MSG( 
"Converting xAOD::L2StandAloneMuonAuxContainer_v1 to current version " 
   95              MsgStream& 
log )
 const {
 
   98        << 
"Somebody called xAODL2StandAloneMuonAuxContainer_v1::transToPers" 
  100    throw std::runtime_error( 
"Somebody called xAODL2StandAloneMuonAuxContainer_v1::" 
  
void copyAuxStoreThinned(const SG::IConstAuxStore &orig, SG::IAuxStore ©, const SG::ThinningInfo *info)
Helper to copy an aux store while applying thinning.
virtual const void * getData(SG::auxid_t auxid) const =0
Return the data vector for one aux data item.
static AuxTypeRegistry & instance()
Return the singleton registry instance.
#define ATH_MSG(MSG)
Another convenience macro for printing messages in the converter.
virtual bool resize(size_t size) override
Resize the arrays to a given size.
virtual size_t size() const =0
Return the number of elements in the store.
virtual void transToPers(const xAOD::L2StandAloneMuonAuxContainer *, xAOD::L2StandAloneMuonAuxContainer_v1 *, MsgStream &log) const override
Dummy function inherited from the base class.
Auxiliary container for muon SA containers.
Handle mappings between names and auxid_t.
virtual size_t size() const override
Get the size of the container.
size_t auxid_t
Identifier for a particular aux data item.
Helper to copy an aux store while applying thinning.
xAODL2StandAloneMuonAuxContainerCnv_v1()
Default constructor.
Auxiliary container for muon SA containers.
Interface for non-const operations on an auxiliary store.
virtual void * getData(auxid_t auxid, size_t size, size_t capacity)=0
Return the data vector for one aux data item.
virtual void persToTrans(const xAOD::L2StandAloneMuonAuxContainer_v1 *oldObj, xAOD::L2StandAloneMuonAuxContainer *newObj, MsgStream &log) const override
Function converting from the old type to the current one.
Interface for const operations on an auxiliary store.
SG::auxid_t getAuxID(const std::string &name, const std::string &clsname="", const Flags flags=Flags::None, const SG::auxid_t linkedVariable=SG::null_auxid)
Look up a name -> auxid_t mapping.