Belle II Software development
|
Record the MVA variables. More...
Public Member Functions | |
Impl (const std::function< void(TTree &)> &setBranches, const std::string &rootFileName, const std::string &treeName="recorded_tree") | |
Constructor creating the TFile and TTree as well as setting up the branches with the given function. | |
~Impl () | |
Destructor finalising the tree. | |
void | write () |
Write all captured variables to disk. | |
void | capture () |
Capture the registered variable values and write them out. | |
Private Attributes | |
TFile * | m_tFile |
Reference to the open TFile. | |
StoreObjPtr< RootMergeable< TTree > > | m_tTree |
Reference to the TTree. | |
Record the MVA variables.
Definition at line 28 of file Recorder.cc.
Impl | ( | const std::function< void(TTree &)> & | setBranches, |
const std::string & | rootFileName, | ||
const std::string & | treeName = "recorded_tree" |
||
) |
Constructor creating the TFile and TTree as well as setting up the branches with the given function.
Definition at line 69 of file Recorder.cc.
~Impl | ( | ) |
Destructor finalising the tree.
Definition at line 94 of file Recorder.cc.
void capture | ( | ) |
Capture the registered variable values and write them out.
Definition at line 132 of file Recorder.cc.
void write | ( | ) |
Write all captured variables to disk.
Definition at line 106 of file Recorder.cc.
|
private |
Reference to the open TFile.
Definition at line 50 of file Recorder.cc.
|
private |
Reference to the TTree.
Definition at line 53 of file Recorder.cc.