EICd
EIC data model
|
#include <ClusterLayer.h>
Public Member Functions | |
ClusterLayer () | |
default constructor More... | |
ClusterLayer (eic::Index ID, eic::Index clusterID, std::int32_t layer, std::uint32_t nhits, float energy, float energyError, float radius, float skewness, eic::VectorXYZ position) | |
ClusterLayer (ClusterLayerObj *obj) | |
constructor from existing ClusterLayerObj More... | |
ClusterLayer (const ClusterLayer &other) | |
copy constructor More... | |
ClusterLayer & | operator= (const ClusterLayer &other) |
copy-assignment operator More... | |
ClusterLayer | clone () const |
support cloning (deep-copy) More... | |
~ClusterLayer () | |
destructor More... | |
operator ConstClusterLayer () const | |
conversion to const object More... | |
const eic::Index & | ID () const |
Access the unique layer ID. More... | |
const eic::Index & | clusterID () const |
Access the associated full 3D cluster, -1 if none. More... | |
const std::int32_t & | layer () const |
Access the layer number for this cluster layer. More... | |
const std::uint32_t & | nhits () const |
Access the Number of hits. More... | |
const float & | energy () const |
Access the Energy in this cluster layer [GeV]. More... | |
const float & | energyError () const |
Access the Error on energy [GeV]. More... | |
const float & | radius () const |
Access the Shower radius [mm]. More... | |
const float & | skewness () const |
Access the Skewness of hits distribution. More... | |
const eic::VectorXYZ & | position () const |
Access the Global center position. [mm]. More... | |
void | ID (eic::Index value) |
Set the unique layer ID. More... | |
eic::Index & | ID () |
Get reference to unique layer ID. More... | |
void | clusterID (eic::Index value) |
Set the associated full 3D cluster, -1 if none. More... | |
eic::Index & | clusterID () |
Get reference to associated full 3D cluster, -1 if none. More... | |
void | layer (std::int32_t value) |
Set the layer number for this cluster layer. More... | |
void | nhits (std::uint32_t value) |
Set the Number of hits. More... | |
void | energy (float value) |
Set the Energy in this cluster layer [GeV]. More... | |
void | energyError (float value) |
Set the Error on energy [GeV]. More... | |
void | radius (float value) |
Set the Shower radius [mm]. More... | |
void | skewness (float value) |
Set the Skewness of hits distribution. More... | |
void | position (eic::VectorXYZ value) |
Set the Global center position. [mm]. More... | |
eic::VectorXYZ & | position () |
Get reference to Global center position. [mm]. More... | |
bool | isAvailable () const |
check whether the object is actually available More... | |
void | unlink () |
disconnect from ClusterLayerObj instance More... | |
bool | operator== (const ClusterLayer &other) const |
bool | operator== (const ConstClusterLayer &other) const |
bool | operator< (const ClusterLayer &other) const |
unsigned int | id () const |
const podio::ObjectID | getObjectID () const |
Friends | |
class | ClusterLayerCollection |
class | ClusterLayerCollectionIterator |
class | ConstClusterLayer |
2D Cluster in a single layer for a multi-layer detector
eic::ClusterLayer::ClusterLayer | ( | ) |
default constructor
eic::ClusterLayer::ClusterLayer | ( | eic::Index | ID, |
eic::Index | clusterID, | ||
std::int32_t | layer, | ||
std::uint32_t | nhits, | ||
float | energy, | ||
float | energyError, | ||
float | radius, | ||
float | skewness, | ||
eic::VectorXYZ | position | ||
) |
eic::ClusterLayer::ClusterLayer | ( | ClusterLayerObj * | obj | ) |
constructor from existing ClusterLayerObj
eic::ClusterLayer::ClusterLayer | ( | const ClusterLayer & | other | ) |
copy constructor
eic::ClusterLayer::~ClusterLayer | ( | ) |
destructor
ClusterLayer eic::ClusterLayer::clone | ( | ) | const |
support cloning (deep-copy)
eic::Index & eic::ClusterLayer::clusterID | ( | ) |
Get reference to associated full 3D cluster, -1 if none.
const eic::Index & eic::ClusterLayer::clusterID | ( | ) | const |
Access the associated full 3D cluster, -1 if none.
void eic::ClusterLayer::clusterID | ( | eic::Index | value | ) |
Set the associated full 3D cluster, -1 if none.
const float & eic::ClusterLayer::energy | ( | ) | const |
Access the Energy in this cluster layer [GeV].
void eic::ClusterLayer::energy | ( | float | value | ) |
Set the Energy in this cluster layer [GeV].
const float & eic::ClusterLayer::energyError | ( | ) | const |
Access the Error on energy [GeV].
void eic::ClusterLayer::energyError | ( | float | value | ) |
Set the Error on energy [GeV].
const podio::ObjectID eic::ClusterLayer::getObjectID | ( | ) | const |
eic::Index & eic::ClusterLayer::ID | ( | ) |
Get reference to unique layer ID.
const eic::Index & eic::ClusterLayer::ID | ( | ) | const |
Access the unique layer ID.
|
inline |
void eic::ClusterLayer::ID | ( | eic::Index | value | ) |
Set the unique layer ID.
bool eic::ClusterLayer::isAvailable | ( | ) | const |
check whether the object is actually available
const std::int32_t & eic::ClusterLayer::layer | ( | ) | const |
Access the layer number for this cluster layer.
void eic::ClusterLayer::layer | ( | std::int32_t | value | ) |
Set the layer number for this cluster layer.
const std::uint32_t & eic::ClusterLayer::nhits | ( | ) | const |
Access the Number of hits.
void eic::ClusterLayer::nhits | ( | std::uint32_t | value | ) |
Set the Number of hits.
eic::ClusterLayer::operator ConstClusterLayer | ( | ) | const |
conversion to const object
|
inline |
ClusterLayer & eic::ClusterLayer::operator= | ( | const ClusterLayer & | other | ) |
copy-assignment operator
|
inline |
bool eic::ClusterLayer::operator== | ( | const ConstClusterLayer & | other | ) | const |
eic::VectorXYZ & eic::ClusterLayer::position | ( | ) |
Get reference to Global center position. [mm].
const eic::VectorXYZ & eic::ClusterLayer::position | ( | ) | const |
Access the Global center position. [mm].
void eic::ClusterLayer::position | ( | eic::VectorXYZ | value | ) |
Set the Global center position. [mm].
const float & eic::ClusterLayer::radius | ( | ) | const |
Access the Shower radius [mm].
void eic::ClusterLayer::radius | ( | float | value | ) |
Set the Shower radius [mm].
const float & eic::ClusterLayer::skewness | ( | ) | const |
Access the Skewness of hits distribution.
void eic::ClusterLayer::skewness | ( | float | value | ) |
Set the Skewness of hits distribution.
|
inline |
disconnect from ClusterLayerObj instance
|
friend |
|
friend |
|
friend |