EDM4eic
EIC data model
|
#include <MutableCluster.h>
Public Types | |
using | object_type = Cluster |
using | collection_type = ClusterCollection |
Public Member Functions | |
MutableCluster () | |
default constructor | |
MutableCluster (std::int32_t type, float energy, float energyError, float time, float timeError, std::uint32_t nhits, edm4hep::Vector3f position, edm4eic::Cov3f positionError, float intrinsicTheta, float intrinsicPhi, edm4eic::Cov2f intrinsicDirectionError) | |
Constructor initializing all members. | |
MutableCluster (const MutableCluster &other)=default | |
copy constructor | |
MutableCluster & | operator= (MutableCluster other) |
copy-assignment operator | |
MutableCluster | clone () const |
create a mutable deep-copy of the object with identical relations | |
~MutableCluster ()=default | |
destructor | |
operator Cluster () const | |
conversion to const object | |
std::int32_t | getType () const |
Access the Flag-word that defines the type of the cluster. | |
float | getEnergy () const |
Access the Reconstructed energy of the cluster [GeV]. | |
float | getEnergyError () const |
Access the Error on the cluster energy [GeV]. | |
float | getTime () const |
Access the [ns]. | |
float | getTimeError () const |
Access the Error on the cluster time. | |
std::uint32_t | getNhits () const |
Access the Number of hits in the cluster. | |
const edm4hep::Vector3f & | getPosition () const |
Access the Global position of the cluster [mm]. | |
const edm4eic::Cov3f & | getPositionError () const |
Access the Covariance matrix of the position (6 Parameters). | |
float | getIntrinsicTheta () const |
Access the Intrinsic cluster propagation direction polar angle [rad]. | |
float | getIntrinsicPhi () const |
Access the Intrinsic cluster propagation direction azimuthal angle [rad]. | |
const edm4eic::Cov2f & | getIntrinsicDirectionError () const |
Access the Error on the intrinsic cluster propagation direction. | |
void | setType (std::int32_t value) |
Set the Flag-word that defines the type of the cluster. | |
void | setEnergy (float value) |
Set the Reconstructed energy of the cluster [GeV]. | |
void | setEnergyError (float value) |
Set the Error on the cluster energy [GeV]. | |
void | setTime (float value) |
Set the [ns]. | |
void | setTimeError (float value) |
Set the Error on the cluster time. | |
void | setNhits (std::uint32_t value) |
Set the Number of hits in the cluster. | |
void | setPosition (edm4hep::Vector3f value) |
Set the Global position of the cluster [mm]. | |
edm4hep::Vector3f & | position () |
Get reference to Global position of the cluster [mm]. | |
void | setPositionError (edm4eic::Cov3f value) |
Set the Covariance matrix of the position (6 Parameters). | |
edm4eic::Cov3f & | positionError () |
Get reference to Covariance matrix of the position (6 Parameters). | |
void | setIntrinsicTheta (float value) |
Set the Intrinsic cluster propagation direction polar angle [rad]. | |
void | setIntrinsicPhi (float value) |
Set the Intrinsic cluster propagation direction azimuthal angle [rad]. | |
void | setIntrinsicDirectionError (edm4eic::Cov2f value) |
Set the Error on the intrinsic cluster propagation direction. | |
edm4eic::Cov2f & | intrinsicDirectionError () |
Get reference to Error on the intrinsic cluster propagation direction. | |
void | addToClusters (edm4eic::Cluster) |
std::size_t | clusters_size () const |
edm4eic::Cluster | getClusters (std::size_t) const |
std::vector< edm4eic::Cluster >::const_iterator | clusters_begin () const |
std::vector< edm4eic::Cluster >::const_iterator | clusters_end () const |
podio::RelationRange< edm4eic::Cluster > | getClusters () const |
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 | addToParticleIDs (edm4hep::ParticleID) |
std::size_t | particleIDs_size () const |
edm4hep::ParticleID | getParticleIDs (std::size_t) const |
std::vector< edm4hep::ParticleID >::const_iterator | particleIDs_begin () const |
std::vector< edm4hep::ParticleID >::const_iterator | particleIDs_end () const |
podio::RelationRange< edm4hep::ParticleID > | getParticleIDs () const |
void | addToShapeParameters (float) |
std::size_t | shapeParameters_size () const |
float | getShapeParameters (std::size_t) const |
std::vector< float >::const_iterator | shapeParameters_begin () const |
std::vector< float >::const_iterator | shapeParameters_end () const |
podio::RelationRange< float > | getShapeParameters () const |
void | addToHitContributions (float) |
std::size_t | hitContributions_size () const |
float | getHitContributions (std::size_t) const |
std::vector< float >::const_iterator | hitContributions_begin () const |
std::vector< float >::const_iterator | hitContributions_end () const |
podio::RelationRange< float > | getHitContributions () const |
void | addToSubdetectorEnergies (float) |
std::size_t | subdetectorEnergies_size () const |
float | getSubdetectorEnergies (std::size_t) const |
std::vector< float >::const_iterator | subdetectorEnergies_begin () const |
std::vector< float >::const_iterator | subdetectorEnergies_end () const |
podio::RelationRange< float > | getSubdetectorEnergies () const |
bool | isAvailable () const |
check whether the object is actually available | |
void | unlink () |
disconnect from ClusterObj instance | |
bool | operator== (const MutableCluster &other) const |
bool | operator== (const Cluster &other) const |
bool | operator< (const MutableCluster &other) const |
podio::ObjectID | id () const |
const podio::ObjectID | getObjectID () const |
Friends | |
class | ClusterCollection |
class | ClusterMutableCollectionIterator |
class | Cluster |
void | swap (MutableCluster &a, MutableCluster &b) |
EIC hit cluster, reworked to more closely resemble EDM4hep
edm4eic::MutableCluster::MutableCluster | ( | ) |
default constructor
edm4eic::MutableCluster::MutableCluster | ( | std::int32_t | type, |
float | energy, | ||
float | energyError, | ||
float | time, | ||
float | timeError, | ||
std::uint32_t | nhits, | ||
edm4hep::Vector3f | position, | ||
edm4eic::Cov3f | positionError, | ||
float | intrinsicTheta, | ||
float | intrinsicPhi, | ||
edm4eic::Cov2f | intrinsicDirectionError ) |
Constructor initializing all members.
|
default |
copy constructor
|
default |
destructor
void edm4eic::MutableCluster::addToClusters | ( | edm4eic::Cluster | component | ) |
void edm4eic::MutableCluster::addToHitContributions | ( | float | component | ) |
void edm4eic::MutableCluster::addToHits | ( | edm4eic::CalorimeterHit | component | ) |
void edm4eic::MutableCluster::addToParticleIDs | ( | edm4hep::ParticleID | component | ) |
void edm4eic::MutableCluster::addToShapeParameters | ( | float | component | ) |
void edm4eic::MutableCluster::addToSubdetectorEnergies | ( | float | component | ) |
MutableCluster edm4eic::MutableCluster::clone | ( | ) | const |
create a mutable deep-copy of the object with identical relations
std::vector< edm4eic::Cluster >::const_iterator edm4eic::MutableCluster::clusters_begin | ( | ) | const |
std::vector< edm4eic::Cluster >::const_iterator edm4eic::MutableCluster::clusters_end | ( | ) | const |
std::size_t edm4eic::MutableCluster::clusters_size | ( | ) | const |
podio::RelationRange< edm4eic::Cluster > edm4eic::MutableCluster::getClusters | ( | ) | const |
edm4eic::Cluster edm4eic::MutableCluster::getClusters | ( | std::size_t | index | ) | const |
float edm4eic::MutableCluster::getEnergy | ( | ) | const |
Access the Reconstructed energy of the cluster [GeV].
float edm4eic::MutableCluster::getEnergyError | ( | ) | const |
Access the Error on the cluster energy [GeV].
podio::RelationRange< float > edm4eic::MutableCluster::getHitContributions | ( | ) | const |
float edm4eic::MutableCluster::getHitContributions | ( | std::size_t | index | ) | const |
podio::RelationRange< edm4eic::CalorimeterHit > edm4eic::MutableCluster::getHits | ( | ) | const |
edm4eic::CalorimeterHit edm4eic::MutableCluster::getHits | ( | std::size_t | index | ) | const |
const edm4eic::Cov2f & edm4eic::MutableCluster::getIntrinsicDirectionError | ( | ) | const |
Access the Error on the intrinsic cluster propagation direction.
float edm4eic::MutableCluster::getIntrinsicPhi | ( | ) | const |
Access the Intrinsic cluster propagation direction azimuthal angle [rad].
float edm4eic::MutableCluster::getIntrinsicTheta | ( | ) | const |
Access the Intrinsic cluster propagation direction polar angle [rad].
std::uint32_t edm4eic::MutableCluster::getNhits | ( | ) | const |
Access the Number of hits in the cluster.
const podio::ObjectID edm4eic::MutableCluster::getObjectID | ( | ) | const |
podio::RelationRange< edm4hep::ParticleID > edm4eic::MutableCluster::getParticleIDs | ( | ) | const |
edm4hep::ParticleID edm4eic::MutableCluster::getParticleIDs | ( | std::size_t | index | ) | const |
const edm4hep::Vector3f & edm4eic::MutableCluster::getPosition | ( | ) | const |
Access the Global position of the cluster [mm].
const edm4eic::Cov3f & edm4eic::MutableCluster::getPositionError | ( | ) | const |
Access the Covariance matrix of the position (6 Parameters).
podio::RelationRange< float > edm4eic::MutableCluster::getShapeParameters | ( | ) | const |
float edm4eic::MutableCluster::getShapeParameters | ( | std::size_t | index | ) | const |
podio::RelationRange< float > edm4eic::MutableCluster::getSubdetectorEnergies | ( | ) | const |
float edm4eic::MutableCluster::getSubdetectorEnergies | ( | std::size_t | index | ) | const |
float edm4eic::MutableCluster::getTime | ( | ) | const |
Access the [ns].
float edm4eic::MutableCluster::getTimeError | ( | ) | const |
Access the Error on the cluster time.
std::int32_t edm4eic::MutableCluster::getType | ( | ) | const |
Access the Flag-word that defines the type of the cluster.
std::vector< float >::const_iterator edm4eic::MutableCluster::hitContributions_begin | ( | ) | const |
std::vector< float >::const_iterator edm4eic::MutableCluster::hitContributions_end | ( | ) | const |
std::size_t edm4eic::MutableCluster::hitContributions_size | ( | ) | const |
std::vector< edm4eic::CalorimeterHit >::const_iterator edm4eic::MutableCluster::hits_begin | ( | ) | const |
std::vector< edm4eic::CalorimeterHit >::const_iterator edm4eic::MutableCluster::hits_end | ( | ) | const |
std::size_t edm4eic::MutableCluster::hits_size | ( | ) | const |
|
inline |
edm4eic::Cov2f & edm4eic::MutableCluster::intrinsicDirectionError | ( | ) |
Get reference to Error on the intrinsic cluster propagation direction.
bool edm4eic::MutableCluster::isAvailable | ( | ) | const |
check whether the object is actually available
edm4eic::MutableCluster::operator Cluster | ( | ) | const |
conversion to const object
|
inline |
MutableCluster & edm4eic::MutableCluster::operator= | ( | MutableCluster | other | ) |
copy-assignment operator
bool edm4eic::MutableCluster::operator== | ( | const Cluster & | other | ) | const |
|
inline |
std::vector< edm4hep::ParticleID >::const_iterator edm4eic::MutableCluster::particleIDs_begin | ( | ) | const |
std::vector< edm4hep::ParticleID >::const_iterator edm4eic::MutableCluster::particleIDs_end | ( | ) | const |
std::size_t edm4eic::MutableCluster::particleIDs_size | ( | ) | const |
edm4hep::Vector3f & edm4eic::MutableCluster::position | ( | ) |
Get reference to Global position of the cluster [mm].
edm4eic::Cov3f & edm4eic::MutableCluster::positionError | ( | ) |
Get reference to Covariance matrix of the position (6 Parameters).
void edm4eic::MutableCluster::setEnergy | ( | float | value | ) |
Set the Reconstructed energy of the cluster [GeV].
void edm4eic::MutableCluster::setEnergyError | ( | float | value | ) |
Set the Error on the cluster energy [GeV].
void edm4eic::MutableCluster::setIntrinsicDirectionError | ( | edm4eic::Cov2f | value | ) |
Set the Error on the intrinsic cluster propagation direction.
void edm4eic::MutableCluster::setIntrinsicPhi | ( | float | value | ) |
Set the Intrinsic cluster propagation direction azimuthal angle [rad].
void edm4eic::MutableCluster::setIntrinsicTheta | ( | float | value | ) |
Set the Intrinsic cluster propagation direction polar angle [rad].
void edm4eic::MutableCluster::setNhits | ( | std::uint32_t | value | ) |
Set the Number of hits in the cluster.
void edm4eic::MutableCluster::setPosition | ( | edm4hep::Vector3f | value | ) |
Set the Global position of the cluster [mm].
void edm4eic::MutableCluster::setPositionError | ( | edm4eic::Cov3f | value | ) |
Set the Covariance matrix of the position (6 Parameters).
void edm4eic::MutableCluster::setTime | ( | float | value | ) |
Set the [ns].
void edm4eic::MutableCluster::setTimeError | ( | float | value | ) |
Set the Error on the cluster time.
void edm4eic::MutableCluster::setType | ( | std::int32_t | value | ) |
Set the Flag-word that defines the type of the cluster.
std::vector< float >::const_iterator edm4eic::MutableCluster::shapeParameters_begin | ( | ) | const |
std::vector< float >::const_iterator edm4eic::MutableCluster::shapeParameters_end | ( | ) | const |
std::size_t edm4eic::MutableCluster::shapeParameters_size | ( | ) | const |
std::vector< float >::const_iterator edm4eic::MutableCluster::subdetectorEnergies_begin | ( | ) | const |
std::vector< float >::const_iterator edm4eic::MutableCluster::subdetectorEnergies_end | ( | ) | const |
std::size_t edm4eic::MutableCluster::subdetectorEnergies_size | ( | ) | const |
|
inline |
disconnect from ClusterObj instance
|
friend |
|
friend |
|
friend |
|
friend |