The generic object that is held in an LCCollection. More...
#include <pre-generated/EVENT/LCObject.h>
Public Member Functions | |
virtual | ~LCObject () |
Destructor. | |
virtual int | id () const =0 |
Returns an object id for internal (debugging) use in LCIO. | |
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,... | |
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 | |
![]() | |
template<class V > | |
V::ptr & | ptr () const |
Returns the reference to the pointer to the extension/relation object. | |
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.
|
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.