LCIO  "2.7.4"
 All Classes Namespaces Functions Variables Typedefs Friends Pages
Public Types | Public Member Functions | List of all members
EVENT::Cluster Class Referenceabstract

The LCIO cluster. More...

#include <pre-generated/EVENT/Cluster.h>

Inheritance diagram for EVENT::Cluster:
EVENT::LCObject lcrtrel::LCRTRelations IMPL::ClusterImpl IOIMPL::ClusterIOImpl

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. More...
 
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 FloatVecgetPositionError () const =0
 Covariance matrix of the position (6 Parameters)
 
virtual float getIPhi () const =0
 Intrinsic direction of cluster at position: Phi. More...
 
virtual float getITheta () const =0
 Intrinsic direction of cluster at position: Theta. More...
 
virtual const FloatVecgetDirectionError () const =0
 Covariance matrix of the direction (3 Parameters). More...
 
virtual const FloatVecgetShape () const =0
 Shape parameters - check/set collection parameter ClusterShapeParameters for size and names of parameters.
 
virtual const ParticleIDVecgetParticleIDs () const =0
 The particle Id's sorted by their likelihood. More...
 
virtual const ClusterVecgetClusters () const =0
 The clusters that have been combined to this cluster.
 
virtual const CalorimeterHitVecgetCalorimeterHits () const =0
 The hits that have been combined to this cluster. More...
 
virtual const FloatVecgetHitContributions () const =0
 Returns the energy contribution of the hits Runs parallel to the CalorimeterHitVec from getCalorimeterHits()
 
virtual const FloatVecgetSubdetectorEnergies () const =0
 A vector that holds the energy observed in a particular subdetectors. More...
 
- Public Member Functions inherited from EVENT::LCObject
virtual ~LCObject ()
 Destructor.
 
virtual int id () const =0
 Returns an object id for internal (debugging) use in LCIO.
 
virtual LCObjectclone () const
 Returns an object id for internal (debugging) use in LCIO. More...
 
- Public Member Functions inherited from lcrtrel::LCRTRelations
template<class V >
V::ext_type ext ()
 Provides access to an extension object - the type and ownership is defined by the class V which should be a subtype of LCExtension, LCOwnedExtension, LCExtensionVector, LCExtensionList,...
 
template<class V >
const V::ext_type ext () const
 
template<class V >
V::rel_type rel ()
 Provides read access to relations - the object types and their connectivity are defined by the class V which has to be a subtype of either LC1To1Relation, LC1ToNRelation or LCNToNRelation.
 

Additional Inherited Members

- Protected Member Functions inherited from lcrtrel::LCRTRelations
template<class V >
V::ptr & ptr () const
 Returns the reference to the pointer to the extension/relation object.
 

Detailed Description

The LCIO cluster.

Author
gaede
Version
Id:
Cluster.aid,v 1.14 2006-08-03 16:53:34 gaede Exp

Member Function Documentation

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.

See Also
CalorimeterHit

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.

See Also
ParticleID

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().


The documentation for this class was generated from the following file: