LCIO  02.17
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Friends | List of all members
IOIMPL::ClusterIOImpl Class Reference

Adding stuff needed for io (friend declarations, etc.) More...

#include <ClusterIOImpl.h>

+ Inheritance diagram for IOIMPL::ClusterIOImpl:

Friends

class SIO::SIOClusterHandler
 

Additional Inherited Members

- Public Types inherited from EVENT::Cluster
typedef Cluster lcobject_type
 Useful typedef for template programming with LCIO. More...
 
- Public Types inherited from lcrtrel::LCRTRelations
typedef std::type_index ext_index
 
typedef std::shared_ptr< void > ext_type
 
typedef std::map< ext_index,
ext_type
ext_map
 
- Public Member Functions inherited from IMPL::ClusterImpl
 ClusterImpl ()
 Default constructor, initializes values to 0. More...
 
virtual ~ClusterImpl ()
 Destructor. More...
 
virtual int id () const
 Returns an object id for internal (debugging) use in LCIO. More...
 
virtual int getType () const
 Flagword that defines the type of cluster. More...
 
virtual float getEnergy () const
 Energy of the cluster. More...
 
virtual float getEnergyError () const
 Returns the error on the energy of the cluster. More...
 
virtual const float * getPosition () const
 Position of the cluster. More...
 
virtual const EVENT::FloatVecgetPositionError () const
 Covariance matrix of the position (6 Parameters) More...
 
virtual float getITheta () const
 Intrinsic direction of cluster at position: Theta. More...
 
virtual float getIPhi () const
 Intrinsic direction of cluster at position: Phi. More...
 
virtual const EVENT::FloatVecgetDirectionError () const
 Covariance matrix of the direction (3 Parameters) More...
 
virtual const EVENT::FloatVecgetShape () const
 Shape parameters - check/set collection parameter ClusterShapeParameters for size and names of parameters. More...
 
virtual const
EVENT::ParticleIDVec
getParticleIDs () const
 Type hypotheses: 3 Parameters: compatible with EM, HAD, muon cluster. More...
 
virtual const EVENT::ClusterVecgetClusters () const
 The clusters that have been combined to this cluster. More...
 
virtual const
EVENT::CalorimeterHitVec
getCalorimeterHits () const
 The hits that have been combined to this cluster. More...
 
virtual const EVENT::FloatVecgetHitContributions () const
 Returns the energy contribution of the hits Runs parallel to the CalorimeterHitVec from getCalorimeterHits() More...
 
virtual const EVENT::FloatVecgetSubdetectorEnergies () const
 A vector that holds the energy observed in a particular subdetectors. More...
 
void setTypeBit (int index, bool val=true)
 
void setEnergy (float energy)
 
void setEnergyError (float energyError)
 
void setPosition (const 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::FloatVecsubdetectorEnergies ()
 To be used for modifying the subdetector energies, e.g. More...
 
- Public Member Functions inherited from EVENT::Cluster
virtual ~Cluster ()
 Destructor. More...
 
- Public Member Functions inherited from EVENT::LCObject
virtual ~LCObject ()
 Destructor. More...
 
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,... More...
 
template<class V >
const V::ext_type ext () const
 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,... More...
 
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. More...
 
- Public Member Functions inherited from IMPL::AccessChecked
 AccessChecked ()
 
virtual ~AccessChecked ()
 
virtual int simpleUID () const
 
- Protected Member Functions inherited from IMPL::ClusterImpl
void setType (int type)
 
- Protected Member Functions inherited from IMPL::AccessChecked
virtual void setReadOnly (bool readOnly)
 
void checkAccess ()
 
void checkAccess (const char *what)
 
- Protected Attributes inherited from IMPL::ClusterImpl
std::bitset< 32 > _type {0}
 
float _energy {0}
 
float _energyError {0}
 
float _position [3] ={0,0,0}
 
EVENT::FloatVec _errpos
 
float _theta {0}
 
float _phi {0}
 
EVENT::FloatVec _errdir
 
EVENT::FloatVec _shape {}
 
EVENT::ParticleIDVec _pid {}
 
EVENT::ClusterVec _clusters {}
 
EVENT::CalorimeterHitVec _hits {}
 
EVENT::FloatVec _weights {}
 
EVENT::FloatVec _subdetectorEnergies {}
 
- Protected Attributes inherited from IMPL::AccessChecked
bool _readOnly {false}
 
int _id {-1}
 
- Static Protected Attributes inherited from IMPL::AccessChecked
static std::atomic_int _lCObjectId
 

Detailed Description

Adding stuff needed for io (friend declarations, etc.)

Author
gaede
Version
Mar 15, 2004

Definition at line 20 of file ClusterIOImpl.h.

Friends And Related Function Documentation

friend class SIO::SIOClusterHandler
friend

Definition at line 22 of file ClusterIOImpl.h.


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