|
HepMC event record
|
Definition at line 9 of file WriterRootTreeOPAL.h.
Inheritance diagram for WriterRootTreeOPAL:
Collaboration diagram for WriterRootTreeOPAL:Public Member Functions | |
| WriterRootTreeOPAL (const std::string &filename, shared_ptr< GenRunInfo > run=shared_ptr< GenRunInfo >()) | |
| void | init_branches () |
| void | write_event (const GenEvent &evt) |
| Write event evt to output target. More... | |
| void | set_run_number (const int nr) |
| void | write_run_info () |
| Write the GenRunInfo object to file. More... | |
| void | close () |
| Close file stream. More... | |
| bool | failed () |
| Get stream error state flag. More... | |
| void | set_run_info (shared_ptr< GenRunInfo > run) |
| Set the global GenRunInfo object. More... | |
| void | set_run_info (shared_ptr< GenRunInfo > run) |
| Set the global GenRunInfo object. More... | |
| shared_ptr< GenRunInfo > | run_info () const |
| Get the global GenRunInfo object. More... | |
| shared_ptr< GenRunInfo > | run_info () const |
| Get the global GenRunInfo object. More... | |
Data Fields | |
| TTree * | m_tree |
| Tree handler. Public to allow simple access, e.g. custom branches. More... | |
Private Attributes | |
| Float_t | m_Ebeam |
| Int_t | m_Irun |
| Int_t | m_Ievnt |
|
virtualinherited |
Close file stream.
Implements Writer.
Definition at line 94 of file WriterRootTree.cc.
References WriterRootTree::m_file, and WriterRootTree::m_tree.
|
virtualinherited |
Get stream error state flag.
Implements Writer.
Definition at line 101 of file WriterRootTree.cc.
References WriterRootTree::m_file.
|
inlineinherited |
Get the global GenRunInfo object.
Definition at line 42 of file build/outputs/include/HepMC/Writer.h.
References Writer::m_run_info.
|
inlineinherited |
Get the global GenRunInfo object.
Definition at line 42 of file include/HepMC/Writer.h.
References Writer::m_run_info.
|
inlineinherited |
Set the global GenRunInfo object.
Definition at line 37 of file include/HepMC/Writer.h.
References Writer::m_run_info.
|
inlineinherited |
Set the global GenRunInfo object.
Definition at line 37 of file build/outputs/include/HepMC/Writer.h.
References Writer::m_run_info.
|
virtual |
Write event evt to output target.
Implements Writer.
Definition at line 13 of file WriterRootTreeOPAL.cc.
References GenEvent::event_number(), GenEvent::particles(), and WriterRootTree::write_event().
|
inherited |
Write the GenRunInfo object to file.
Definition at line 79 of file WriterRootTree.cc.
References WriterRootTree::m_file, and Writer::run_info().
|
inherited |
Tree handler. Public to allow simple access, e.g. custom branches.
Definition at line 76 of file WriterRootTree.h.
1.8.14