|
EDM4eic
EIC data model
|
#include <InclusiveKinematicsCollection.h>
Public Types | |
| using | value_type = InclusiveKinematics |
| using | mutable_type = MutableInclusiveKinematics |
| using | const_iterator = InclusiveKinematicsCollectionIterator |
| using | iterator = InclusiveKinematicsMutableCollectionIterator |
| 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 | |
| InclusiveKinematicsCollection () | |
| InclusiveKinematicsCollection (InclusiveKinematicsCollectionData &&data, bool isSubsetColl) | |
| InclusiveKinematicsCollection (const InclusiveKinematicsCollection &)=delete | |
| InclusiveKinematicsCollection & | operator= (const InclusiveKinematicsCollection &)=delete |
| InclusiveKinematicsCollection (InclusiveKinematicsCollection &&)=default | |
| InclusiveKinematicsCollection & | operator= (InclusiveKinematicsCollection &&)=default |
| ~InclusiveKinematicsCollection () override | |
| void | clear () final |
| void | print (std::ostream &os=std::cout, bool flush=true) const final |
| Print this collection to the passed stream. | |
| InclusiveKinematicsCollection * | operator-> () |
| operator to allow pointer like calling of members a la LCIO | |
| MutableInclusiveKinematics | create () |
| Append a new object to the collection, and return this object. | |
| template<typename... Args> | |
| MutableInclusiveKinematics | 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 |
| InclusiveKinematics | operator[] (std::size_t index) const |
| Returns the const object of given index. | |
| MutableInclusiveKinematics | operator[] (std::size_t index) |
| Returns the object of a given index. | |
| InclusiveKinematics | at (std::size_t index) const |
| Returns the const object of given index. | |
| MutableInclusiveKinematics | at (std::size_t index) |
| Returns the object of given index. | |
| void | push_back (const MutableInclusiveKinematics &object) |
| Append object to the collection. | |
| void | push_back (const InclusiveKinematics &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 | 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< float > | x (const size_t nElem=0) const |
| std::vector< float > | Q2 (const size_t nElem=0) const |
| std::vector< float > | W (const size_t nElem=0) const |
| std::vector< float > | y (const size_t nElem=0) const |
| std::vector< float > | nu (const size_t nElem=0) const |
Static Public Attributes | |
| static constexpr std::string_view | typeName = "edm4eic::InclusiveKinematicsCollection" |
| static constexpr std::string_view | valueTypeName = "edm4eic::InclusiveKinematics" |
| static constexpr std::string_view | dataTypeName = "edm4eic::InclusiveKinematicsData" |
Friends | |
| class | InclusiveKinematicsCollectionData |
A Collection is identified by an ID.
| using edm4eic::InclusiveKinematicsCollection::const_iterator = InclusiveKinematicsCollectionIterator |
| using edm4eic::InclusiveKinematicsCollection::const_reverse_iterator = std::reverse_iterator<const_iterator> |
| using edm4eic::InclusiveKinematicsCollection::difference_type = ptrdiff_t |
| using edm4eic::InclusiveKinematicsCollection::iterator = InclusiveKinematicsMutableCollectionIterator |
| using edm4eic::InclusiveKinematicsCollection::reverse_iterator = std::reverse_iterator<iterator> |
| using edm4eic::InclusiveKinematicsCollection::size_type = size_t |
| edm4eic::InclusiveKinematicsCollection::InclusiveKinematicsCollection | ( | ) |
| edm4eic::InclusiveKinematicsCollection::InclusiveKinematicsCollection | ( | InclusiveKinematicsCollectionData && | data, |
| bool | isSubsetColl ) |
|
delete |
|
default |
|
override |
| MutableInclusiveKinematics edm4eic::InclusiveKinematicsCollection::at | ( | std::size_t | index | ) |
Returns the object of given index.
| InclusiveKinematics edm4eic::InclusiveKinematicsCollection::at | ( | std::size_t | index | ) | const |
Returns the const object of given index.
|
inline |
|
inline |
|
inline |
|
inline |
|
final |
|
inline |
| MutableInclusiveKinematics edm4eic::InclusiveKinematicsCollection::create | ( | ) |
Append a new object to the collection, and return this object.
| MutableInclusiveKinematics edm4eic::InclusiveKinematicsCollection::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 |
|
inlinefinal |
|
final |
maximal number of elements in the collection
| std::vector< float > edm4eic::InclusiveKinematicsCollection::nu | ( | const size_t | nElem = 0 | ) | const |
|
inline |
operator to allow pointer like calling of members a la LCIO
|
delete |
|
default |
| MutableInclusiveKinematics edm4eic::InclusiveKinematicsCollection::operator[] | ( | std::size_t | index | ) |
Returns the object of a given index.
| InclusiveKinematics edm4eic::InclusiveKinematicsCollection::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::InclusiveKinematicsCollection::push_back | ( | const InclusiveKinematics & | object | ) |
Append an object to the (subset) collection.
| void edm4eic::InclusiveKinematicsCollection::push_back | ( | const MutableInclusiveKinematics & | object | ) |
Append object to the collection.
| std::vector< float > edm4eic::InclusiveKinematicsCollection::Q2 | ( | const size_t | nElem = 0 | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinefinal |
|
final |
|
final |
|
final |
number of elements in the collection
| std::vector< float > edm4eic::InclusiveKinematicsCollection::W | ( | const size_t | nElem = 0 | ) | const |
| std::vector< float > edm4eic::InclusiveKinematicsCollection::x | ( | const size_t | nElem = 0 | ) | const |
| std::vector< float > edm4eic::InclusiveKinematicsCollection::y | ( | const size_t | nElem = 0 | ) | const |
|
friend |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |