Project
Loading...
Searching...
No Matches
o2::mergers::MergeInterface Class Referenceabstract

An interface which allows to merge custom objects. More...

#include <MergeInterface.h>

Inherited by o2::mergers::CustomMergeableObject, and o2::mergers::CustomMergeableTObject.

Public Member Functions

virtual ~MergeInterface ()=default
 
virtual void merge (MergeInterface *const other)=0
 Custom merge method.
 
virtual void postDeserialization ()
 Lets the child perform any routines after the object was deserialized (e.g. setting the correct ownership)
 
virtual MergeInterfacecloneMovingWindow () const
 Should return an object subset which is supposed to take part in generating moving windows.
 
 ClassDef (MergeInterface, 1)
 

Detailed Description

An interface which allows to merge custom objects.

An interface which allows to merge custom objects. The custom class can inherit from TObject, but this is not an obligation.

Definition at line 29 of file MergeInterface.h.

Constructor & Destructor Documentation

◆ ~MergeInterface()

virtual o2::mergers::MergeInterface::~MergeInterface ( )
virtualdefault

Member Function Documentation

◆ ClassDef()

o2::mergers::MergeInterface::ClassDef ( MergeInterface  ,
 
)

◆ cloneMovingWindow()

virtual MergeInterface * o2::mergers::MergeInterface::cloneMovingWindow ( ) const
inlinevirtual

Should return an object subset which is supposed to take part in generating moving windows.

Reimplemented in o2::mergers::CustomMergeableObject, and o2::mergers::CustomMergeableTObject.

Definition at line 43 of file MergeInterface.h.

◆ merge()

virtual void o2::mergers::MergeInterface::merge ( MergeInterface *const  other)
pure virtual

◆ postDeserialization()

virtual void o2::mergers::MergeInterface::postDeserialization ( )
inlinevirtual

Lets the child perform any routines after the object was deserialized (e.g. setting the correct ownership)

Definition at line 40 of file MergeInterface.h.


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