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