EDM4eic
EIC data model
|
#include <Cluster.h>
Public Types | |
using | mutable_type = MutableCluster |
using | collection_type = ClusterCollection |
Public Member Functions | |
Cluster () | |
default constructor | |
Cluster (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. | |
Cluster (const Cluster &other)=default | |
copy constructor | |
Cluster & | operator= (Cluster other) |
copy-assignment operator | |
MutableCluster | clone () const |
create a mutable deep-copy of the object with identical relations | |
~Cluster ()=default | |
destructor | |
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. | |
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 |
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 |
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 |
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 |
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 |
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 Cluster &other) const |
bool | operator== (const MutableCluster &other) const |
bool | operator< (const Cluster &other) const |
podio::ObjectID | id () const |
const podio::ObjectID | getObjectID () const |
Static Public Member Functions | |
static Cluster | makeEmpty () |
Friends | |
class | MutableCluster |
class | ClusterCollection |
class | edm4eic::ClusterCollectionData |
class | ClusterCollectionIterator |
void | swap (Cluster &a, Cluster &b) |
EIC hit cluster, reworked to more closely resemble EDM4hep
edm4eic::Cluster::Cluster | ( | ) |
default constructor
edm4eic::Cluster::Cluster | ( | 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
MutableCluster edm4eic::Cluster::clone | ( | ) | const |
create a mutable deep-copy of the object with identical relations
std::vector< edm4eic::Cluster >::const_iterator edm4eic::Cluster::clusters_begin | ( | ) | const |
std::vector< edm4eic::Cluster >::const_iterator edm4eic::Cluster::clusters_end | ( | ) | const |
std::size_t edm4eic::Cluster::clusters_size | ( | ) | const |
podio::RelationRange< edm4eic::Cluster > edm4eic::Cluster::getClusters | ( | ) | const |
edm4eic::Cluster edm4eic::Cluster::getClusters | ( | std::size_t | index | ) | const |
float edm4eic::Cluster::getEnergy | ( | ) | const |
Access the Reconstructed energy of the cluster [GeV].
float edm4eic::Cluster::getEnergyError | ( | ) | const |
Access the Error on the cluster energy [GeV].
podio::RelationRange< float > edm4eic::Cluster::getHitContributions | ( | ) | const |
float edm4eic::Cluster::getHitContributions | ( | std::size_t | index | ) | const |
podio::RelationRange< edm4eic::CalorimeterHit > edm4eic::Cluster::getHits | ( | ) | const |
edm4eic::CalorimeterHit edm4eic::Cluster::getHits | ( | std::size_t | index | ) | const |
const edm4eic::Cov2f & edm4eic::Cluster::getIntrinsicDirectionError | ( | ) | const |
Access the Error on the intrinsic cluster propagation direction.
float edm4eic::Cluster::getIntrinsicPhi | ( | ) | const |
Access the Intrinsic cluster propagation direction azimuthal angle [rad].
float edm4eic::Cluster::getIntrinsicTheta | ( | ) | const |
Access the Intrinsic cluster propagation direction polar angle [rad].
std::uint32_t edm4eic::Cluster::getNhits | ( | ) | const |
Access the Number of hits in the cluster.
const podio::ObjectID edm4eic::Cluster::getObjectID | ( | ) | const |
podio::RelationRange< edm4hep::ParticleID > edm4eic::Cluster::getParticleIDs | ( | ) | const |
edm4hep::ParticleID edm4eic::Cluster::getParticleIDs | ( | std::size_t | index | ) | const |
const edm4hep::Vector3f & edm4eic::Cluster::getPosition | ( | ) | const |
Access the Global position of the cluster [mm].
const edm4eic::Cov3f & edm4eic::Cluster::getPositionError | ( | ) | const |
Access the Covariance matrix of the position (6 Parameters).
podio::RelationRange< float > edm4eic::Cluster::getShapeParameters | ( | ) | const |
float edm4eic::Cluster::getShapeParameters | ( | std::size_t | index | ) | const |
podio::RelationRange< float > edm4eic::Cluster::getSubdetectorEnergies | ( | ) | const |
float edm4eic::Cluster::getSubdetectorEnergies | ( | std::size_t | index | ) | const |
float edm4eic::Cluster::getTime | ( | ) | const |
Access the [ns].
float edm4eic::Cluster::getTimeError | ( | ) | const |
Access the Error on the cluster time.
std::int32_t edm4eic::Cluster::getType | ( | ) | const |
Access the Flag-word that defines the type of the cluster.
std::vector< float >::const_iterator edm4eic::Cluster::hitContributions_begin | ( | ) | const |
std::vector< float >::const_iterator edm4eic::Cluster::hitContributions_end | ( | ) | const |
std::size_t edm4eic::Cluster::hitContributions_size | ( | ) | const |
std::vector< edm4eic::CalorimeterHit >::const_iterator edm4eic::Cluster::hits_begin | ( | ) | const |
std::vector< edm4eic::CalorimeterHit >::const_iterator edm4eic::Cluster::hits_end | ( | ) | const |
std::size_t edm4eic::Cluster::hits_size | ( | ) | const |
|
inline |
bool edm4eic::Cluster::isAvailable | ( | ) | const |
check whether the object is actually available
|
static |
|
inline |
|
inline |
bool edm4eic::Cluster::operator== | ( | const MutableCluster & | other | ) | const |
std::vector< edm4hep::ParticleID >::const_iterator edm4eic::Cluster::particleIDs_begin | ( | ) | const |
std::vector< edm4hep::ParticleID >::const_iterator edm4eic::Cluster::particleIDs_end | ( | ) | const |
std::size_t edm4eic::Cluster::particleIDs_size | ( | ) | const |
std::vector< float >::const_iterator edm4eic::Cluster::shapeParameters_begin | ( | ) | const |
std::vector< float >::const_iterator edm4eic::Cluster::shapeParameters_end | ( | ) | const |
std::size_t edm4eic::Cluster::shapeParameters_size | ( | ) | const |
std::vector< float >::const_iterator edm4eic::Cluster::subdetectorEnergies_begin | ( | ) | const |
std::vector< float >::const_iterator edm4eic::Cluster::subdetectorEnergies_end | ( | ) | const |
std::size_t edm4eic::Cluster::subdetectorEnergies_size | ( | ) | const |
|
inline |
disconnect from ClusterObj instance
|
friend |
|
friend |
|
friend |
|
friend |