|
ATLAS Offline Software
|
Go to the documentation of this file.
19 const std::string&
key)
22 if (trans->
size() > 0) {
28 size_t nremaining =
size;
31 if (
key2.size() >= 4 &&
key2.substr (
key2.size()-4, 4) ==
"Aux.")
77 if(auxid == SG::null_auxid)
continue;
79 if (
info &&
info->vetoed (auxid))
continue;
80 if (sel_auxids.
count(auxid) == 0)
continue;
90 if (nremaining ==
size) {
92 r.copyForOutput (auxid, dstIface, 0, srcIface, 0,
size);
96 for (std::size_t isrc = 0, idst = 0; isrc <
size; ++isrc) {
97 if ( ! (dec && dec->
thinned(isrc)) ) {
98 r.copyForOutput (auxid, dstIface, idst, srcIface, isrc, 1);
117 return poolReadObject<xAOD::ShallowAuxContainer>();
bit_t count() const
Count the number of 1 bits in the set.
static AuxTypeRegistry & instance()
Return the singleton registry instance.
Make an AuxVectorData object from either a raw vector or an aux store.
virtual const auxid_set_t & getDynamicAuxIDs() const override
Get the types(names) of variables created dynamically.
Hold thinning decisions for one container.
const DataLink< SG::IConstAuxStore > & parent() const
Get the parent store.
virtual xAOD::ShallowAuxContainer * createTransientWithKey(const std::string &key) override
Function reading in the object from the input file.
Class creating a shallow copy of an existing auxiliary container.
bool thinned(size_t ndx) const
Return true if element ndx should be thinned.
size_t thinnedSize() const
Return the size of the container being thinned after thinning.
void setParent(const DataLink< SG::IConstAuxStore > &link)
Set the parent store.
virtual size_t size() const override
Get the size of the container.
This templated class extends T_AthenaPoolCustCnv to provide management of the persistent objects crea...
virtual xAOD::ShallowAuxContainer * createPersistentWithKey(xAOD::ShallowAuxContainer *trans, const std::string &key) override
Function preparing the container to be written out.
Handle mappings between names and auxid_t.
void setShallowIO(bool value)
Set whether only the overriden parameters should be written out.
Hold thinning/slimming information for a given object.
size_t auxid_t
Identifier for a particular aux data item.
Helpers to retrieve the current thinning cache from the event context.
virtual SG::IAuxStore * getStore() override
Get the currently used internal store object.
Make an AuxVectorData object from either a raw array or an aux store.
virtual void * getData(auxid_t auxid, size_t size, size_t capacity)=0
Return the data vector for one aux data item.
Handle mappings between names and auxid_t.
virtual bool resize(size_t sz)=0
Change the size of all aux data vectors.
A set of aux data identifiers.
Helper to copy an object while applying thinning.
const SG::ThinningInfo * getThinningInfo(const EventContext &ctx, const std::string &key)
Retrieve the current thinning information for key.
xAODShallowAuxContainerCnv(ISvcLocator *svcLoc)
Converter constructor.
virtual const void * getData(auxid_t auxid) const override
Get a pointer to a given array.
virtual auxid_set_t getSelectedAuxIDs() const override
Get the IDs of the selected dynamic Aux variables (for writing)