|
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef XAODROOTACCESS_TOOLS_TAUXVECTOR_H
6 #define XAODROOTACCESS_TOOLS_TAUXVECTOR_H
14 class TVirtualCollectionProxy;
17 class TAuxVectorFactory;
36 const ::TClass*
cl,
size_t size,
size_t capacity,
50 virtual std::unique_ptr< SG::IAuxTypeVector >
clone()
const override;
53 virtual void*
toPtr()
override;
54 virtual const void*
toPtr()
const override;
59 virtual size_t size()
const override;
62 virtual bool resize(
size_t sz )
override;
64 virtual void reserve(
size_t sz )
override;
66 virtual bool shift(
size_t pos, ptrdiff_t offs )
override;
69 void*
src,
size_t src_pos,
size_t src_n,
94 std::unique_ptr<::TVirtualCollectionProxy>
m_proxy;
102 #endif // XAODROOTACCESS_TOOLS_TAUXVECTOR_H
bool isLinked() const
Return true if this variable is linked from another one.
virtual void reserve(size_t sz) override
Change the capacity of the vector.
virtual void * toVector() override
Return a pointer to the STL vector itself.
std::unique_ptr<::TVirtualCollectionProxy > m_proxy
ROOT's description of the vector type Cloned from the proxy held by the TClass and permanently bound ...
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
void storeDataSpan()
Update the stored span.
Abstract interface for manipulating vectors of arbitrary types.
virtual void * toPtr() override
Return a pointer to the start of the vector's data.
size_t auxid_t
Identifier for a particular aux data item.
virtual std::unique_ptr< SG::IAuxTypeVector > clone() const override
Copy the managed vector.
TAuxVector(const TAuxVectorFactory *factory, SG::auxid_t auxid, const ::TClass *cl, size_t size, size_t capacity, bool isLinked)
Constructor.
TAuxVector & operator=(const TAuxVector &other)
Assignment operator.
Auxiliary vector type for types known to ROOT.
Auxiliary vector factory based on a ROOT dictionary.
virtual SG::AuxDataSpanBase getDataSpanImpl() const override final
Return a span object describing the current vector.
virtual size_t size() const override
Return the size of the vector.
virtual bool insertMove(size_t pos, void *src, size_t src_pos, size_t src_n, SG::IAuxStore &srcStore) override
Insert a range of elements via move.
virtual bool resize(size_t sz) override
Change the size of the vector.
Minimal span-like object describing the range of an auxiliary variable.
auxid_t auxid() const
Return the auxid of the variable this vector represents.
Interface for non-const operations on an auxiliary store.
Interface for factory objects that create vectors.
Abstract interface for manipulating vectors of arbitrary types.
virtual bool shift(size_t pos, ptrdiff_t offs) override
Shift the elements of the vector.
void clearRange(void *dst, size_t n)
void * m_vec
Pointer to the vector object.
void copyRange(const void *src, void *dst, size_t n)
Function copying the payload of a range to a new location.
cl
print [x.__class__ for x in toList(dqregion.getSubRegions()) ]
const TAuxVectorFactory * m_factory
The parent factory object.