EventAnalysis
1.0.0
|
Base struct for Root output. More...
#include <RootOutputStruct.h>
Public Member Functions | |
virtual | ~RootOutputStruct () |
virtual const char * | GetDescriptor ()=0 |
Getter method for the leaf list descriptor. More... | |
RootOutputStruct * | GetAddress () |
The actual data member address. More... | |
Base struct for Root output.
In order to create an output branch with a leaf list using RootPersistenceService it is necessary that the booked struct inherits from RootOutputStruct. This base struct defines the interface that the Root persistence service will use to retrieve the leaf list. Concrete implementations can have any member field, and must implement GetDescriptor properly in order to conform to the members list.
|
inlinevirtual |
|
inline |
The actual data member address.
This method returns the address of the first data member of children classes. It works by adding to the base address of the object the offset due to the pointer to the vtable (works with compilers implementing the Itanium C++ ABI, e.g. gcc and clang).
|
pure virtual |
Getter method for the leaf list descriptor.
Concrete implementations must conform with the actual set of members of the concrete struct. The returned string will be used as argument of TTree::Branch; for the format of the returned string please refer to the Root documentation of TTree.