|
EDM4eic
EIC data model
|
#include <CalorimeterHitCollection.h>
Public Types | |
| using | value_type = CalorimeterHit |
| using | mutable_type = MutableCalorimeterHit |
| using | const_iterator = CalorimeterHitCollectionIterator |
| using | iterator = CalorimeterHitMutableCollectionIterator |
| 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 | |
| CalorimeterHitCollection () | |
| CalorimeterHitCollection (CalorimeterHitCollectionData &&data, bool isSubsetColl) | |
| CalorimeterHitCollection (const CalorimeterHitCollection &)=delete | |
| CalorimeterHitCollection & | operator= (const CalorimeterHitCollection &)=delete |
| CalorimeterHitCollection (CalorimeterHitCollection &&)=default | |
| CalorimeterHitCollection & | operator= (CalorimeterHitCollection &&)=default |
| ~CalorimeterHitCollection () override | |
| void | clear () final |
| void | print (std::ostream &os=std::cout, bool flush=true) const final |
| Print this collection to the passed stream. | |
| CalorimeterHitCollection * | operator-> () |
| operator to allow pointer like calling of members a la LCIO | |
| MutableCalorimeterHit | create () |
| Append a new object to the collection, and return this object. | |
| template<typename... Args> | |
| MutableCalorimeterHit | 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 |
| CalorimeterHit | operator[] (std::size_t index) const |
| Returns the const object of given index. | |
| MutableCalorimeterHit | operator[] (std::size_t index) |
| Returns the object of a given index. | |
| CalorimeterHit | at (std::size_t index) const |
| Returns the const object of given index. | |
| MutableCalorimeterHit | at (std::size_t index) |
| Returns the object of given index. | |
| void | push_back (const MutableCalorimeterHit &object) |
| Append object to the collection. | |
| void | push_back (const CalorimeterHit &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 |
| 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< float > | energy (const size_t nElem=0) const |
| std::vector< float > | energyError (const size_t nElem=0) const |
| std::vector< float > | time (const size_t nElem=0) const |
| std::vector< float > | timeError (const size_t nElem=0) const |
| std::vector< edm4hep::Vector3f > | position (const size_t nElem=0) const |
| std::vector< edm4hep::Vector3f > | dimension (const size_t nElem=0) const |
| std::vector< std::int32_t > | sector (const size_t nElem=0) const |
| std::vector< std::int32_t > | layer (const size_t nElem=0) const |
| std::vector< edm4hep::Vector3f > | local (const size_t nElem=0) const |
Static Public Attributes | |
| static constexpr std::string_view | typeName = "edm4eic::CalorimeterHitCollection" |
| static constexpr std::string_view | valueTypeName = "edm4eic::CalorimeterHit" |
| static constexpr std::string_view | dataTypeName = "edm4eic::CalorimeterHitData" |
Friends | |
| class | CalorimeterHitCollectionData |
A Collection is identified by an ID.
| using edm4eic::CalorimeterHitCollection::const_reverse_iterator = std::reverse_iterator<const_iterator> |
| using edm4eic::CalorimeterHitCollection::difference_type = ptrdiff_t |
| using edm4eic::CalorimeterHitCollection::reverse_iterator = std::reverse_iterator<iterator> |
| using edm4eic::CalorimeterHitCollection::size_type = size_t |
| edm4eic::CalorimeterHitCollection::CalorimeterHitCollection | ( | ) |
| edm4eic::CalorimeterHitCollection::CalorimeterHitCollection | ( | CalorimeterHitCollectionData && | data, |
| bool | isSubsetColl ) |
|
delete |
|
default |
|
override |
| MutableCalorimeterHit edm4eic::CalorimeterHitCollection::at | ( | std::size_t | index | ) |
Returns the object of given index.
| CalorimeterHit edm4eic::CalorimeterHitCollection::at | ( | std::size_t | index | ) | const |
Returns the const object of given index.
|
inline |
|
inline |
|
inline |
| std::vector< std::uint64_t > edm4eic::CalorimeterHitCollection::cellID | ( | const size_t | nElem = 0 | ) | const |
|
inline |
|
final |
|
inline |
| MutableCalorimeterHit edm4eic::CalorimeterHitCollection::create | ( | ) |
Append a new object to the collection, and return this object.
| MutableCalorimeterHit edm4eic::CalorimeterHitCollection::create | ( | Args &&... | args | ) |
Append a new object to the collection, and return this object. Initialized with the parameters given
|
inline |
| std::vector< edm4hep::Vector3f > edm4eic::CalorimeterHitCollection::dimension | ( | const size_t | nElem = 0 | ) | const |
|
final |
Is the collection empty.
|
inline |
|
inline |
| std::vector< float > edm4eic::CalorimeterHitCollection::energy | ( | const size_t | nElem = 0 | ) | const |
| std::vector< float > edm4eic::CalorimeterHitCollection::energyError | ( | const size_t | nElem = 0 | ) | const |
|
final |
Get the collection buffers for this collection.
|
final |
|
inlinefinal |
fully qualified type name of stored POD elements - with namespace
|
inlinefinal |
|
final |
schema version
|
inlinefinal |
fully qualified type name
|
inlinefinal |
fully qualified type name of elements - with namespace
|
inlinefinal |
|
inlinefinal |
| std::vector< std::int32_t > edm4eic::CalorimeterHitCollection::layer | ( | const size_t | nElem = 0 | ) | const |
| std::vector< edm4hep::Vector3f > edm4eic::CalorimeterHitCollection::local | ( | const size_t | nElem = 0 | ) | const |
|
final |
maximal number of elements in the collection
|
inline |
operator to allow pointer like calling of members a la LCIO
|
default |
|
delete |
| MutableCalorimeterHit edm4eic::CalorimeterHitCollection::operator[] | ( | std::size_t | index | ) |
Returns the object of a given index.
| CalorimeterHit edm4eic::CalorimeterHitCollection::operator[] | ( | std::size_t | index | ) | const |
Returns the const object of given index.
| std::vector< edm4hep::Vector3f > edm4eic::CalorimeterHitCollection::position | ( | const size_t | nElem = 0 | ) | const |
|
final |
|
final |
|
final |
Print this collection to the passed stream.
| void edm4eic::CalorimeterHitCollection::push_back | ( | const CalorimeterHit & | object | ) |
Append an object to the (subset) collection.
| void edm4eic::CalorimeterHitCollection::push_back | ( | const MutableCalorimeterHit & | object | ) |
Append object to the collection.
|
inline |
|
inline |
|
inline |
|
inline |
| std::vector< std::int32_t > edm4eic::CalorimeterHitCollection::sector | ( | const size_t | nElem = 0 | ) | const |
|
inlinefinal |
|
final |
|
final |
|
final |
number of elements in the collection
| std::vector< float > edm4eic::CalorimeterHitCollection::time | ( | const size_t | nElem = 0 | ) | const |
| std::vector< float > edm4eic::CalorimeterHitCollection::timeError | ( | const size_t | nElem = 0 | ) | const |
|
friend |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |