EICd
EIC data model
|
#include <ProtoCluster.h>
Public Member Functions | |
ProtoCluster () | |
default constructor More... | |
ProtoCluster (eic::Index hitID, eic::Index clusterID, eic::Weight weight) | |
ProtoCluster (ProtoClusterObj *obj) | |
constructor from existing ProtoClusterObj More... | |
ProtoCluster (const ProtoCluster &other) | |
copy constructor More... | |
ProtoCluster & | operator= (const ProtoCluster &other) |
copy-assignment operator More... | |
ProtoCluster | clone () const |
support cloning (deep-copy) More... | |
~ProtoCluster () | |
destructor More... | |
operator ConstProtoCluster () const | |
conversion to const object More... | |
const eic::Index & | hitID () const |
Access the Hit ID. More... | |
const eic::Index & | clusterID () const |
Access the ID of the cluster associated with this hit (-1 if none) More... | |
const eic::Weight & | weight () const |
Access the How much of this hit belongs to the cluster? [0->1]. More... | |
void | hitID (eic::Index value) |
Set the Hit ID. More... | |
eic::Index & | hitID () |
Get reference to Hit ID. More... | |
void | clusterID (eic::Index value) |
Set the ID of the cluster associated with this hit (-1 if none) More... | |
eic::Index & | clusterID () |
Get reference to ID of the cluster associated with this hit (-1 if none) More... | |
void | weight (eic::Weight value) |
Set the How much of this hit belongs to the cluster? [0->1]. More... | |
eic::Weight & | weight () |
Get reference to How much of this hit belongs to the cluster? [0->1]. More... | |
bool | isAvailable () const |
check whether the object is actually available More... | |
void | unlink () |
disconnect from ProtoClusterObj instance More... | |
bool | operator== (const ProtoCluster &other) const |
bool | operator== (const ConstProtoCluster &other) const |
bool | operator< (const ProtoCluster &other) const |
unsigned int | id () const |
const podio::ObjectID | getObjectID () const |
Friends | |
class | ProtoClusterCollection |
class | ProtoClusterCollectionIterator |
class | ConstProtoCluster |
Relational info linking hits to their associated cluster
eic::ProtoCluster::ProtoCluster | ( | ) |
default constructor
eic::ProtoCluster::ProtoCluster | ( | eic::Index | hitID, |
eic::Index | clusterID, | ||
eic::Weight | weight | ||
) |
eic::ProtoCluster::ProtoCluster | ( | ProtoClusterObj * | obj | ) |
constructor from existing ProtoClusterObj
eic::ProtoCluster::ProtoCluster | ( | const ProtoCluster & | other | ) |
copy constructor
eic::ProtoCluster::~ProtoCluster | ( | ) |
destructor
ProtoCluster eic::ProtoCluster::clone | ( | ) | const |
support cloning (deep-copy)
eic::Index & eic::ProtoCluster::clusterID | ( | ) |
Get reference to ID of the cluster associated with this hit (-1 if none)
const eic::Index & eic::ProtoCluster::clusterID | ( | ) | const |
Access the ID of the cluster associated with this hit (-1 if none)
void eic::ProtoCluster::clusterID | ( | eic::Index | value | ) |
Set the ID of the cluster associated with this hit (-1 if none)
const podio::ObjectID eic::ProtoCluster::getObjectID | ( | ) | const |
eic::Index & eic::ProtoCluster::hitID | ( | ) |
Get reference to Hit ID.
const eic::Index & eic::ProtoCluster::hitID | ( | ) | const |
Access the Hit ID.
void eic::ProtoCluster::hitID | ( | eic::Index | value | ) |
Set the Hit ID.
|
inline |
bool eic::ProtoCluster::isAvailable | ( | ) | const |
check whether the object is actually available
eic::ProtoCluster::operator ConstProtoCluster | ( | ) | const |
conversion to const object
|
inline |
ProtoCluster & eic::ProtoCluster::operator= | ( | const ProtoCluster & | other | ) |
copy-assignment operator
bool eic::ProtoCluster::operator== | ( | const ConstProtoCluster & | other | ) | const |
|
inline |
|
inline |
disconnect from ProtoClusterObj instance
eic::Weight & eic::ProtoCluster::weight | ( | ) |
Get reference to How much of this hit belongs to the cluster? [0->1].
const eic::Weight & eic::ProtoCluster::weight | ( | ) | const |
Access the How much of this hit belongs to the cluster? [0->1].
void eic::ProtoCluster::weight | ( | eic::Weight | value | ) |
Set the How much of this hit belongs to the cluster? [0->1].
|
friend |
|
friend |
|
friend |