10#include <tracking/trackFindingCDC/utilities/Named.h>
12#include <RtypesCore.h>
26 namespace TrackFindingCDC {
40 Recorder(
const std::function<
void(TTree&)>& setBranches,
41 const std::string& rootFileName,
42 const std::string& treeName =
"recorded_tree");
54 const std::string& rootFileName,
55 const std::string& treeName =
"recorded_tree");
A mixin class to attach a name to an object.
Record the MVA variables.
Class to fill a tree from a set of variables.
std::unique_ptr< Impl > m_impl
Pointer to implementation hiding the details.
void capture()
Capture the registered variable values and write them out.
void write()
Write all captured variables to disk.
~Recorder()
Destructor writing the TTree and closing the ROOT File.
Abstract base class for different kinds of events.