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