![]() |
The Gaudi Framework
master (69a68366)
|
Small class wrapping an algorithm and adding management of a Root File via the FileSvc. More...
#include </builds/gaudi/Gaudi/GaudiUtils/include/Gaudi/NTuple/Writer.h>


Public Member Functions | |
| TFile * | file () |
| virtual StatusCode | initialize () override |
Private Attributes | |
| Gaudi::Property< std::string > | m_fileId { this, "OutputFile", "NTuple", "Identifier for the TFile to write to." } |
| ServiceHandle< Gaudi::Interfaces::IFileSvc > | m_fileSvc { this, "FileSvc", "FileSvc" } |
| std::shared_ptr< TFile > | m_file = nullptr |
Small class wrapping an algorithm and adding management of a Root File via the FileSvc.
The file to be used is identified via Property OutputFile Can typically be used in conjunction with Wrapper to add support for NTuples in a given algorithm For simple cases (single NTuple), prefer to inherit directly from SimpleWriter or Writer (in case a single entry per event is required)
|
inline |
|
inlineoverridevirtual |
Reimplemented in Gaudi::NTuple::SimpleWriter< std::tuple< OUTPUTs... >(const INPUTs &...), Traits_ >.
Definition at line 107 of file Writer.h.
|
private |
|
private |
|
private |