|
ATLAS Offline Software
|
Go to the documentation of this file.
15 #ifndef LARELECCALIB_LARVECTORPROXY_H
16 #define LARELECCALIB_LARVECTORPROXY_H
86 #endif // not LARELECCALIB__LARVECTORPROXY_H
LArVectorProxy(const value_type *beg, const value_type *end)
Construct a proxy referencing a range of vectors in memory.
span(T *ptr, std::size_t sz) -> span< T >
A couple needed deduction guides.
bool valid() const
Test to see if the proxy has been initialized.
std::vector< size_t > vec
LArVectorProxy(const std::vector< value_type > &vec)
Construct a proxy referencing an existing vector.
LArVectorProxy()
Default constructor.
value_type at(size_t i) const
Vector indexing with bounds check.
std::vector< value_type > asVector() const
Convert back to a vector.
Proxy for accessing a range of float values like a vector.