EICd
EIC data model
eicd::VertexCollection Class Reference

#include <VertexCollection.h>

Inheritance diagram for eicd::VertexCollection:

Public Types

using const_iterator = VertexCollectionIterator
 
using iterator = VertexMutableCollectionIterator
 

Public Member Functions

 VertexCollection ()
 
 VertexCollection (const VertexCollection &)=delete
 
VertexCollectionoperator= (const VertexCollection &)=delete
 
 VertexCollection (VertexCollection &&)=default
 
VertexCollectionoperator= (VertexCollection &&)=default
 
 ~VertexCollection ()
 
void clear () final
 
VertexCollectionoperator-> ()
 operator to allow pointer like calling of members a la LCIO More...
 
MutableVertex create ()
 Append a new object to the collection, and return this object. More...
 
template<typename... Args>
MutableVertex 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
 
Vertex operator[] (unsigned int index) const
 Returns the const object of given index. More...
 
MutableVertex operator[] (unsigned int index)
 Returns the object of a given index. More...
 
Vertex at (unsigned int index) const
 Returns the const object of given index. More...
 
MutableVertex at (unsigned int index)
 Returns the object of given index. More...
 
void push_back (Vertex 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< std::int32_t, arraysize > primary () const
 
template<size_t arraysize>
const std::array< float, arraysize > chi2 () const
 
template<size_t arraysize>
const std::array< float, arraysize > probability () const
 
template<size_t arraysize>
const std::array< edm4hep::Vector3f, arraysize > position () const
 
template<size_t arraysize>
const std::array< eicd::Cov3f, arraysize > positionError () const
 
template<size_t arraysize>
const std::array< std::int32_t, arraysize > algorithmType () const
 
template<size_t arraysize>
const std::array< float, arraysize > time () const
 

Friends

class VertexCollectionData
 

Detailed Description

A Collection is identified by an ID.

Member Typedef Documentation

◆ const_iterator

◆ iterator

Constructor & Destructor Documentation

◆ VertexCollection() [1/3]

eicd::VertexCollection::VertexCollection ( )

◆ VertexCollection() [2/3]

eicd::VertexCollection::VertexCollection ( const VertexCollection )
delete

◆ VertexCollection() [3/3]

eicd::VertexCollection::VertexCollection ( VertexCollection &&  )
default

◆ ~VertexCollection()

eicd::VertexCollection::~VertexCollection ( )

Member Function Documentation

◆ algorithmType()

template<size_t arraysize>
const std::array< std::int32_t, arraysize > eicd::VertexCollection::algorithmType

◆ at() [1/2]

MutableVertex eicd::VertexCollection::at ( unsigned int  index)

Returns the object of given index.

◆ at() [2/2]

Vertex eicd::VertexCollection::at ( unsigned int  index) const

Returns the const object of given index.

◆ begin() [1/2]

iterator eicd::VertexCollection::begin ( )
inline

◆ begin() [2/2]

const_iterator eicd::VertexCollection::begin ( ) const
inline

◆ chi2()

template<size_t arraysize>
const std::array< float, arraysize > eicd::VertexCollection::chi2

◆ clear()

void eicd::VertexCollection::clear ( )
final

◆ create() [1/2]

MutableVertex eicd::VertexCollection::create ( )

Append a new object to the collection, and return this object.

◆ create() [2/2]

template<typename... Args>
MutableVertex eicd::VertexCollection::create ( Args &&...  args)

Append a new object to the collection, and return this object. Initialized with the parameters given

◆ end() [1/2]

iterator eicd::VertexCollection::end ( )
inline

◆ end() [2/2]

const_iterator eicd::VertexCollection::end ( ) const
inline

◆ getBuffers()

podio::CollectionBuffers eicd::VertexCollection::getBuffers ( )
final

Get the collection buffers for this collection.

◆ getDataTypeName()

std::string eicd::VertexCollection::getDataTypeName ( ) const
inlinefinal

fully qualified type name of stored POD elements - with namespace

◆ getID()

unsigned eicd::VertexCollection::getID ( ) const
inlinefinal

◆ getTypeName()

std::string eicd::VertexCollection::getTypeName ( ) const
inlinefinal

fully qualified type name

◆ getValueTypeName()

std::string eicd::VertexCollection::getValueTypeName ( ) const
inlinefinal

fully qualified type name of elements - with namespace

◆ isSubsetCollection()

bool eicd::VertexCollection::isSubsetCollection ( ) const
inlinefinal

◆ isValid()

bool eicd::VertexCollection::isValid ( ) const
inlinefinal

◆ operator->()

VertexCollection * eicd::VertexCollection::operator-> ( )
inline

operator to allow pointer like calling of members a la LCIO

◆ operator=() [1/2]

VertexCollection & eicd::VertexCollection::operator= ( const VertexCollection )
delete

◆ operator=() [2/2]

VertexCollection & eicd::VertexCollection::operator= ( VertexCollection &&  )
default

◆ operator[]() [1/2]

MutableVertex eicd::VertexCollection::operator[] ( unsigned int  index)

Returns the object of a given index.

◆ operator[]() [2/2]

Vertex eicd::VertexCollection::operator[] ( unsigned int  index) const

Returns the const object of given index.

◆ position()

template<size_t arraysize>
const std::array< edm4hep::Vector3f, arraysize > eicd::VertexCollection::position

◆ positionError()

template<size_t arraysize>
const std::array< eicd::Cov3f, arraysize > eicd::VertexCollection::positionError

◆ prepareAfterRead()

void eicd::VertexCollection::prepareAfterRead ( )
final

◆ prepareForWrite()

void eicd::VertexCollection::prepareForWrite ( ) const
final

◆ primary()

template<size_t arraysize>
const std::array< std::int32_t, arraysize > eicd::VertexCollection::primary

◆ probability()

template<size_t arraysize>
const std::array< float, arraysize > eicd::VertexCollection::probability

◆ push_back()

void eicd::VertexCollection::push_back ( Vertex  object)

Append object to the collection.

◆ setID()

void eicd::VertexCollection::setID ( unsigned  ID)
inlinefinal

◆ setReferences()

bool eicd::VertexCollection::setReferences ( const podio::ICollectionProvider *  collectionProvider)
final

◆ setSubsetCollection()

void eicd::VertexCollection::setSubsetCollection ( bool  setSubset = true)
final

◆ size()

size_t eicd::VertexCollection::size ( ) const
final

number of elements in the collection

◆ time()

template<size_t arraysize>
const std::array< float, arraysize > eicd::VertexCollection::time

Friends And Related Function Documentation

◆ VertexCollectionData

friend class VertexCollectionData
friend

The documentation for this class was generated from the following files: