24 if( ! copy.container() ) {
27 if( ! copy.container()->hasStore() ) {
30 if( ! copy.container()->hasNonConstStore() ) {
38 if( ( ! ocont ) || ( ! ocont->
hasStore() ) ) {
48 const size_t iindex = orig.
index();
49 const size_t oindex = copy.index();
56 r.copy( auxid, copy_container, oindex, *ocont, iindex, 1 );
59 for(
SG::auxid_t auxid : copy.container()->getWritableAuxIDs() ) {
60 if( !other_ids.
test( auxid ) ) {
61 r.clear( auxid, copy_container, oindex, 1 );
Base class for elements of a container that can have aux data.
Handle mappings between names and auxid_t.
Exceptions that can be thrown from AthContainers.
bool test(bit_t bit) const
Test to see if a bit is set.
Base class for elements of a container that can have aux data.
const SG::AuxVectorData * container() const
Return the container holding this element.
size_t index() const
Return the index of this element within its container.
Handle mappings between names and auxid_t.
static AuxTypeRegistry & instance()
Return the singleton registry instance.
Manage lookup of vectors of auxiliary data.
const SG::auxid_set_t & getAuxIDs() const
Return a set of identifiers for existing data items in store associated with this object.
bool hasStore() const
Return true if this object has an associated store.
Exception — Non-const operation performed on const aux data.
A set of aux data identifiers.
size_t auxid_t
Identifier for a particular aux data item.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
void safeDeepCopy(const SG::AuxElement &orig, SG::AuxElement ©)
Function that can deep-copy "problematic" objects.