|
EICd
EIC data model
|
#include <TrackSegmentCollection.h>
Public Types | |
| using | const_iterator = TrackSegmentCollectionIterator |
| using | iterator = TrackSegmentMutableCollectionIterator |
Public Member Functions | |
| TrackSegmentCollection () | |
| TrackSegmentCollection (const TrackSegmentCollection &)=delete | |
| TrackSegmentCollection & | operator= (const TrackSegmentCollection &)=delete |
| TrackSegmentCollection (TrackSegmentCollection &&)=default | |
| TrackSegmentCollection & | operator= (TrackSegmentCollection &&)=default |
| ~TrackSegmentCollection () | |
| void | clear () final |
| TrackSegmentCollection * | operator-> () |
| operator to allow pointer like calling of members a la LCIO More... | |
| MutableTrackSegment | create () |
| Append a new object to the collection, and return this object. More... | |
| template<typename... Args> | |
| MutableTrackSegment | create (Args &&... args) |
| size_t | size () const final |
| number of elements in the collection More... | |
| std::string | getTypeName () const final |
| fully qualified type name More... | |
| std::string | getValueTypeName () const final |
| fully qualified type name of elements - with namespace More... | |
| std::string | getDataTypeName () const final |
| fully qualified type name of stored POD elements - with namespace More... | |
| bool | isSubsetCollection () const final |
| void | setSubsetCollection (bool setSubset=true) final |
| TrackSegment | operator[] (unsigned int index) const |
| Returns the const object of given index. More... | |
| MutableTrackSegment | operator[] (unsigned int index) |
| Returns the object of a given index. More... | |
| TrackSegment | at (unsigned int index) const |
| Returns the const object of given index. More... | |
| MutableTrackSegment | at (unsigned int index) |
| Returns the object of given index. More... | |
| void | push_back (TrackSegment object) |
| Append object to the collection. More... | |
| void | prepareForWrite () const final |
| void | prepareAfterRead () final |
| bool | setReferences (const podio::ICollectionProvider *collectionProvider) final |
| podio::CollectionBuffers | getBuffers () final |
| Get the collection buffers for this collection. More... | |
| void | setID (unsigned ID) final |
| unsigned | getID () const final |
| bool | isValid () const final |
| iterator | begin () |
| const_iterator | begin () const |
| iterator | end () |
| const_iterator | end () const |
| template<size_t arraysize> | |
| const std::array< float, arraysize > | length () const |
| template<size_t arraysize> | |
| const std::array< float, arraysize > | lengthError () const |
Friends | |
| class | TrackSegmentCollectionData |
A Collection is identified by an ID.
| eicd::TrackSegmentCollection::TrackSegmentCollection | ( | ) |
|
delete |
|
default |
| eicd::TrackSegmentCollection::~TrackSegmentCollection | ( | ) |
| MutableTrackSegment eicd::TrackSegmentCollection::at | ( | unsigned int | index | ) |
Returns the object of given index.
| TrackSegment eicd::TrackSegmentCollection::at | ( | unsigned int | index | ) | const |
Returns the const object of given index.
|
inline |
|
inline |
|
final |
| MutableTrackSegment eicd::TrackSegmentCollection::create | ( | ) |
Append a new object to the collection, and return this object.
| MutableTrackSegment eicd::TrackSegmentCollection::create | ( | Args &&... | args | ) |
Append a new object to the collection, and return this object. Initialized with the parameters given
|
inline |
|
inline |
|
final |
Get the collection buffers for this collection.
|
inlinefinal |
fully qualified type name of stored POD elements - with namespace
|
inlinefinal |
|
inlinefinal |
fully qualified type name
|
inlinefinal |
fully qualified type name of elements - with namespace
|
inlinefinal |
|
inlinefinal |
| const std::array< float, arraysize > eicd::TrackSegmentCollection::length |
| const std::array< float, arraysize > eicd::TrackSegmentCollection::lengthError |
|
inline |
operator to allow pointer like calling of members a la LCIO
|
delete |
|
default |
| MutableTrackSegment eicd::TrackSegmentCollection::operator[] | ( | unsigned int | index | ) |
Returns the object of a given index.
| TrackSegment eicd::TrackSegmentCollection::operator[] | ( | unsigned int | index | ) | const |
Returns the const object of given index.
|
final |
|
final |
| void eicd::TrackSegmentCollection::push_back | ( | TrackSegment | object | ) |
Append object to the collection.
|
inlinefinal |
|
final |
|
final |
|
final |
number of elements in the collection
|
friend |