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

#include <TrackParametersCollection.h>

Inheritance diagram for edm4eic::TrackParametersCollection:

Public Types

using value_type = TrackParameters
 
using const_iterator = TrackParametersCollectionIterator
 
using iterator = TrackParametersMutableCollectionIterator
 

Public Member Functions

 TrackParametersCollection ()
 
 TrackParametersCollection (TrackParametersCollectionData &&data, bool isSubsetColl)
 
 TrackParametersCollection (const TrackParametersCollection &)=delete
 
TrackParametersCollectionoperator= (const TrackParametersCollection &)=delete
 
 TrackParametersCollection (TrackParametersCollection &&)=default
 
TrackParametersCollectionoperator= (TrackParametersCollection &&)=default
 
 ~TrackParametersCollection ()
 
void clear () final
 
void print (std::ostream &os=std::cout, bool flush=true) const final
 Print this collection to the passed stream.
 
TrackParametersCollectionoperator-> ()
 operator to allow pointer like calling of members a la LCIO
 
MutableTrackParameters create ()
 Append a new object to the collection, and return this object.
 
template<typename... Args>
MutableTrackParameters 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
 
TrackParameters operator[] (std::size_t index) const
 Returns the const object of given index.
 
MutableTrackParameters operator[] (std::size_t index)
 Returns the object of a given index.
 
TrackParameters at (std::size_t index) const
 Returns the const object of given index.
 
MutableTrackParameters at (std::size_t index)
 Returns the object of given index.
 
void push_back (MutableTrackParameters object)
 Append object to the collection.
 
void push_back (TrackParameters 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::int32_t > type (const size_t nElem=0) const
 
std::vector< std::uint64_t > surface (const size_t nElem=0) const
 
std::vector< edm4hep::Vector2f > loc (const size_t nElem=0) const
 
std::vector< float > theta (const size_t nElem=0) const
 
std::vector< float > phi (const size_t nElem=0) const
 
std::vector< float > qOverP (const size_t nElem=0) const
 
std::vector< float > time (const size_t nElem=0) const
 
std::vector< std::int32_t > pdg (const size_t nElem=0) const
 
std::vector< edm4eic::Cov6fcovariance (const size_t nElem=0) const
 

Static Public Attributes

static constexpr auto typeName = "edm4eic::TrackParametersCollection"
 
static constexpr auto valueTypeName = "edm4eic::TrackParameters"
 
static constexpr auto dataTypeName = "edm4eic::TrackParametersData"
 

Friends

class TrackParametersCollectionData
 

Detailed Description

A Collection is identified by an ID.

Member Typedef Documentation

◆ const_iterator

◆ iterator

◆ value_type

Constructor & Destructor Documentation

◆ TrackParametersCollection() [1/4]

edm4eic::TrackParametersCollection::TrackParametersCollection ( )

◆ TrackParametersCollection() [2/4]

edm4eic::TrackParametersCollection::TrackParametersCollection ( TrackParametersCollectionData && data,
bool isSubsetColl )

◆ TrackParametersCollection() [3/4]

edm4eic::TrackParametersCollection::TrackParametersCollection ( const TrackParametersCollection & )
delete

◆ TrackParametersCollection() [4/4]

edm4eic::TrackParametersCollection::TrackParametersCollection ( TrackParametersCollection && )
default

◆ ~TrackParametersCollection()

edm4eic::TrackParametersCollection::~TrackParametersCollection ( )

Member Function Documentation

◆ at() [1/2]

MutableTrackParameters edm4eic::TrackParametersCollection::at ( std::size_t index)

Returns the object of given index.

◆ at() [2/2]

TrackParameters edm4eic::TrackParametersCollection::at ( std::size_t index) const

Returns the const object of given index.

◆ begin() [1/2]

iterator edm4eic::TrackParametersCollection::begin ( )
inline

◆ begin() [2/2]

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

◆ clear()

void edm4eic::TrackParametersCollection::clear ( )
final

◆ covariance()

std::vector< edm4eic::Cov6f > edm4eic::TrackParametersCollection::covariance ( const size_t nElem = 0) const

◆ create() [1/2]

MutableTrackParameters edm4eic::TrackParametersCollection::create ( )

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

◆ create() [2/2]

template<typename... Args>
MutableTrackParameters edm4eic::TrackParametersCollection::create ( Args &&... args)

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

◆ empty()

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

Is the collection empty.

◆ end() [1/2]

iterator edm4eic::TrackParametersCollection::end ( )
inline

◆ end() [2/2]

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

◆ getBuffers()

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

Get the collection buffers for this collection.

◆ getDatamodelRegistryIndex()

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

◆ getDataTypeName()

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

fully qualified type name of stored POD elements - with namespace

◆ getID()

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

◆ getSchemaVersion()

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

schema version

◆ getTypeName()

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

fully qualified type name

◆ getValueTypeName()

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

fully qualified type name of elements - with namespace

◆ isSubsetCollection()

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

◆ isValid()

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

◆ loc()

std::vector< edm4hep::Vector2f > edm4eic::TrackParametersCollection::loc ( const size_t nElem = 0) const

◆ operator->()

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

operator to allow pointer like calling of members a la LCIO

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ operator[]() [1/2]

MutableTrackParameters edm4eic::TrackParametersCollection::operator[] ( std::size_t index)

Returns the object of a given index.

◆ operator[]() [2/2]

TrackParameters edm4eic::TrackParametersCollection::operator[] ( std::size_t index) const

Returns the const object of given index.

◆ pdg()

std::vector< std::int32_t > edm4eic::TrackParametersCollection::pdg ( const size_t nElem = 0) const

◆ phi()

std::vector< float > edm4eic::TrackParametersCollection::phi ( const size_t nElem = 0) const

◆ prepareAfterRead()

void edm4eic::TrackParametersCollection::prepareAfterRead ( )
final

◆ prepareForWrite()

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

◆ print()

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

Print this collection to the passed stream.

◆ push_back() [1/2]

void edm4eic::TrackParametersCollection::push_back ( MutableTrackParameters object)

Append object to the collection.

◆ push_back() [2/2]

void edm4eic::TrackParametersCollection::push_back ( TrackParameters object)

Append an object to the (subset) collection.

◆ qOverP()

std::vector< float > edm4eic::TrackParametersCollection::qOverP ( const size_t nElem = 0) const

◆ setID()

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

◆ setReferences()

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

◆ setSubsetCollection()

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

◆ size()

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

number of elements in the collection

◆ surface()

std::vector< std::uint64_t > edm4eic::TrackParametersCollection::surface ( const size_t nElem = 0) const

◆ theta()

std::vector< float > edm4eic::TrackParametersCollection::theta ( const size_t nElem = 0) const

◆ time()

std::vector< float > edm4eic::TrackParametersCollection::time ( const size_t nElem = 0) const

◆ type()

std::vector< std::int32_t > edm4eic::TrackParametersCollection::type ( const size_t nElem = 0) const

Friends And Related Symbol Documentation

◆ TrackParametersCollectionData

friend class TrackParametersCollectionData
friend

Member Data Documentation

◆ dataTypeName

auto edm4eic::TrackParametersCollection::dataTypeName = "edm4eic::TrackParametersData"
staticconstexpr

◆ typeName

auto edm4eic::TrackParametersCollection::typeName = "edm4eic::TrackParametersCollection"
staticconstexpr

◆ valueTypeName

auto edm4eic::TrackParametersCollection::valueTypeName = "edm4eic::TrackParameters"
staticconstexpr

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