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

#include <InclusiveKinematicsCollection.h>

Inheritance diagram for edm4eic::InclusiveKinematicsCollection:

Public Types

using value_type = InclusiveKinematics
 
using const_iterator = InclusiveKinematicsCollectionIterator
 
using iterator = InclusiveKinematicsMutableCollectionIterator
 

Public Member Functions

 InclusiveKinematicsCollection ()
 
 InclusiveKinematicsCollection (InclusiveKinematicsCollectionData &&data, bool isSubsetColl)
 
 InclusiveKinematicsCollection (const InclusiveKinematicsCollection &)=delete
 
InclusiveKinematicsCollectionoperator= (const InclusiveKinematicsCollection &)=delete
 
 InclusiveKinematicsCollection (InclusiveKinematicsCollection &&)=default
 
InclusiveKinematicsCollectionoperator= (InclusiveKinematicsCollection &&)=default
 
 ~InclusiveKinematicsCollection ()
 
void clear () final
 
void print (std::ostream &os=std::cout, bool flush=true) const final
 Print this collection to the passed stream.
 
InclusiveKinematicsCollectionoperator-> ()
 operator to allow pointer like calling of members a la LCIO
 
MutableInclusiveKinematics create ()
 Append a new object to the collection, and return this object.
 
template<typename... Args>
MutableInclusiveKinematics 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
 
InclusiveKinematics operator[] (std::size_t index) const
 Returns the const object of given index.
 
MutableInclusiveKinematics operator[] (std::size_t index)
 Returns the object of a given index.
 
InclusiveKinematics at (std::size_t index) const
 Returns the const object of given index.
 
MutableInclusiveKinematics at (std::size_t index)
 Returns the object of given index.
 
void push_back (MutableInclusiveKinematics object)
 Append object to the collection.
 
void push_back (InclusiveKinematics 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< float > x (const size_t nElem=0) const
 
std::vector< float > Q2 (const size_t nElem=0) const
 
std::vector< float > W (const size_t nElem=0) const
 
std::vector< float > y (const size_t nElem=0) const
 
std::vector< float > nu (const size_t nElem=0) const
 

Static Public Attributes

static constexpr auto typeName = "edm4eic::InclusiveKinematicsCollection"
 
static constexpr auto valueTypeName = "edm4eic::InclusiveKinematics"
 
static constexpr auto dataTypeName = "edm4eic::InclusiveKinematicsData"
 

Friends

class InclusiveKinematicsCollectionData
 

Detailed Description

A Collection is identified by an ID.

Member Typedef Documentation

◆ const_iterator

◆ iterator

◆ value_type

Constructor & Destructor Documentation

◆ InclusiveKinematicsCollection() [1/4]

edm4eic::InclusiveKinematicsCollection::InclusiveKinematicsCollection ( )

◆ InclusiveKinematicsCollection() [2/4]

edm4eic::InclusiveKinematicsCollection::InclusiveKinematicsCollection ( InclusiveKinematicsCollectionData && data,
bool isSubsetColl )

◆ InclusiveKinematicsCollection() [3/4]

edm4eic::InclusiveKinematicsCollection::InclusiveKinematicsCollection ( const InclusiveKinematicsCollection & )
delete

◆ InclusiveKinematicsCollection() [4/4]

edm4eic::InclusiveKinematicsCollection::InclusiveKinematicsCollection ( InclusiveKinematicsCollection && )
default

◆ ~InclusiveKinematicsCollection()

edm4eic::InclusiveKinematicsCollection::~InclusiveKinematicsCollection ( )

Member Function Documentation

◆ at() [1/2]

MutableInclusiveKinematics edm4eic::InclusiveKinematicsCollection::at ( std::size_t index)

Returns the object of given index.

◆ at() [2/2]

InclusiveKinematics edm4eic::InclusiveKinematicsCollection::at ( std::size_t index) const

Returns the const object of given index.

◆ begin() [1/2]

iterator edm4eic::InclusiveKinematicsCollection::begin ( )
inline

◆ begin() [2/2]

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

◆ clear()

void edm4eic::InclusiveKinematicsCollection::clear ( )
final

◆ create() [1/2]

MutableInclusiveKinematics edm4eic::InclusiveKinematicsCollection::create ( )

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

◆ create() [2/2]

template<typename... Args>
MutableInclusiveKinematics edm4eic::InclusiveKinematicsCollection::create ( Args &&... args)

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

◆ empty()

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

Is the collection empty.

◆ end() [1/2]

iterator edm4eic::InclusiveKinematicsCollection::end ( )
inline

◆ end() [2/2]

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

◆ getBuffers()

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

Get the collection buffers for this collection.

◆ getDatamodelRegistryIndex()

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

◆ getDataTypeName()

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

fully qualified type name of stored POD elements - with namespace

◆ getID()

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

◆ getSchemaVersion()

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

schema version

◆ getTypeName()

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

fully qualified type name

◆ getValueTypeName()

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

fully qualified type name of elements - with namespace

◆ isSubsetCollection()

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

◆ isValid()

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

◆ nu()

std::vector< float > edm4eic::InclusiveKinematicsCollection::nu ( const size_t nElem = 0) const

◆ operator->()

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

operator to allow pointer like calling of members a la LCIO

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ operator[]() [1/2]

MutableInclusiveKinematics edm4eic::InclusiveKinematicsCollection::operator[] ( std::size_t index)

Returns the object of a given index.

◆ operator[]() [2/2]

InclusiveKinematics edm4eic::InclusiveKinematicsCollection::operator[] ( std::size_t index) const

Returns the const object of given index.

◆ prepareAfterRead()

void edm4eic::InclusiveKinematicsCollection::prepareAfterRead ( )
final

◆ prepareForWrite()

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

◆ print()

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

Print this collection to the passed stream.

◆ push_back() [1/2]

void edm4eic::InclusiveKinematicsCollection::push_back ( InclusiveKinematics object)

Append an object to the (subset) collection.

◆ push_back() [2/2]

void edm4eic::InclusiveKinematicsCollection::push_back ( MutableInclusiveKinematics object)

Append object to the collection.

◆ Q2()

std::vector< float > edm4eic::InclusiveKinematicsCollection::Q2 ( const size_t nElem = 0) const

◆ setID()

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

◆ setReferences()

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

◆ setSubsetCollection()

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

◆ size()

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

number of elements in the collection

◆ W()

std::vector< float > edm4eic::InclusiveKinematicsCollection::W ( const size_t nElem = 0) const

◆ x()

std::vector< float > edm4eic::InclusiveKinematicsCollection::x ( const size_t nElem = 0) const

◆ y()

std::vector< float > edm4eic::InclusiveKinematicsCollection::y ( const size_t nElem = 0) const

Friends And Related Symbol Documentation

◆ InclusiveKinematicsCollectionData

friend class InclusiveKinematicsCollectionData
friend

Member Data Documentation

◆ dataTypeName

auto edm4eic::InclusiveKinematicsCollection::dataTypeName = "edm4eic::InclusiveKinematicsData"
staticconstexpr

◆ typeName

auto edm4eic::InclusiveKinematicsCollection::typeName = "edm4eic::InclusiveKinematicsCollection"
staticconstexpr

◆ valueTypeName

auto edm4eic::InclusiveKinematicsCollection::valueTypeName = "edm4eic::InclusiveKinematics"
staticconstexpr

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