RDFAnalysis
0.1.1
Physics analysis with ROOT::RDataFrame
|
Base class for writing specific information from Nodes to file. More...
#include <INodeWriter.h>
Public Member Functions | |
virtual | ~INodeWriter () |
virtual void | write (Node< Detail > &node, TDirectory *directory, std::size_t depth)=0 |
Write the contents of node to directory. More... | |
virtual void | write (typename Scheduler< Detail >::Region ®ion, TDirectory *directory, std::size_t depth) |
Write the contents of a region to a directory. More... | |
Base class for writing specific information from Nodes to file.
Detail | The templated Detail type of the Node class to read from. |
This class provides for a uniform interface for objects that extract information from a given node to write to an output file. This allows detailed and flexible configuration of what is written to the output.
|
inlinevirtual |
|
pure virtual |
Write the contents of node to directory.
node | The node to write |
directory | The directory to write |
depth | How deep down the node structure we are. |
Implemented in CutflowWriter< Detail >, and TObjectWriter< Detail >.
|
inlinevirtual |
Write the contents of a region to a directory.
region | The region to write |
directory | The directory to write to |
depth | How deep down the node structure we are. |
This variant is largely there so that the TObjectWriter can pick up preselections correctly...
Reimplemented in TObjectWriter< Detail >.