ATLAS Offline Software
Loading...
Searching...
No Matches
JaggedVecDecorator.h File Reference

Helper class to provide type-safe access to aux data, specialized for JaggedVecElt. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  SG
 Forward declaration.

Functions

 SG::Decorator (const std::string &name)
 Helper class to provide type-safe access to aux data.
 SG::Decorator (const std::string &name, const std::string &clsname)
 Constructor.
 SG::Decorator (const SG::auxid_t auxid)
 Constructor taking an auxid directly.
template<IsConstAuxElement ELT>
reference_type SG::operator() (const ELT &e) const
 Fetch the variable for one element, as a non-const reference.
reference_type SG::operator() (const AuxVectorData &container, size_t index) const
 Fetch the variable for one element, as a non-const reference.
template<IsConstAuxElement ELT, CxxUtils::InputRangeOverT< PAYLOAD_T > RANGE>
void SG::set (const ELT &e, const RANGE &x) const
 Set the variable for one element.
template<CxxUtils::InputRangeOverT< PAYLOAD_T > RANGE>
void SG::set (const AuxVectorData &container, size_t index, const RANGE &x) const
 Set the variable for one element.
const Elt_t * SG::getEltArray (const AuxVectorData &container) const
 Get a pointer to the start of the array of JaggedVecElt objects.
const Payload_t * SG::getPayloadArray (const AuxVectorData &container) const
 Get a pointer to the start of the payload array.
Elt_t * SG::getEltDecorArray (const AuxVectorData &container) const
 Get a pointer to the start of the array of JaggedVecElt objects, as a decoration.
Payload_t * SG::getPayloadDecorArray (const AuxVectorData &container) const
 Get a pointer to the start of the payload array, as a decoration.
const_Elt_span SG::getEltSpan (const AuxVectorData &container) const
 Get a span over the array of JaggedVecElt objects.
const_Payload_span SG::getPayloadSpan (const AuxVectorData &container) const
 Get a span over the payload vector.
const_span SG::getDataSpan (const AuxVectorData &container) const
 Get a span over the auxiliary data array.
Elt_span SG::getEltDecorSpan (const AuxVectorData &container) const
 Get a span over the array of JaggedVecElt objects, as a decoration.
Payload_span SG::getPayloadDecorSpan (const AuxVectorData &container) const
 Get a span over the payload vector, as a decoration.
span SG::getDecorationSpan (const AuxVectorData &container) const
 Get a span over the auxiliary data array.
template<IsConstAuxElement ELT>
bool SG::isAvailableWritable (const ELT &e) const
 Test to see if this variable exists in the store and is writable.
bool SG::isAvailableWritable (const AuxVectorData &c) const
 Test to see if this variable exists in the store and is writable.
 SG::Decorator (const std::string &name, const std::string &clsname, const SG::AuxVarFlags flags)
 Constructor.

Detailed Description

Helper class to provide type-safe access to aux data, specialized for JaggedVecElt.

Author
scott snyder snyde.nosp@m.r@bn.nosp@m.l.gov
Date
Apr, 2024

Definition in file JaggedVecDecorator.h.