Diana Software
Public Member Functions | List of all members
MRootFileWriter Class Reference

Root File writer. More...

Inheritance diagram for MRootFileWriter:
QRootFileWriterBase

Public Member Functions

void Init (Diana::QEventInspector &evi)
 Initialization class called by the Sequence. More...
 
- Public Member Functions inherited from QRootFileWriterBase
 QRootFileWriterBase ()
 Default ctor. More...
 
virtual ~QRootFileWriterBase ()
 Defautl dtor (Calls Close()) More...
 
virtual void Open (const std::string &filename, const Diana::QEventInspector &evi)
 Open a file. More...
 
void Dump (const Diana::QEventInspector &evi)
 Write the event to the output tree. More...
 
void Done ()
 Done run at the end of the event loop. More...
 
void Close ()
 Close any open files. More...
 

Additional Inherited Members

- Protected Member Functions inherited from QRootFileWriterBase
void AppendToInput ()
 Append the output files to the input files. More...
 
virtual void AppendFileToFile (const char *fromFile, const char *toFile) const
 Merge an individual file into another. More...
 
- Protected Attributes inherited from QRootFileWriterBase
TFile * fRootOutput
 The current file being written. More...
 
QTreefTree
 The current tree being written. More...
 
QGlobalWriterfGlobalWriter
 The current global writer for the file. More...
 
QTFilePointer fRootOutputAddress
 Pointer to the output file. More...
 
bool fAppendToInput
 Flag to specify append to input. More...
 
bool fSkipGenerated
 Option to skip events that are generated by the reader. More...
 
std::map< std::string, std::string > fReaderWriterFiles
 Map of output files and the input files they are synced to. More...
 

Detailed Description

Root File writer.

Writes QTrees of QEvents in ROOT data files (see also relative reader MRootFileReader)

Author
Marco Vignati

Definition at line 52 of file MRootFileWriter.hh.

Member Function Documentation

◆ Init()

void MRootFileWriter::Init ( Diana::QEventInspector &  evi)

Initialization class called by the Sequence.

Reads the config parameters and tests that the writer won't do something illegal.

See also
QFileWriter::Init().

Definition at line 28 of file MRootFileWriter.cc.

References QFileWriter::Init().


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