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

#include <IrtRadiatorInfoCollection.h>

Inheritance diagram for edm4eic::IrtRadiatorInfoCollection:

Public Types

using value_type = IrtRadiatorInfo
 
using mutable_type = MutableIrtRadiatorInfo
 
using const_iterator = IrtRadiatorInfoCollectionIterator
 
using iterator = IrtRadiatorInfoMutableCollectionIterator
 
using difference_type = ptrdiff_t
 
using size_type = size_t
 
using const_reverse_iterator = std::reverse_iterator<const_iterator>
 
using reverse_iterator = std::reverse_iterator<iterator>
 

Public Member Functions

 IrtRadiatorInfoCollection ()=default
 
 IrtRadiatorInfoCollection (IrtRadiatorInfoCollectionData &&data, bool isSubsetColl)
 
 IrtRadiatorInfoCollection (const IrtRadiatorInfoCollection &)=delete
 
IrtRadiatorInfoCollectionoperator= (const IrtRadiatorInfoCollection &)=delete
 
 IrtRadiatorInfoCollection (IrtRadiatorInfoCollection &&)=default
 
IrtRadiatorInfoCollectionoperator= (IrtRadiatorInfoCollection &&)=default
 
 ~IrtRadiatorInfoCollection () override
 
void clear () final
 
void print (std::ostream &os=std::cout, bool flush=true) const final
 Print this collection to the passed stream.
 
MutableIrtRadiatorInfo create ()
 Append a new object to the collection, and return this object.
 
template<typename... Args>
MutableIrtRadiatorInfo create (Args &&... args)
 
std::size_t size () const final
 number of elements in the collection
 
std::size_t max_size () const final
 maximal 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
 
IrtRadiatorInfo operator[] (std::size_t index) const
 Returns the const object of given index.
 
MutableIrtRadiatorInfo operator[] (std::size_t index)
 Returns the object of a given index.
 
IrtRadiatorInfo at (std::size_t index) const
 Returns the const object of given index.
 
MutableIrtRadiatorInfo at (std::size_t index)
 Returns the object of given index.
 
void push_back (const MutableIrtRadiatorInfo &object)
 Append object to the collection.
 
void push_back (const IrtRadiatorInfo &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 hasID () const final
 check if the collection has a valid ID
 
bool isValid () const final
 
size_t getDatamodelRegistryIndex () const final
 
iterator begin ()
 
const_iterator begin () const
 
const_iterator cbegin () const
 
iterator end ()
 
const_iterator end () const
 
const_iterator cend () const
 
reverse_iterator rbegin ()
 
const_reverse_iterator rbegin () const
 
const_reverse_iterator crbegin () const
 
reverse_iterator rend ()
 
const_reverse_iterator rend () const
 
const_reverse_iterator crend () const
 
std::vector< std::uint16_t > npe (const size_t nElem=0) const
 
std::vector< std::uint16_t > nhits (const size_t nElem=0) const
 
std::vector< float > angle (const size_t nElem=0) const
 

Static Public Member Functions

static void __cppyy_pythonize__ (PyObject *klass, const std::string &name)
 Cppyy protocol to setup the pythonizations for this class. Not to be called directly.
 

Static Public Attributes

static constexpr std::string_view typeName = "edm4eic::IrtRadiatorInfoCollection"
 
static constexpr std::string_view valueTypeName = "edm4eic::IrtRadiatorInfo"
 
static constexpr std::string_view dataTypeName = "edm4eic::IrtRadiatorInfoData"
 

Friends

class IrtRadiatorInfoCollectionData
 

Detailed Description

A Collection is identified by an ID.

Member Typedef Documentation

◆ const_iterator

◆ const_reverse_iterator

◆ difference_type

◆ iterator

◆ mutable_type

◆ reverse_iterator

◆ size_type

◆ value_type

Constructor & Destructor Documentation

◆ IrtRadiatorInfoCollection() [1/4]

edm4eic::IrtRadiatorInfoCollection::IrtRadiatorInfoCollection ( )
default

◆ IrtRadiatorInfoCollection() [2/4]

edm4eic::IrtRadiatorInfoCollection::IrtRadiatorInfoCollection ( IrtRadiatorInfoCollectionData && data,
bool isSubsetColl )

◆ IrtRadiatorInfoCollection() [3/4]

edm4eic::IrtRadiatorInfoCollection::IrtRadiatorInfoCollection ( const IrtRadiatorInfoCollection & )
delete

◆ IrtRadiatorInfoCollection() [4/4]

edm4eic::IrtRadiatorInfoCollection::IrtRadiatorInfoCollection ( IrtRadiatorInfoCollection && )
default

◆ ~IrtRadiatorInfoCollection()

edm4eic::IrtRadiatorInfoCollection::~IrtRadiatorInfoCollection ( )
override

Member Function Documentation

◆ __cppyy_pythonize__()

static void edm4eic::IrtRadiatorInfoCollection::__cppyy_pythonize__ ( PyObject * klass,
const std::string & name )
inlinestatic

Cppyy protocol to setup the pythonizations for this class. Not to be called directly.

◆ angle()

std::vector< float > edm4eic::IrtRadiatorInfoCollection::angle ( const size_t nElem = 0) const

◆ at() [1/2]

MutableIrtRadiatorInfo edm4eic::IrtRadiatorInfoCollection::at ( std::size_t index)

Returns the object of given index.

◆ at() [2/2]

IrtRadiatorInfo edm4eic::IrtRadiatorInfoCollection::at ( std::size_t index) const

Returns the const object of given index.

◆ begin() [1/2]

iterator edm4eic::IrtRadiatorInfoCollection::begin ( )
inline

◆ begin() [2/2]

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

◆ cbegin()

const_iterator edm4eic::IrtRadiatorInfoCollection::cbegin ( ) const
inline

◆ cend()

const_iterator edm4eic::IrtRadiatorInfoCollection::cend ( ) const
inline

◆ clear()

void edm4eic::IrtRadiatorInfoCollection::clear ( )
final

◆ crbegin()

const_reverse_iterator edm4eic::IrtRadiatorInfoCollection::crbegin ( ) const
inline

◆ create() [1/2]

MutableIrtRadiatorInfo edm4eic::IrtRadiatorInfoCollection::create ( )

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

◆ create() [2/2]

template<typename... Args>
MutableIrtRadiatorInfo edm4eic::IrtRadiatorInfoCollection::create ( Args &&... args)

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

◆ crend()

const_reverse_iterator edm4eic::IrtRadiatorInfoCollection::crend ( ) const
inline

◆ empty()

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

Is the collection empty.

◆ end() [1/2]

iterator edm4eic::IrtRadiatorInfoCollection::end ( )
inline

◆ end() [2/2]

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

◆ getBuffers()

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

Get the collection buffers for this collection.

◆ getDatamodelRegistryIndex()

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

◆ getDataTypeName()

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

fully qualified type name of stored POD elements - with namespace

◆ getID()

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

◆ getSchemaVersion()

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

schema version

◆ getTypeName()

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

fully qualified type name

◆ getValueTypeName()

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

fully qualified type name of elements - with namespace

◆ hasID()

bool edm4eic::IrtRadiatorInfoCollection::hasID ( ) const
inlinefinal

check if the collection has a valid ID

◆ isSubsetCollection()

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

◆ isValid()

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

◆ max_size()

std::size_t edm4eic::IrtRadiatorInfoCollection::max_size ( ) const
final

maximal number of elements in the collection

◆ nhits()

std::vector< std::uint16_t > edm4eic::IrtRadiatorInfoCollection::nhits ( const size_t nElem = 0) const

◆ npe()

std::vector< std::uint16_t > edm4eic::IrtRadiatorInfoCollection::npe ( const size_t nElem = 0) const

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ operator[]() [1/2]

MutableIrtRadiatorInfo edm4eic::IrtRadiatorInfoCollection::operator[] ( std::size_t index)

Returns the object of a given index.

◆ operator[]() [2/2]

IrtRadiatorInfo edm4eic::IrtRadiatorInfoCollection::operator[] ( std::size_t index) const

Returns the const object of given index.

◆ prepareAfterRead()

void edm4eic::IrtRadiatorInfoCollection::prepareAfterRead ( )
final

◆ prepareForWrite()

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

◆ print()

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

Print this collection to the passed stream.

◆ push_back() [1/2]

void edm4eic::IrtRadiatorInfoCollection::push_back ( const IrtRadiatorInfo & object)

Append an object to the (subset) collection.

◆ push_back() [2/2]

void edm4eic::IrtRadiatorInfoCollection::push_back ( const MutableIrtRadiatorInfo & object)

Append object to the collection.

◆ rbegin() [1/2]

reverse_iterator edm4eic::IrtRadiatorInfoCollection::rbegin ( )
inline

◆ rbegin() [2/2]

const_reverse_iterator edm4eic::IrtRadiatorInfoCollection::rbegin ( ) const
inline

◆ rend() [1/2]

reverse_iterator edm4eic::IrtRadiatorInfoCollection::rend ( )
inline

◆ rend() [2/2]

const_reverse_iterator edm4eic::IrtRadiatorInfoCollection::rend ( ) const
inline

◆ setID()

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

◆ setReferences()

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

◆ setSubsetCollection()

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

◆ size()

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

number of elements in the collection

Friends And Related Symbol Documentation

◆ IrtRadiatorInfoCollectionData

friend class IrtRadiatorInfoCollectionData
friend

Member Data Documentation

◆ dataTypeName

std::string_view edm4eic::IrtRadiatorInfoCollection::dataTypeName = "edm4eic::IrtRadiatorInfoData"
staticconstexpr

◆ typeName

std::string_view edm4eic::IrtRadiatorInfoCollection::typeName = "edm4eic::IrtRadiatorInfoCollection"
staticconstexpr

◆ valueTypeName

std::string_view edm4eic::IrtRadiatorInfoCollection::valueTypeName = "edm4eic::IrtRadiatorInfo"
staticconstexpr

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