#include <ClusterImpl.h>
Inheritance diagram for IMPL::ClusterImpl:

Public Types | |
| typedef Cluster | lcobject_type |
Public Member Functions | |
| ClusterImpl () | |
| virtual | ~ClusterImpl () |
| Destructor. | |
| virtual int | id () const |
| virtual int | getType () const |
| virtual float | getEnergy () const |
| virtual const float * | getPosition () const |
| virtual const EVENT::FloatVec & | getPositionError () const |
| virtual float | getITheta () const |
| virtual float | getIPhi () const |
| virtual const EVENT::FloatVec & | getDirectionError () const |
| virtual const EVENT::FloatVec & | getShape () const |
| virtual const EVENT::ParticleIDVec & | getParticleIDs () const |
| virtual const EVENT::ClusterVec & | getClusters () const |
| virtual const EVENT::CalorimeterHitVec & | getCalorimeterHits () const |
| virtual const EVENT::FloatVec & | getHitContributions () const |
| virtual const EVENT::FloatVec & | getSubdetectorEnergies () const |
| void | setTypeBit (int index, bool val=true) |
| void | setEnergy (float energy) |
| void | setPosition (float *position) |
| void | setPositionError (const EVENT::FloatVec &errpos) |
| void | setPositionError (const float *errpos) |
| void | setITheta (float theta) |
| void | setIPhi (float phi) |
| void | setDirectionError (const EVENT::FloatVec &errdir) |
| void | setDirectionError (const float *errdir) |
| void | setShape (const EVENT::FloatVec &shape) |
| void | addParticleID (EVENT::ParticleID *pid) |
| void | addCluster (EVENT::Cluster *cluster) |
| void | addHit (EVENT::CalorimeterHit *hit, float contribution) |
| EVENT::FloatVec & | subdetectorEnergies () |
| virtual LCObject * | clone () const |
| template<class V> | |
| V::ext_type | ext () |
| template<class V> | |
| V::rel_type | rel () |
| virtual int | simpleUID () const |
Protected Member Functions | |
| void | setType (int type) |
| template<class V> | |
| V::ptr & | ptr () |
| virtual void | setReadOnly (bool readOnly) |
| void | checkAccess () throw ( EVENT::ReadOnlyException ) |
| void | checkAccess (const char *what) throw ( EVENT::ReadOnlyException ) |
Protected Attributes | |
| std::bitset< 32 > | _type |
| float | _energy |
| float | _position [3] |
| EVENT::FloatVec | _errpos |
| float | _theta |
| float | _phi |
| EVENT::FloatVec | _errdir |
| EVENT::FloatVec | _shape |
| EVENT::ParticleIDVec | _pid |
| EVENT::ClusterVec | _clusters |
| EVENT::CalorimeterHitVec | _hits |
| EVENT::FloatVec | _weights |
| EVENT::FloatVec | _subdetectorEnergies |
| bool | _readOnly |
| int | _id |
Definition at line 24 of file ClusterImpl.h.
|
|
Useful typedef for template programming with LCIO |
|
|
Default constructor, initializes values to 0. Definition at line 11 of file ClusterImpl.cc. References _errdir, _errpos, _position, NERRDIR, and NERRPOS. |
|
|
Destructor.
Definition at line 26 of file ClusterImpl.cc. References _pid. |
|
|
Definition at line 132 of file ClusterImpl.cc. References _clusters, and IMPL::AccessChecked::checkAccess(). |
|
||||||||||||
|
Definition at line 138 of file ClusterImpl.cc. |
|
|
Definition at line 125 of file ClusterImpl.cc. References _pid, and IMPL::AccessChecked::checkAccess(). Referenced by SIO::SIOClusterHandler::read(). |
|
|
Definition at line 20 of file AccessChecked.cc. |
|
|
|
Deep copy of the object. C++ implementations should return the concrete type (virtual constructor). No reasonable implementation yet. Do not use this method. Reimplemented in IMPL::SimCalorimeterHitImpl. Definition at line 52 of file LCObject.h. |
|
|||||||||
|
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,... Definition at line 430 of file LCRTRelations.h. |
|
|
The hits that have been combined to this cluster. Implements EVENT::Cluster. Definition at line 53 of file ClusterImpl.cc. |
|
|
The clusters that have been combined to this cluster. Implements EVENT::Cluster. Definition at line 50 of file ClusterImpl.cc. References EVENT::ClusterVec. |
|
|
Covariance matrix of the direction (3 Parameters) Implements EVENT::Cluster. Definition at line 45 of file ClusterImpl.cc. References EVENT::FloatVec. |
|
|
Energy of the cluster. Implements EVENT::Cluster. Definition at line 40 of file ClusterImpl.cc. |
|
|
Returns the energy contribution of the hits Runs parallel to the CalorimeterHitVec from getCalorimeterHits() Implements EVENT::Cluster. Definition at line 56 of file ClusterImpl.cc. |
|
|
Intrinsic direction of cluster at position: Phi. Implements EVENT::Cluster. Definition at line 44 of file ClusterImpl.cc. |
|
|
Intrinsic direction of cluster at position: Theta. Implements EVENT::Cluster. Definition at line 43 of file ClusterImpl.cc. |
|
|
The particle Id's sorted by their probability.
Implements EVENT::Cluster. Definition at line 48 of file ClusterImpl.cc. |
|
|
Position of the cluster. Implements EVENT::Cluster. Definition at line 41 of file ClusterImpl.cc. |
|
|
Covariance matrix of the position (6 Parameters) Implements EVENT::Cluster. Definition at line 42 of file ClusterImpl.cc. References EVENT::FloatVec. |
|
|
Shape parameters - check/set collection parameter ClusterShapeParameters for size and names of parameters. Implements EVENT::Cluster. Definition at line 46 of file ClusterImpl.cc. References EVENT::FloatVec. |
|
|
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. Implements EVENT::Cluster. Definition at line 59 of file ClusterImpl.cc. |
|
|
Flagword that defines the type of cluster. Bits 0-15 can be used to denote the subdetectors that have contributed hits to the cluster. The definition of the bits has to be done elsewhere, e.g. in the run header. Bits 16-31 are used internally. Implements EVENT::Cluster. Definition at line 33 of file ClusterImpl.cc. References _type. |
|
|
Returns an object id for internal (debugging) use in LCIO. Implements EVENT::LCObject. Definition at line 35 of file ClusterImpl.h. |
|
|||||||||
|
Returns the reference to the pointer to the extension/relation object Definition at line 508 of file LCRTRelations.h. |
|
|||||||||
|
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. Definition at line 444 of file LCRTRelations.h. |
|
|
Definition at line 96 of file ClusterImpl.cc. References _errdir, and IMPL::AccessChecked::checkAccess(). |
|
|
Definition at line 92 of file ClusterImpl.cc. References _errdir, and IMPL::AccessChecked::checkAccess(). Referenced by SIO::SIOClusterHandler::read(). |
|
|
Definition at line 68 of file ClusterImpl.cc. References _energy, and IMPL::AccessChecked::checkAccess(). |
|
|
Definition at line 88 of file ClusterImpl.cc. References _phi, and IMPL::AccessChecked::checkAccess(). |
|
|
Definition at line 84 of file ClusterImpl.cc. References _theta, and IMPL::AccessChecked::checkAccess(). |
|
|
Definition at line 72 of file ClusterImpl.cc. References _position, and IMPL::AccessChecked::checkAccess(). |
|
|
Definition at line 80 of file ClusterImpl.cc. References _errpos, and IMPL::AccessChecked::checkAccess(). |
|
|
Definition at line 76 of file ClusterImpl.cc. References _errpos, and IMPL::AccessChecked::checkAccess(). Referenced by SIO::SIOClusterHandler::read(). |
|
|
Reimplemented in IMPL::LCCollectionVec, and IMPL::LCRunHeaderImpl. Definition at line 14 of file AccessChecked.cc. References IMPL::AccessChecked::_readOnly. Referenced by IMPL::LCEventImpl::setAccessMode(), and IMPL::LCCollectionVec::setReadOnly(). |
|
|
Definition at line 104 of file ClusterImpl.cc. References _shape, and IMPL::AccessChecked::checkAccess(). |
|
|
Definition at line 64 of file ClusterImpl.cc. References _type, and IMPL::AccessChecked::checkAccess(). Referenced by SIO::SIOClusterHandler::read(). |
|
||||||||||||
|
Definition at line 143 of file ClusterImpl.cc. References _type, and IMPL::AccessChecked::checkAccess(). |
|
|
Definition at line 24 of file AccessChecked.h. |
|
|
To be used for modifying the subdetector energies, e.g. Definition at line 148 of file ClusterImpl.cc. References IMPL::AccessChecked::checkAccess(). |
|
|
Definition at line 152 of file ClusterImpl.h. Referenced by addCluster(), and SIO::SIOClusterHandler::read(). |
|
|
Definition at line 144 of file ClusterImpl.h. Referenced by SIO::SIOClusterHandler::read(), and setEnergy(). |
|
|
Definition at line 149 of file ClusterImpl.h. Referenced by ClusterImpl(), and setDirectionError(). |
|
|
Definition at line 146 of file ClusterImpl.h. Referenced by ClusterImpl(), and setPositionError(). |
|
|
Definition at line 153 of file ClusterImpl.h. Referenced by addHit(), and SIO::SIOClusterHandler::read(). |
|
|
Definition at line 34 of file AccessChecked.h. Referenced by IMPL::AccessChecked::AccessChecked(). |
|
|
Definition at line 148 of file ClusterImpl.h. Referenced by SIO::SIOClusterHandler::read(), and setIPhi(). |
|
|
Definition at line 151 of file ClusterImpl.h. Referenced by addParticleID(), and ~ClusterImpl(). |
|
|
Definition at line 145 of file ClusterImpl.h. Referenced by ClusterImpl(), SIO::SIOClusterHandler::read(), and setPosition(). |
|
|
Definition at line 33 of file AccessChecked.h. Referenced by IMPL::AccessChecked::setReadOnly(). |
|
|
Definition at line 150 of file ClusterImpl.h. Referenced by SIO::SIOClusterHandler::read(), and setShape(). |
|
|
Definition at line 155 of file ClusterImpl.h. Referenced by SIO::SIOClusterHandler::read(). |
|
|
Definition at line 147 of file ClusterImpl.h. Referenced by SIO::SIOClusterHandler::read(), and setITheta(). |
|
|
Definition at line 143 of file ClusterImpl.h. Referenced by getType(), setType(), and setTypeBit(). |
|
|
Definition at line 154 of file ClusterImpl.h. Referenced by addHit(), and SIO::SIOClusterHandler::read(). |
1.3.9.1