![]() |
Diana Software
|
Root File writer. More...
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... | |
| QTree * | fTree |
| The current tree being written. More... | |
| QGlobalWriter * | fGlobalWriter |
| 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... | |
Root File writer.
Writes QTrees of QEvents in ROOT data files (see also relative reader MRootFileReader)
writer RootFileWriter
verbosity = info
enable = true
OutputDir = .
OutputFilePrefix = QRFWriter
OutputFilesList = QRFWriter.list
AliasFileName = ${DIANA_INSTALL}/cfg/aliases.txt
endmod
Definition at line 52 of file MRootFileWriter.hh.
| 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.
Definition at line 28 of file MRootFileWriter.cc.
References QFileWriter::Init().