|
EDM4eic
EIC data model
|
#include <IrtRadiatorInfoCollection.h>
Public Types | |
| using | value_type = IrtRadiatorInfo |
| using | mutable_type = MutableIrtRadiatorInfo |
| using | const_iterator = IrtRadiatorInfoCollectionIterator |
| using | iterator = IrtRadiatorInfoMutableCollectionIterator |
| using | difference_type = ptrdiff_t |
| using | size_type = size_t |
| using | const_reverse_iterator = std::reverse_iterator<const_iterator> |
| using | reverse_iterator = std::reverse_iterator<iterator> |
Public Member Functions | |
| IrtRadiatorInfoCollection ()=default | |
| IrtRadiatorInfoCollection (IrtRadiatorInfoCollectionData &&data, bool isSubsetColl) | |
| IrtRadiatorInfoCollection (const IrtRadiatorInfoCollection &)=delete | |
| IrtRadiatorInfoCollection & | operator= (const IrtRadiatorInfoCollection &)=delete |
| IrtRadiatorInfoCollection (IrtRadiatorInfoCollection &&)=default | |
| IrtRadiatorInfoCollection & | operator= (IrtRadiatorInfoCollection &&)=default |
| ~IrtRadiatorInfoCollection () override | |
| void | clear () final |
| void | print (std::ostream &os=std::cout, bool flush=true) const final |
| Print this collection to the passed stream. | |
| MutableIrtRadiatorInfo | create () |
| Append a new object to the collection, and return this object. | |
| template<typename... Args> | |
| MutableIrtRadiatorInfo | create (Args &&... args) |
| std::size_t | size () const final |
| number of elements in the collection | |
| std::size_t | max_size () const final |
| maximal number of elements in the collection | |
| bool | empty () const final |
| Is the collection empty. | |
| const std::string_view | getTypeName () const final |
| fully qualified type name | |
| const std::string_view | getValueTypeName () const final |
| fully qualified type name of elements - with namespace | |
| const std::string_view | getDataTypeName () const final |
| fully qualified type name of stored POD elements - with namespace | |
| podio::SchemaVersionT | getSchemaVersion () const final |
| schema version | |
| bool | isSubsetCollection () const final |
| void | setSubsetCollection (bool setSubset=true) final |
| IrtRadiatorInfo | operator[] (std::size_t index) const |
| Returns the const object of given index. | |
| MutableIrtRadiatorInfo | operator[] (std::size_t index) |
| Returns the object of a given index. | |
| IrtRadiatorInfo | at (std::size_t index) const |
| Returns the const object of given index. | |
| MutableIrtRadiatorInfo | at (std::size_t index) |
| Returns the object of given index. | |
| void | push_back (const MutableIrtRadiatorInfo &object) |
| Append object to the collection. | |
| void | push_back (const IrtRadiatorInfo &object) |
| Append an object to the (subset) collection. | |
| void | prepareForWrite () const final |
| void | prepareAfterRead () final |
| bool | setReferences (const podio::ICollectionProvider *collectionProvider) final |
| podio::CollectionWriteBuffers | getBuffers () final |
| Get the collection buffers for this collection. | |
| void | setID (uint32_t ID) final |
| uint32_t | getID () const final |
| bool | hasID () const final |
| check if the collection has a valid ID | |
| bool | isValid () const final |
| size_t | getDatamodelRegistryIndex () const final |
| iterator | begin () |
| const_iterator | begin () const |
| const_iterator | cbegin () const |
| iterator | end () |
| const_iterator | end () const |
| const_iterator | cend () const |
| reverse_iterator | rbegin () |
| const_reverse_iterator | rbegin () const |
| const_reverse_iterator | crbegin () const |
| reverse_iterator | rend () |
| const_reverse_iterator | rend () const |
| const_reverse_iterator | crend () const |
| std::vector< std::uint16_t > | npe (const size_t nElem=0) const |
| std::vector< std::uint16_t > | nhits (const size_t nElem=0) const |
| std::vector< float > | angle (const size_t nElem=0) const |
Static Public Member Functions | |
| static void | __cppyy_pythonize__ (PyObject *klass, const std::string &name) |
| Cppyy protocol to setup the pythonizations for this class. Not to be called directly. | |
Static Public Attributes | |
| static constexpr std::string_view | typeName = "edm4eic::IrtRadiatorInfoCollection" |
| static constexpr std::string_view | valueTypeName = "edm4eic::IrtRadiatorInfo" |
| static constexpr std::string_view | dataTypeName = "edm4eic::IrtRadiatorInfoData" |
Friends | |
| class | IrtRadiatorInfoCollectionData |
A Collection is identified by an ID.
| using edm4eic::IrtRadiatorInfoCollection::const_reverse_iterator = std::reverse_iterator<const_iterator> |
| using edm4eic::IrtRadiatorInfoCollection::difference_type = ptrdiff_t |
| using edm4eic::IrtRadiatorInfoCollection::reverse_iterator = std::reverse_iterator<iterator> |
| using edm4eic::IrtRadiatorInfoCollection::size_type = size_t |
|
default |
| edm4eic::IrtRadiatorInfoCollection::IrtRadiatorInfoCollection | ( | IrtRadiatorInfoCollectionData && | data, |
| bool | isSubsetColl ) |
|
delete |
|
default |
|
override |
|
inlinestatic |
Cppyy protocol to setup the pythonizations for this class. Not to be called directly.
| std::vector< float > edm4eic::IrtRadiatorInfoCollection::angle | ( | const size_t | nElem = 0 | ) | const |
| MutableIrtRadiatorInfo edm4eic::IrtRadiatorInfoCollection::at | ( | std::size_t | index | ) |
Returns the object of given index.
| IrtRadiatorInfo edm4eic::IrtRadiatorInfoCollection::at | ( | std::size_t | index | ) | const |
Returns the const object of given index.
|
inline |
|
inline |
|
inline |
|
inline |
|
final |
|
inline |
| MutableIrtRadiatorInfo edm4eic::IrtRadiatorInfoCollection::create | ( | ) |
Append a new object to the collection, and return this object.
| MutableIrtRadiatorInfo edm4eic::IrtRadiatorInfoCollection::create | ( | Args &&... | args | ) |
Append a new object to the collection, and return this object. Initialized with the parameters given
|
inline |
|
final |
Is the collection empty.
|
inline |
|
inline |
|
final |
Get the collection buffers for this collection.
|
final |
|
inlinefinal |
fully qualified type name of stored POD elements - with namespace
|
inlinefinal |
|
final |
schema version
|
inlinefinal |
fully qualified type name
|
inlinefinal |
fully qualified type name of elements - with namespace
|
inlinefinal |
check if the collection has a valid ID
|
inlinefinal |
|
inlinefinal |
|
final |
maximal number of elements in the collection
| std::vector< std::uint16_t > edm4eic::IrtRadiatorInfoCollection::nhits | ( | const size_t | nElem = 0 | ) | const |
| std::vector< std::uint16_t > edm4eic::IrtRadiatorInfoCollection::npe | ( | const size_t | nElem = 0 | ) | const |
|
delete |
|
default |
| MutableIrtRadiatorInfo edm4eic::IrtRadiatorInfoCollection::operator[] | ( | std::size_t | index | ) |
Returns the object of a given index.
| IrtRadiatorInfo edm4eic::IrtRadiatorInfoCollection::operator[] | ( | std::size_t | index | ) | const |
Returns the const object of given index.
|
final |
|
final |
|
final |
Print this collection to the passed stream.
| void edm4eic::IrtRadiatorInfoCollection::push_back | ( | const IrtRadiatorInfo & | object | ) |
Append an object to the (subset) collection.
| void edm4eic::IrtRadiatorInfoCollection::push_back | ( | const MutableIrtRadiatorInfo & | object | ) |
Append object to the collection.
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinefinal |
|
final |
|
final |
|
final |
number of elements in the collection
|
friend |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |