EDM4eic
EIC data model
|
#include <MutableProtoCluster.h>
Public Types | |
using | object_type = ProtoCluster |
using | collection_type = ProtoClusterCollection |
Public Member Functions | |
MutableProtoCluster () | |
default constructor | |
MutableProtoCluster (const MutableProtoCluster &other)=default | |
copy constructor | |
MutableProtoCluster & | operator= (MutableProtoCluster other) |
copy-assignment operator | |
MutableProtoCluster | clone () const |
create a mutable deep-copy of the object with identical relations | |
~MutableProtoCluster ()=default | |
destructor | |
operator ProtoCluster () const | |
conversion to const object | |
void | addToHits (edm4eic::CalorimeterHit) |
std::size_t | hits_size () const |
edm4eic::CalorimeterHit | getHits (std::size_t) const |
std::vector< edm4eic::CalorimeterHit >::const_iterator | hits_begin () const |
std::vector< edm4eic::CalorimeterHit >::const_iterator | hits_end () const |
podio::RelationRange< edm4eic::CalorimeterHit > | getHits () const |
void | addToWeights (float) |
std::size_t | weights_size () const |
float | getWeights (std::size_t) const |
std::vector< float >::const_iterator | weights_begin () const |
std::vector< float >::const_iterator | weights_end () const |
podio::RelationRange< float > | getWeights () const |
bool | isAvailable () const |
check whether the object is actually available | |
void | unlink () |
disconnect from ProtoClusterObj instance | |
bool | operator== (const MutableProtoCluster &other) const |
bool | operator== (const ProtoCluster &other) const |
bool | operator< (const MutableProtoCluster &other) const |
podio::ObjectID | id () const |
const podio::ObjectID | getObjectID () const |
Friends | |
class | ProtoClusterCollection |
class | ProtoClusterMutableCollectionIterator |
class | ProtoCluster |
void | swap (MutableProtoCluster &a, MutableProtoCluster &b) |
Collection of hits identified by the clustering algorithm to belong together
edm4eic::MutableProtoCluster::MutableProtoCluster | ( | ) |
default constructor
|
default |
copy constructor
|
default |
destructor
void edm4eic::MutableProtoCluster::addToHits | ( | edm4eic::CalorimeterHit | component | ) |
void edm4eic::MutableProtoCluster::addToWeights | ( | float | component | ) |
MutableProtoCluster edm4eic::MutableProtoCluster::clone | ( | ) | const |
create a mutable deep-copy of the object with identical relations
podio::RelationRange< edm4eic::CalorimeterHit > edm4eic::MutableProtoCluster::getHits | ( | ) | const |
edm4eic::CalorimeterHit edm4eic::MutableProtoCluster::getHits | ( | std::size_t | index | ) | const |
const podio::ObjectID edm4eic::MutableProtoCluster::getObjectID | ( | ) | const |
podio::RelationRange< float > edm4eic::MutableProtoCluster::getWeights | ( | ) | const |
float edm4eic::MutableProtoCluster::getWeights | ( | std::size_t | index | ) | const |
std::vector< edm4eic::CalorimeterHit >::const_iterator edm4eic::MutableProtoCluster::hits_begin | ( | ) | const |
std::vector< edm4eic::CalorimeterHit >::const_iterator edm4eic::MutableProtoCluster::hits_end | ( | ) | const |
std::size_t edm4eic::MutableProtoCluster::hits_size | ( | ) | const |
|
inline |
bool edm4eic::MutableProtoCluster::isAvailable | ( | ) | const |
check whether the object is actually available
edm4eic::MutableProtoCluster::operator ProtoCluster | ( | ) | const |
conversion to const object
|
inline |
MutableProtoCluster & edm4eic::MutableProtoCluster::operator= | ( | MutableProtoCluster | other | ) |
copy-assignment operator
|
inline |
bool edm4eic::MutableProtoCluster::operator== | ( | const ProtoCluster & | other | ) | const |
|
inline |
disconnect from ProtoClusterObj instance
std::vector< float >::const_iterator edm4eic::MutableProtoCluster::weights_begin | ( | ) | const |
std::vector< float >::const_iterator edm4eic::MutableProtoCluster::weights_end | ( | ) | const |
std::size_t edm4eic::MutableProtoCluster::weights_size | ( | ) | const |
|
friend |
|
friend |
|
friend |
|
friend |