#include <pre-generated/EVENT/Cluster.h>
Public Types | |
typedef Cluster | lcobject_type |
Useful typedef for template programming with LCIO. | |
Public Member Functions | |
virtual | ~Cluster () |
Destructor. | |
virtual int | getType () const =0 |
Flagword that defines the type of cluster. | |
virtual float | getEnergy () const =0 |
Energy of the cluster. | |
virtual float | getEnergyError () const =0 |
Returns the error on the energy of the cluster. | |
virtual const float * | getPosition () const =0 |
Position of the cluster. | |
virtual const FloatVec & | getPositionError () const =0 |
Covariance matrix of the position (6 Parameters). | |
virtual float | getIPhi () const =0 |
Intrinsic direction of cluster at position: Phi. | |
virtual float | getITheta () const =0 |
Intrinsic direction of cluster at position: Theta. | |
virtual const FloatVec & | getDirectionError () const =0 |
Covariance matrix of the direction (3 Parameters). | |
virtual const FloatVec & | getShape () const =0 |
Shape parameters - check/set collection parameter ClusterShapeParameters for size and names of parameters. | |
virtual const ParticleIDVec & | getParticleIDs () const =0 |
The particle Id's sorted by their likelihood. | |
virtual const ClusterVec & | getClusters () const =0 |
The clusters that have been combined to this cluster. | |
virtual const CalorimeterHitVec & | getCalorimeterHits () const =0 |
The hits that have been combined to this cluster. | |
virtual const FloatVec & | getHitContributions () const =0 |
Returns the energy contribution of the hits Runs parallel to the CalorimeterHitVec from getCalorimeterHits(). | |
virtual const FloatVec & | getSubdetectorEnergies () const =0 |
A vector that holds the energy observed in a particular subdetectors. |
The LCIO cluster.
virtual const CalorimeterHitVec& EVENT::Cluster::getCalorimeterHits | ( | ) | const [pure virtual] |
The hits that have been combined to this cluster.
Only available if collection flag bit LCIO::CLBIT_HITS==1 and if the CalorimeterHit objects have not been saved with LCIO::RCHBIT_NO_PTR==1.
Implemented in IMPL::ClusterImpl.
Referenced by SIO::SIOClusterHandler::write().
virtual const FloatVec& EVENT::Cluster::getDirectionError | ( | ) | const [pure virtual] |
Covariance matrix of the direction (3 Parameters).
Stored as lower triangle matrix where the order of parameters is: iPhi, iTheta. So we have cov(iPhi,iPhi), cov( iPhi, iTheta), cov( iTheta, iTheta).
Implemented in IMPL::ClusterImpl.
Referenced by SIO::SIOClusterHandler::write().
virtual float EVENT::Cluster::getIPhi | ( | ) | const [pure virtual] |
Intrinsic direction of cluster at position: Phi.
Not to be confused with direction cluster is seen from IP.
Implemented in IMPL::ClusterImpl.
Referenced by SIO::SIOClusterHandler::write().
virtual float EVENT::Cluster::getITheta | ( | ) | const [pure virtual] |
Intrinsic direction of cluster at position: Theta.
Not to be confused with direction cluster is seen from IP.
Implemented in IMPL::ClusterImpl.
Referenced by SIO::SIOClusterHandler::write().
virtual const ParticleIDVec& EVENT::Cluster::getParticleIDs | ( | ) | const [pure virtual] |
The particle Id's sorted by their likelihood.
Implemented in IMPL::ClusterImpl.
Referenced by UTIL::LCTOOLS::printClusters(), and SIO::SIOClusterHandler::write().
virtual const FloatVec& EVENT::Cluster::getSubdetectorEnergies | ( | ) | const [pure virtual] |
A vector that holds the energy observed in a particular subdetectors.
The mapping of indices to subdetectors is implementation dependent. To be used as convenient information or if hits are not stored in the data set, e.g. DST or FastMC. Check/set collection parameter ClusterSubdetectorNames for decoding the indices of the array.
Implemented in IMPL::ClusterImpl.
Referenced by SIO::SIOClusterHandler::write().
virtual int EVENT::Cluster::getType | ( | ) | const [pure virtual] |
Flagword that defines the type of cluster.
Bits 0-15 can be used to denote the subdetectors that have contributed hits to the cluster. For the definition of the bits check/Set the collection variables ClusterTypeBitNames and ClusterTypeBitIndices. Bits 16-31 are used internally.
Implemented in IMPL::ClusterImpl.
Referenced by SIO::SIOClusterHandler::write().