EICd
EIC data model
eicd::MCRecoParticleAssociationCollection Class Reference

#include <MCRecoParticleAssociationCollection.h>

Inheritance diagram for eicd::MCRecoParticleAssociationCollection:

Public Types

using const_iterator = MCRecoParticleAssociationCollectionIterator
 
using iterator = MCRecoParticleAssociationMutableCollectionIterator
 

Public Member Functions

 MCRecoParticleAssociationCollection ()
 
 MCRecoParticleAssociationCollection (const MCRecoParticleAssociationCollection &)=delete
 
MCRecoParticleAssociationCollectionoperator= (const MCRecoParticleAssociationCollection &)=delete
 
 MCRecoParticleAssociationCollection (MCRecoParticleAssociationCollection &&)=default
 
MCRecoParticleAssociationCollectionoperator= (MCRecoParticleAssociationCollection &&)=default
 
 ~MCRecoParticleAssociationCollection ()
 
void clear () final
 
MCRecoParticleAssociationCollectionoperator-> ()
 operator to allow pointer like calling of members a la LCIO More...
 
MutableMCRecoParticleAssociation create ()
 Append a new object to the collection, and return this object. More...
 
template<typename... Args>
MutableMCRecoParticleAssociation 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
 
MCRecoParticleAssociation operator[] (unsigned int index) const
 Returns the const object of given index. More...
 
MutableMCRecoParticleAssociation operator[] (unsigned int index)
 Returns the object of a given index. More...
 
MCRecoParticleAssociation at (unsigned int index) const
 Returns the const object of given index. More...
 
MutableMCRecoParticleAssociation at (unsigned int index)
 Returns the object of given index. More...
 
void push_back (MCRecoParticleAssociation 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::uint32_t, arraysize > simID () const
 
template<size_t arraysize>
const std::array< std::uint32_t, arraysize > recID () const
 
template<size_t arraysize>
const std::array< float, arraysize > weight () const
 

Friends

class MCRecoParticleAssociationCollectionData
 

Detailed Description

A Collection is identified by an ID.

Member Typedef Documentation

◆ const_iterator

◆ iterator

Constructor & Destructor Documentation

◆ MCRecoParticleAssociationCollection() [1/3]

eicd::MCRecoParticleAssociationCollection::MCRecoParticleAssociationCollection ( )

◆ MCRecoParticleAssociationCollection() [2/3]

eicd::MCRecoParticleAssociationCollection::MCRecoParticleAssociationCollection ( const MCRecoParticleAssociationCollection )
delete

◆ MCRecoParticleAssociationCollection() [3/3]

eicd::MCRecoParticleAssociationCollection::MCRecoParticleAssociationCollection ( MCRecoParticleAssociationCollection &&  )
default

◆ ~MCRecoParticleAssociationCollection()

eicd::MCRecoParticleAssociationCollection::~MCRecoParticleAssociationCollection ( )

Member Function Documentation

◆ at() [1/2]

MutableMCRecoParticleAssociation eicd::MCRecoParticleAssociationCollection::at ( unsigned int  index)

Returns the object of given index.

◆ at() [2/2]

MCRecoParticleAssociation eicd::MCRecoParticleAssociationCollection::at ( unsigned int  index) const

Returns the const object of given index.

◆ begin() [1/2]

iterator eicd::MCRecoParticleAssociationCollection::begin ( )
inline

◆ begin() [2/2]

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

◆ clear()

void eicd::MCRecoParticleAssociationCollection::clear ( )
final

◆ create() [1/2]

MutableMCRecoParticleAssociation eicd::MCRecoParticleAssociationCollection::create ( )

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

◆ create() [2/2]

template<typename... Args>
MutableMCRecoParticleAssociation eicd::MCRecoParticleAssociationCollection::create ( Args &&...  args)

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

◆ end() [1/2]

iterator eicd::MCRecoParticleAssociationCollection::end ( )
inline

◆ end() [2/2]

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

◆ getBuffers()

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

Get the collection buffers for this collection.

◆ getDataTypeName()

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

fully qualified type name of stored POD elements - with namespace

◆ getID()

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

◆ getTypeName()

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

fully qualified type name

◆ getValueTypeName()

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

fully qualified type name of elements - with namespace

◆ isSubsetCollection()

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

◆ isValid()

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

◆ operator->()

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

operator to allow pointer like calling of members a la LCIO

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ operator[]() [1/2]

MutableMCRecoParticleAssociation eicd::MCRecoParticleAssociationCollection::operator[] ( unsigned int  index)

Returns the object of a given index.

◆ operator[]() [2/2]

MCRecoParticleAssociation eicd::MCRecoParticleAssociationCollection::operator[] ( unsigned int  index) const

Returns the const object of given index.

◆ prepareAfterRead()

void eicd::MCRecoParticleAssociationCollection::prepareAfterRead ( )
final

◆ prepareForWrite()

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

◆ push_back()

void eicd::MCRecoParticleAssociationCollection::push_back ( MCRecoParticleAssociation  object)

Append object to the collection.

◆ recID()

template<size_t arraysize>
const std::array< std::uint32_t, arraysize > eicd::MCRecoParticleAssociationCollection::recID

◆ setID()

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

◆ setReferences()

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

◆ setSubsetCollection()

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

◆ simID()

template<size_t arraysize>
const std::array< std::uint32_t, arraysize > eicd::MCRecoParticleAssociationCollection::simID

◆ size()

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

number of elements in the collection

◆ weight()

template<size_t arraysize>
const std::array< float, arraysize > eicd::MCRecoParticleAssociationCollection::weight

Friends And Related Function Documentation

◆ MCRecoParticleAssociationCollectionData


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