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

#include <RawCALOROCHitCollection.h>

Inheritance diagram for edm4eic::RawCALOROCHitCollection:

Public Types

using value_type = RawCALOROCHit
 
using mutable_type = MutableRawCALOROCHit
 
using const_iterator = RawCALOROCHitCollectionIterator
 
using iterator = RawCALOROCHitMutableCollectionIterator
 
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

 RawCALOROCHitCollection ()=default
 
 RawCALOROCHitCollection (RawCALOROCHitCollectionData &&data, bool isSubsetColl)
 
 RawCALOROCHitCollection (const RawCALOROCHitCollection &)=delete
 
RawCALOROCHitCollectionoperator= (const RawCALOROCHitCollection &)=delete
 
 RawCALOROCHitCollection (RawCALOROCHitCollection &&)=default
 
RawCALOROCHitCollectionoperator= (RawCALOROCHitCollection &&)=default
 
 ~RawCALOROCHitCollection () override
 
void clear () final
 
void print (std::ostream &os=std::cout, bool flush=true) const final
 Print this collection to the passed stream.
 
MutableRawCALOROCHit create ()
 Append a new object to the collection, and return this object.
 
template<typename... Args>
MutableRawCALOROCHit 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
 
RawCALOROCHit operator[] (std::size_t index) const
 Returns the const object of given index.
 
MutableRawCALOROCHit operator[] (std::size_t index)
 Returns the object of a given index.
 
RawCALOROCHit at (std::size_t index) const
 Returns the const object of given index.
 
MutableRawCALOROCHit at (std::size_t index)
 Returns the object of given index.
 
void push_back (const MutableRawCALOROCHit &object)
 Append object to the collection.
 
void push_back (const RawCALOROCHit &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::uint64_t > cellID (const size_t nElem=0) const
 
std::vector< std::int32_t > samplePhase (const size_t nElem=0) const
 
std::vector< std::int32_t > timeStamp (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::RawCALOROCHitCollection"
 
static constexpr std::string_view valueTypeName = "edm4eic::RawCALOROCHit"
 
static constexpr std::string_view dataTypeName = "edm4eic::RawCALOROCHitData"
 

Friends

class RawCALOROCHitCollectionData
 

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

◆ RawCALOROCHitCollection() [1/4]

edm4eic::RawCALOROCHitCollection::RawCALOROCHitCollection ( )
default

◆ RawCALOROCHitCollection() [2/4]

edm4eic::RawCALOROCHitCollection::RawCALOROCHitCollection ( RawCALOROCHitCollectionData && data,
bool isSubsetColl )

◆ RawCALOROCHitCollection() [3/4]

edm4eic::RawCALOROCHitCollection::RawCALOROCHitCollection ( const RawCALOROCHitCollection & )
delete

◆ RawCALOROCHitCollection() [4/4]

edm4eic::RawCALOROCHitCollection::RawCALOROCHitCollection ( RawCALOROCHitCollection && )
default

◆ ~RawCALOROCHitCollection()

edm4eic::RawCALOROCHitCollection::~RawCALOROCHitCollection ( )
override

Member Function Documentation

◆ __cppyy_pythonize__()

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

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

◆ at() [1/2]

MutableRawCALOROCHit edm4eic::RawCALOROCHitCollection::at ( std::size_t index)

Returns the object of given index.

◆ at() [2/2]

RawCALOROCHit edm4eic::RawCALOROCHitCollection::at ( std::size_t index) const

Returns the const object of given index.

◆ begin() [1/2]

iterator edm4eic::RawCALOROCHitCollection::begin ( )
inline

◆ begin() [2/2]

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

◆ cbegin()

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

◆ cellID()

std::vector< std::uint64_t > edm4eic::RawCALOROCHitCollection::cellID ( const size_t nElem = 0) const

◆ cend()

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

◆ clear()

void edm4eic::RawCALOROCHitCollection::clear ( )
final

◆ crbegin()

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

◆ create() [1/2]

MutableRawCALOROCHit edm4eic::RawCALOROCHitCollection::create ( )

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

◆ create() [2/2]

template<typename... Args>
MutableRawCALOROCHit edm4eic::RawCALOROCHitCollection::create ( Args &&... args)

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

◆ crend()

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

◆ empty()

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

Is the collection empty.

◆ end() [1/2]

iterator edm4eic::RawCALOROCHitCollection::end ( )
inline

◆ end() [2/2]

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

◆ getBuffers()

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

Get the collection buffers for this collection.

◆ getDatamodelRegistryIndex()

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

◆ getDataTypeName()

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

fully qualified type name of stored POD elements - with namespace

◆ getID()

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

◆ getSchemaVersion()

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

schema version

◆ getTypeName()

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

fully qualified type name

◆ getValueTypeName()

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

fully qualified type name of elements - with namespace

◆ hasID()

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

check if the collection has a valid ID

◆ isSubsetCollection()

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

◆ isValid()

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

◆ max_size()

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

maximal number of elements in the collection

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ operator[]() [1/2]

MutableRawCALOROCHit edm4eic::RawCALOROCHitCollection::operator[] ( std::size_t index)

Returns the object of a given index.

◆ operator[]() [2/2]

RawCALOROCHit edm4eic::RawCALOROCHitCollection::operator[] ( std::size_t index) const

Returns the const object of given index.

◆ prepareAfterRead()

void edm4eic::RawCALOROCHitCollection::prepareAfterRead ( )
final

◆ prepareForWrite()

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

◆ print()

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

Print this collection to the passed stream.

◆ push_back() [1/2]

void edm4eic::RawCALOROCHitCollection::push_back ( const MutableRawCALOROCHit & object)

Append object to the collection.

◆ push_back() [2/2]

void edm4eic::RawCALOROCHitCollection::push_back ( const RawCALOROCHit & object)

Append an object to the (subset) collection.

◆ rbegin() [1/2]

reverse_iterator edm4eic::RawCALOROCHitCollection::rbegin ( )
inline

◆ rbegin() [2/2]

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

◆ rend() [1/2]

reverse_iterator edm4eic::RawCALOROCHitCollection::rend ( )
inline

◆ rend() [2/2]

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

◆ samplePhase()

std::vector< std::int32_t > edm4eic::RawCALOROCHitCollection::samplePhase ( const size_t nElem = 0) const

◆ setID()

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

◆ setReferences()

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

◆ setSubsetCollection()

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

◆ size()

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

number of elements in the collection

◆ timeStamp()

std::vector< std::int32_t > edm4eic::RawCALOROCHitCollection::timeStamp ( const size_t nElem = 0) const

Friends And Related Symbol Documentation

◆ RawCALOROCHitCollectionData

friend class RawCALOROCHitCollectionData
friend

Member Data Documentation

◆ dataTypeName

std::string_view edm4eic::RawCALOROCHitCollection::dataTypeName = "edm4eic::RawCALOROCHitData"
staticconstexpr

◆ typeName

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

◆ valueTypeName

std::string_view edm4eic::RawCALOROCHitCollection::valueTypeName = "edm4eic::RawCALOROCHit"
staticconstexpr

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