EDM4eic
EIC data model
Loading...
Searching...
No Matches
edm4eic::MCRecoClusterParticleAssociationCollection Class Reference

#include <MCRecoClusterParticleAssociationCollection.h>

Inheritance diagram for edm4eic::MCRecoClusterParticleAssociationCollection:

Public Types

using value_type = MCRecoClusterParticleAssociation
 
using const_iterator = MCRecoClusterParticleAssociationCollectionIterator
 
using iterator = MCRecoClusterParticleAssociationMutableCollectionIterator
 

Public Member Functions

 MCRecoClusterParticleAssociationCollection ()
 
 MCRecoClusterParticleAssociationCollection (MCRecoClusterParticleAssociationCollectionData &&data, bool isSubsetColl)
 
 MCRecoClusterParticleAssociationCollection (const MCRecoClusterParticleAssociationCollection &)=delete
 
MCRecoClusterParticleAssociationCollectionoperator= (const MCRecoClusterParticleAssociationCollection &)=delete
 
 MCRecoClusterParticleAssociationCollection (MCRecoClusterParticleAssociationCollection &&)=default
 
MCRecoClusterParticleAssociationCollectionoperator= (MCRecoClusterParticleAssociationCollection &&)=default
 
 ~MCRecoClusterParticleAssociationCollection ()
 
void clear () final
 
void print (std::ostream &os=std::cout, bool flush=true) const final
 Print this collection to the passed stream.
 
MCRecoClusterParticleAssociationCollectionoperator-> ()
 operator to allow pointer like calling of members a la LCIO
 
MutableMCRecoClusterParticleAssociation create ()
 Append a new object to the collection, and return this object.
 
template<typename... Args>
MutableMCRecoClusterParticleAssociation create (Args &&... args)
 
std::size_t size () const final
 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
 
MCRecoClusterParticleAssociation operator[] (std::size_t index) const
 Returns the const object of given index.
 
MutableMCRecoClusterParticleAssociation operator[] (std::size_t index)
 Returns the object of a given index.
 
MCRecoClusterParticleAssociation at (std::size_t index) const
 Returns the const object of given index.
 
MutableMCRecoClusterParticleAssociation at (std::size_t index)
 Returns the object of given index.
 
void push_back (MutableMCRecoClusterParticleAssociation object)
 Append object to the collection.
 
void push_back (MCRecoClusterParticleAssociation 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
 
iterator end ()
 
const_iterator end () const
 
std::vector< std::uint32_t > simID (const size_t nElem=0) const
 
std::vector< std::uint32_t > recID (const size_t nElem=0) const
 
std::vector< float > weight (const size_t nElem=0) const
 

Static Public Attributes

static constexpr auto typeName = "edm4eic::MCRecoClusterParticleAssociationCollection"
 
static constexpr auto valueTypeName = "edm4eic::MCRecoClusterParticleAssociation"
 
static constexpr auto dataTypeName = "edm4eic::MCRecoClusterParticleAssociationData"
 

Friends

class MCRecoClusterParticleAssociationCollectionData
 

Detailed Description

A Collection is identified by an ID.

Member Typedef Documentation

◆ const_iterator

◆ iterator

◆ value_type

Constructor & Destructor Documentation

◆ MCRecoClusterParticleAssociationCollection() [1/4]

edm4eic::MCRecoClusterParticleAssociationCollection::MCRecoClusterParticleAssociationCollection ( )

◆ MCRecoClusterParticleAssociationCollection() [2/4]

edm4eic::MCRecoClusterParticleAssociationCollection::MCRecoClusterParticleAssociationCollection ( MCRecoClusterParticleAssociationCollectionData && data,
bool isSubsetColl )

◆ MCRecoClusterParticleAssociationCollection() [3/4]

edm4eic::MCRecoClusterParticleAssociationCollection::MCRecoClusterParticleAssociationCollection ( const MCRecoClusterParticleAssociationCollection & )
delete

◆ MCRecoClusterParticleAssociationCollection() [4/4]

edm4eic::MCRecoClusterParticleAssociationCollection::MCRecoClusterParticleAssociationCollection ( MCRecoClusterParticleAssociationCollection && )
default

◆ ~MCRecoClusterParticleAssociationCollection()

edm4eic::MCRecoClusterParticleAssociationCollection::~MCRecoClusterParticleAssociationCollection ( )

Member Function Documentation

◆ at() [1/2]

MutableMCRecoClusterParticleAssociation edm4eic::MCRecoClusterParticleAssociationCollection::at ( std::size_t index)

Returns the object of given index.

◆ at() [2/2]

MCRecoClusterParticleAssociation edm4eic::MCRecoClusterParticleAssociationCollection::at ( std::size_t index) const

Returns the const object of given index.

◆ begin() [1/2]

iterator edm4eic::MCRecoClusterParticleAssociationCollection::begin ( )
inline

◆ begin() [2/2]

const_iterator edm4eic::MCRecoClusterParticleAssociationCollection::begin ( ) const
inline

◆ clear()

void edm4eic::MCRecoClusterParticleAssociationCollection::clear ( )
final

◆ create() [1/2]

MutableMCRecoClusterParticleAssociation edm4eic::MCRecoClusterParticleAssociationCollection::create ( )

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

◆ create() [2/2]

template<typename... Args>
MutableMCRecoClusterParticleAssociation edm4eic::MCRecoClusterParticleAssociationCollection::create ( Args &&... args)

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

◆ empty()

bool edm4eic::MCRecoClusterParticleAssociationCollection::empty ( ) const
final

Is the collection empty.

◆ end() [1/2]

iterator edm4eic::MCRecoClusterParticleAssociationCollection::end ( )
inline

◆ end() [2/2]

const_iterator edm4eic::MCRecoClusterParticleAssociationCollection::end ( ) const
inline

◆ getBuffers()

podio::CollectionWriteBuffers edm4eic::MCRecoClusterParticleAssociationCollection::getBuffers ( )
final

Get the collection buffers for this collection.

◆ getDatamodelRegistryIndex()

size_t edm4eic::MCRecoClusterParticleAssociationCollection::getDatamodelRegistryIndex ( ) const
final

◆ getDataTypeName()

const std::string_view edm4eic::MCRecoClusterParticleAssociationCollection::getDataTypeName ( ) const
inlinefinal

fully qualified type name of stored POD elements - with namespace

◆ getID()

uint32_t edm4eic::MCRecoClusterParticleAssociationCollection::getID ( ) const
inlinefinal

◆ getSchemaVersion()

podio::SchemaVersionT edm4eic::MCRecoClusterParticleAssociationCollection::getSchemaVersion ( ) const
final

schema version

◆ getTypeName()

const std::string_view edm4eic::MCRecoClusterParticleAssociationCollection::getTypeName ( ) const
inlinefinal

fully qualified type name

◆ getValueTypeName()

const std::string_view edm4eic::MCRecoClusterParticleAssociationCollection::getValueTypeName ( ) const
inlinefinal

fully qualified type name of elements - with namespace

◆ isSubsetCollection()

bool edm4eic::MCRecoClusterParticleAssociationCollection::isSubsetCollection ( ) const
inlinefinal

◆ isValid()

bool edm4eic::MCRecoClusterParticleAssociationCollection::isValid ( ) const
inlinefinal

◆ operator->()

MCRecoClusterParticleAssociationCollection * edm4eic::MCRecoClusterParticleAssociationCollection::operator-> ( )
inline

operator to allow pointer like calling of members a la LCIO

◆ operator=() [1/2]

MCRecoClusterParticleAssociationCollection & edm4eic::MCRecoClusterParticleAssociationCollection::operator= ( const MCRecoClusterParticleAssociationCollection & )
delete

◆ operator=() [2/2]

MCRecoClusterParticleAssociationCollection & edm4eic::MCRecoClusterParticleAssociationCollection::operator= ( MCRecoClusterParticleAssociationCollection && )
default

◆ operator[]() [1/2]

MutableMCRecoClusterParticleAssociation edm4eic::MCRecoClusterParticleAssociationCollection::operator[] ( std::size_t index)

Returns the object of a given index.

◆ operator[]() [2/2]

MCRecoClusterParticleAssociation edm4eic::MCRecoClusterParticleAssociationCollection::operator[] ( std::size_t index) const

Returns the const object of given index.

◆ prepareAfterRead()

void edm4eic::MCRecoClusterParticleAssociationCollection::prepareAfterRead ( )
final

◆ prepareForWrite()

void edm4eic::MCRecoClusterParticleAssociationCollection::prepareForWrite ( ) const
final

◆ print()

void edm4eic::MCRecoClusterParticleAssociationCollection::print ( std::ostream & os = std::cout,
bool flush = true ) const
final

Print this collection to the passed stream.

◆ push_back() [1/2]

void edm4eic::MCRecoClusterParticleAssociationCollection::push_back ( MCRecoClusterParticleAssociation object)

Append an object to the (subset) collection.

◆ push_back() [2/2]

void edm4eic::MCRecoClusterParticleAssociationCollection::push_back ( MutableMCRecoClusterParticleAssociation object)

Append object to the collection.

◆ recID()

std::vector< std::uint32_t > edm4eic::MCRecoClusterParticleAssociationCollection::recID ( const size_t nElem = 0) const

◆ setID()

void edm4eic::MCRecoClusterParticleAssociationCollection::setID ( uint32_t ID)
inlinefinal

◆ setReferences()

bool edm4eic::MCRecoClusterParticleAssociationCollection::setReferences ( const podio::ICollectionProvider * collectionProvider)
final

◆ setSubsetCollection()

void edm4eic::MCRecoClusterParticleAssociationCollection::setSubsetCollection ( bool setSubset = true)
final

◆ simID()

std::vector< std::uint32_t > edm4eic::MCRecoClusterParticleAssociationCollection::simID ( const size_t nElem = 0) const

◆ size()

std::size_t edm4eic::MCRecoClusterParticleAssociationCollection::size ( ) const
final

number of elements in the collection

◆ weight()

std::vector< float > edm4eic::MCRecoClusterParticleAssociationCollection::weight ( const size_t nElem = 0) const

Friends And Related Symbol Documentation

◆ MCRecoClusterParticleAssociationCollectionData

Member Data Documentation

◆ dataTypeName

auto edm4eic::MCRecoClusterParticleAssociationCollection::dataTypeName = "edm4eic::MCRecoClusterParticleAssociationData"
staticconstexpr

◆ typeName

auto edm4eic::MCRecoClusterParticleAssociationCollection::typeName = "edm4eic::MCRecoClusterParticleAssociationCollection"
staticconstexpr

◆ valueTypeName

auto edm4eic::MCRecoClusterParticleAssociationCollection::valueTypeName = "edm4eic::MCRecoClusterParticleAssociation"
staticconstexpr

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