EICd
EIC data model
|
#include <Cluster.h>
Public Member Functions | |
Cluster () | |
default constructor More... | |
Cluster (eic::Index ID, float energy, float energyError, float time, std::uint32_t nhits, eic::VectorXYZ position, eic::CovXYZ positionError, float radius, float skewness) | |
Cluster (ClusterObj *obj) | |
constructor from existing ClusterObj More... | |
Cluster (const Cluster &other) | |
copy constructor More... | |
Cluster & | operator= (const Cluster &other) |
copy-assignment operator More... | |
Cluster | clone () const |
support cloning (deep-copy) More... | |
~Cluster () | |
destructor More... | |
operator ConstCluster () const | |
conversion to const object More... | |
const eic::Index & | ID () const |
Access the unique ID for this cluster. More... | |
const float & | energy () const |
Access the Reconstructed energy of the cluster [GeV]. More... | |
const float & | energyError () const |
Access the Error on the cluster energy [GeV]. More... | |
const float & | time () const |
Access the [ns]. More... | |
const std::uint32_t & | nhits () const |
Access the Number of hits in the cluster. More... | |
const eic::VectorXYZ & | position () const |
Access the Global position of the cluster [mm]. More... | |
const eic::CovXYZ & | positionError () const |
Access the Covariance matrix of the position (6 Parameters). More... | |
const float & | radius () const |
Access the shower radius [mm]. More... | |
const float & | skewness () const |
Access the shower skewness [unitless]. More... | |
void | ID (eic::Index value) |
Set the unique ID for this cluster. More... | |
eic::Index & | ID () |
Get reference to unique ID for this cluster. More... | |
void | energy (float value) |
Set the Reconstructed energy of the cluster [GeV]. More... | |
void | energyError (float value) |
Set the Error on the cluster energy [GeV]. More... | |
void | time (float value) |
Set the [ns]. More... | |
void | nhits (std::uint32_t value) |
Set the Number of hits in the cluster. More... | |
void | position (eic::VectorXYZ value) |
Set the Global position of the cluster [mm]. More... | |
eic::VectorXYZ & | position () |
Get reference to Global position of the cluster [mm]. More... | |
void | positionError (eic::CovXYZ value) |
Set the Covariance matrix of the position (6 Parameters). More... | |
eic::CovXYZ & | positionError () |
Get reference to Covariance matrix of the position (6 Parameters). More... | |
void | radius (float value) |
Set the shower radius [mm]. More... | |
void | skewness (float value) |
Set the shower skewness [unitless]. More... | |
bool | isAvailable () const |
check whether the object is actually available More... | |
void | unlink () |
disconnect from ClusterObj instance More... | |
bool | operator== (const Cluster &other) const |
bool | operator== (const ConstCluster &other) const |
bool | operator< (const Cluster &other) const |
unsigned int | id () const |
const podio::ObjectID | getObjectID () const |
Friends | |
class | ClusterCollection |
class | ClusterCollectionIterator |
class | ConstCluster |
EIC cluster
eic::Cluster::Cluster | ( | ) |
default constructor
eic::Cluster::Cluster | ( | eic::Index | ID, |
float | energy, | ||
float | energyError, | ||
float | time, | ||
std::uint32_t | nhits, | ||
eic::VectorXYZ | position, | ||
eic::CovXYZ | positionError, | ||
float | radius, | ||
float | skewness | ||
) |
eic::Cluster::Cluster | ( | ClusterObj * | obj | ) |
constructor from existing ClusterObj
eic::Cluster::Cluster | ( | const Cluster & | other | ) |
copy constructor
eic::Cluster::~Cluster | ( | ) |
destructor
Cluster eic::Cluster::clone | ( | ) | const |
support cloning (deep-copy)
const float & eic::Cluster::energy | ( | ) | const |
Access the Reconstructed energy of the cluster [GeV].
void eic::Cluster::energy | ( | float | value | ) |
Set the Reconstructed energy of the cluster [GeV].
const float & eic::Cluster::energyError | ( | ) | const |
Access the Error on the cluster energy [GeV].
void eic::Cluster::energyError | ( | float | value | ) |
Set the Error on the cluster energy [GeV].
const podio::ObjectID eic::Cluster::getObjectID | ( | ) | const |
eic::Index & eic::Cluster::ID | ( | ) |
Get reference to unique ID for this cluster.
const eic::Index & eic::Cluster::ID | ( | ) | const |
Access the unique ID for this cluster.
|
inline |
void eic::Cluster::ID | ( | eic::Index | value | ) |
Set the unique ID for this cluster.
bool eic::Cluster::isAvailable | ( | ) | const |
check whether the object is actually available
const std::uint32_t & eic::Cluster::nhits | ( | ) | const |
Access the Number of hits in the cluster.
void eic::Cluster::nhits | ( | std::uint32_t | value | ) |
Set the Number of hits in the cluster.
eic::Cluster::operator ConstCluster | ( | ) | const |
conversion to const object
|
inline |
|
inline |
bool eic::Cluster::operator== | ( | const ConstCluster & | other | ) | const |
eic::VectorXYZ & eic::Cluster::position | ( | ) |
Get reference to Global position of the cluster [mm].
const eic::VectorXYZ & eic::Cluster::position | ( | ) | const |
Access the Global position of the cluster [mm].
void eic::Cluster::position | ( | eic::VectorXYZ | value | ) |
Set the Global position of the cluster [mm].
eic::CovXYZ & eic::Cluster::positionError | ( | ) |
Get reference to Covariance matrix of the position (6 Parameters).
const eic::CovXYZ & eic::Cluster::positionError | ( | ) | const |
Access the Covariance matrix of the position (6 Parameters).
void eic::Cluster::positionError | ( | eic::CovXYZ | value | ) |
Set the Covariance matrix of the position (6 Parameters).
const float & eic::Cluster::radius | ( | ) | const |
Access the shower radius [mm].
void eic::Cluster::radius | ( | float | value | ) |
Set the shower radius [mm].
const float & eic::Cluster::skewness | ( | ) | const |
Access the shower skewness [unitless].
void eic::Cluster::skewness | ( | float | value | ) |
Set the shower skewness [unitless].
const float & eic::Cluster::time | ( | ) | const |
Access the [ns].
void eic::Cluster::time | ( | float | value | ) |
Set the [ns].
|
inline |
disconnect from ClusterObj instance
|
friend |
|
friend |
|
friend |