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

Class to write cutflows from Nodes. More...

#include <CutflowWriter.h>

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

Public Member Functions

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

Detailed Description

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

Class to write cutflows from Nodes.

Constructor & Destructor Documentation

~CutflowWriter ( )
inlineoverride
CutflowWriter ( const std::string &  subDirName = "cutflows")

Create the writer.

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

Member Function Documentation

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

Write cutflows from node to directory.

Parameters
nodeThe node to write.
directoryThe directory to write to.
depthHow deep down the node structure we are.

Implements INodeWriter< Detail >.


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