RDFAnalysis  0.1.1
Physics analysis with ROOT::RDataFrame
TObjectWriter< Detail > Class Template Reference

Class to write out the TObjects from a Node. More...

#include <TObjectWriter.h>

Inheritance diagram for TObjectWriter< Detail >:
INodeWriter< Detail >

Public Member Functions

 ~TObjectWriter () override
 
 TObjectWriter (const std::string &subDirName="plots")
 Create the writer. More...
 
void write (Node< Detail > &node, TDirectory *directory, std::size_t) override
 Write the contents of node to directory. More...
 
void write (typename Scheduler< Detail >::Region &region, TDirectory *directory, std::size_t) override
 Write the contents of a region to a directory. More...
 
- Public Member Functions inherited from INodeWriter< Detail >
virtual ~INodeWriter ()
 

Detailed Description

template<typename Detail>
class RDFAnalysis::TObjectWriter< Detail >

Class to write out the TObjects from a Node.

Constructor & Destructor Documentation

~TObjectWriter ( )
inlineoverride
TObjectWriter ( const std::string &  subDirName = "plots")

Create the writer.

Parameters
subDirNameThe name of the directory to save the plots to. If the empty string is provided then the plots will not be saved to a subdirectory.

Member Function Documentation

void write ( Node< Detail > &  node,
TDirectory *  directory,
std::size_t   
)
overridevirtual

Write the contents of node to directory.

Parameters
nodeThe node to write
directoryThe directory to write

Implements INodeWriter< Detail >.

void write ( typename Scheduler< Detail >::Region &  region,
TDirectory *  directory,
std::size_t   
)
overridevirtual

Write the contents of a region to a directory.

Parameters
regionThe region to write
directoryThe directory to write to

Reimplemented from INodeWriter< Detail >.


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