LCIO
02.17
|
The generic object that is held in an LCCollection. More...
#include <LCObject.h>
Public Member Functions | |
virtual | ~LCObject () |
Destructor. More... | |
virtual int | id () const =0 |
Returns an object id for internal (debugging) use in LCIO. More... | |
virtual LCObject * | clone () const |
Returns an object id for internal (debugging) use in LCIO. More... | |
![]() | |
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... | |
Additional Inherited Members | |
![]() | |
typedef std::type_index | ext_index |
typedef std::shared_ptr< void > | ext_type |
typedef std::map< ext_index, ext_type > | ext_map |
The generic object that is held in an LCCollection.
Every object stored in an LCCollection, i.e. in an LCEvent has to implement this interface.
Definition at line 30 of file LCObject.h.
|
inlinevirtual |
Destructor.
Definition at line 34 of file LCObject.h.
|
inlinevirtual |
Returns an object id for internal (debugging) use in LCIO.
Deep copy of the object. C++ implementations should return the concrete type (virtual constructor). No reasonable implementation yet. Do not use this method.
Definition at line 52 of file LCObject.h.
|
pure virtual |
Returns an object id for internal (debugging) use in LCIO.
Implemented in UTIL::LCFixedObject< NINT, NFLOAT, NDOUBLE >, UTIL::LCFixedObject< int(ESI::SIZE), int(ESF::SIZE), int(ESD::SIZE)>, EVENT::LCGenericObject, IMPL::SimCalorimeterHitImpl, IMPL::TrackImpl, IMPL::TrackStateImpl, IMPL::VertexImpl, IMPL::ParticleIDImpl, IMPL::ReconstructedParticleImpl, IMPL::LCRelationImpl, IMPL::SimTrackerHitImpl, IMPL::MCParticleImpl, IMPL::ClusterImpl, EVENT::LCFloatVec, IMPL::TrackerPulseImpl, EVENT::LCIntVec, EVENT::LCStrVec, IMPL::CalorimeterHitImpl, IMPL::LCGenericObjectImpl, IMPL::TPCHitImpl, IMPL::TrackerHitImpl, IMPL::TrackerHitPlaneImpl, IMPL::TrackerHitZCylinderImpl, IMPL::RawCalorimeterHitImpl, IMPL::LCRunHeaderImpl, IMPL::TrackerDataImpl, and IMPL::TrackerRawDataImpl.
Referenced by UTIL::operator<<(), UTIL::LCTOOLS::printClusters(), UTIL::LCTOOLS::printMCParticles(), UTIL::LCTOOLS::printReconstructedParticles(), and UTIL::LCTOOLS::printTPCHits().