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

#include <MCRecoTrackParticleAssociationCollection.h>

Inheritance diagram for edm4eic::MCRecoTrackParticleAssociationCollection:

Public Types

using value_type = MCRecoTrackParticleAssociation
 
using const_iterator = MCRecoTrackParticleAssociationCollectionIterator
 
using iterator = MCRecoTrackParticleAssociationMutableCollectionIterator
 

Public Member Functions

 MCRecoTrackParticleAssociationCollection ()
 
 MCRecoTrackParticleAssociationCollection (MCRecoTrackParticleAssociationCollectionData &&data, bool isSubsetColl)
 
 MCRecoTrackParticleAssociationCollection (const MCRecoTrackParticleAssociationCollection &)=delete
 
MCRecoTrackParticleAssociationCollectionoperator= (const MCRecoTrackParticleAssociationCollection &)=delete
 
 MCRecoTrackParticleAssociationCollection (MCRecoTrackParticleAssociationCollection &&)=default
 
MCRecoTrackParticleAssociationCollectionoperator= (MCRecoTrackParticleAssociationCollection &&)=default
 
 ~MCRecoTrackParticleAssociationCollection ()
 
void clear () final
 
void print (std::ostream &os=std::cout, bool flush=true) const final
 Print this collection to the passed stream.
 
MCRecoTrackParticleAssociationCollectionoperator-> ()
 operator to allow pointer like calling of members a la LCIO
 
MutableMCRecoTrackParticleAssociation create ()
 Append a new object to the collection, and return this object.
 
template<typename... Args>
MutableMCRecoTrackParticleAssociation 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
 
MCRecoTrackParticleAssociation operator[] (std::size_t index) const
 Returns the const object of given index.
 
MutableMCRecoTrackParticleAssociation operator[] (std::size_t index)
 Returns the object of a given index.
 
MCRecoTrackParticleAssociation at (std::size_t index) const
 Returns the const object of given index.
 
MutableMCRecoTrackParticleAssociation at (std::size_t index)
 Returns the object of given index.
 
void push_back (MutableMCRecoTrackParticleAssociation object)
 Append object to the collection.
 
void push_back (MCRecoTrackParticleAssociation 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::MCRecoTrackParticleAssociationCollection"
 
static constexpr auto valueTypeName = "edm4eic::MCRecoTrackParticleAssociation"
 
static constexpr auto dataTypeName = "edm4eic::MCRecoTrackParticleAssociationData"
 

Friends

class MCRecoTrackParticleAssociationCollectionData
 

Detailed Description

A Collection is identified by an ID.

Member Typedef Documentation

◆ const_iterator

◆ iterator

◆ value_type

Constructor & Destructor Documentation

◆ MCRecoTrackParticleAssociationCollection() [1/4]

edm4eic::MCRecoTrackParticleAssociationCollection::MCRecoTrackParticleAssociationCollection ( )

◆ MCRecoTrackParticleAssociationCollection() [2/4]

edm4eic::MCRecoTrackParticleAssociationCollection::MCRecoTrackParticleAssociationCollection ( MCRecoTrackParticleAssociationCollectionData && data,
bool isSubsetColl )

◆ MCRecoTrackParticleAssociationCollection() [3/4]

edm4eic::MCRecoTrackParticleAssociationCollection::MCRecoTrackParticleAssociationCollection ( const MCRecoTrackParticleAssociationCollection & )
delete

◆ MCRecoTrackParticleAssociationCollection() [4/4]

edm4eic::MCRecoTrackParticleAssociationCollection::MCRecoTrackParticleAssociationCollection ( MCRecoTrackParticleAssociationCollection && )
default

◆ ~MCRecoTrackParticleAssociationCollection()

edm4eic::MCRecoTrackParticleAssociationCollection::~MCRecoTrackParticleAssociationCollection ( )

Member Function Documentation

◆ at() [1/2]

MutableMCRecoTrackParticleAssociation edm4eic::MCRecoTrackParticleAssociationCollection::at ( std::size_t index)

Returns the object of given index.

◆ at() [2/2]

MCRecoTrackParticleAssociation edm4eic::MCRecoTrackParticleAssociationCollection::at ( std::size_t index) const

Returns the const object of given index.

◆ begin() [1/2]

iterator edm4eic::MCRecoTrackParticleAssociationCollection::begin ( )
inline

◆ begin() [2/2]

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

◆ clear()

void edm4eic::MCRecoTrackParticleAssociationCollection::clear ( )
final

◆ create() [1/2]

MutableMCRecoTrackParticleAssociation edm4eic::MCRecoTrackParticleAssociationCollection::create ( )

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

◆ create() [2/2]

template<typename... Args>
MutableMCRecoTrackParticleAssociation edm4eic::MCRecoTrackParticleAssociationCollection::create ( Args &&... args)

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

◆ empty()

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

Is the collection empty.

◆ end() [1/2]

iterator edm4eic::MCRecoTrackParticleAssociationCollection::end ( )
inline

◆ end() [2/2]

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

◆ getBuffers()

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

Get the collection buffers for this collection.

◆ getDatamodelRegistryIndex()

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

◆ getDataTypeName()

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

fully qualified type name of stored POD elements - with namespace

◆ getID()

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

◆ getSchemaVersion()

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

schema version

◆ getTypeName()

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

fully qualified type name

◆ getValueTypeName()

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

fully qualified type name of elements - with namespace

◆ isSubsetCollection()

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

◆ isValid()

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

◆ operator->()

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

operator to allow pointer like calling of members a la LCIO

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ operator[]() [1/2]

MutableMCRecoTrackParticleAssociation edm4eic::MCRecoTrackParticleAssociationCollection::operator[] ( std::size_t index)

Returns the object of a given index.

◆ operator[]() [2/2]

MCRecoTrackParticleAssociation edm4eic::MCRecoTrackParticleAssociationCollection::operator[] ( std::size_t index) const

Returns the const object of given index.

◆ prepareAfterRead()

void edm4eic::MCRecoTrackParticleAssociationCollection::prepareAfterRead ( )
final

◆ prepareForWrite()

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

◆ print()

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

Print this collection to the passed stream.

◆ push_back() [1/2]

void edm4eic::MCRecoTrackParticleAssociationCollection::push_back ( MCRecoTrackParticleAssociation object)

Append an object to the (subset) collection.

◆ push_back() [2/2]

void edm4eic::MCRecoTrackParticleAssociationCollection::push_back ( MutableMCRecoTrackParticleAssociation object)

Append object to the collection.

◆ recID()

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

◆ setID()

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

◆ setReferences()

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

◆ setSubsetCollection()

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

◆ simID()

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

◆ size()

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

number of elements in the collection

◆ weight()

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

Friends And Related Symbol Documentation

◆ MCRecoTrackParticleAssociationCollectionData

Member Data Documentation

◆ dataTypeName

auto edm4eic::MCRecoTrackParticleAssociationCollection::dataTypeName = "edm4eic::MCRecoTrackParticleAssociationData"
staticconstexpr

◆ typeName

auto edm4eic::MCRecoTrackParticleAssociationCollection::typeName = "edm4eic::MCRecoTrackParticleAssociationCollection"
staticconstexpr

◆ valueTypeName

auto edm4eic::MCRecoTrackParticleAssociationCollection::valueTypeName = "edm4eic::MCRecoTrackParticleAssociation"
staticconstexpr

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