![]() |
ATLAS Offline Software
|
#include <HepMcFloatWriterTool.h>
Public Member Functions | |
| HepMcFloatWriterTool (const std::string &type, const std::string &name, const IInterface *parent) | |
| Constructor with parameters: | |
| virtual | ~HepMcFloatWriterTool () |
| Destructor: | |
| StatusCode | initialize () |
| Athena Algorithm's Hooks. | |
| StatusCode | execute () |
| StatusCode | finalize () |
| StatusCode | write (const HepMC::GenEvent *evt) |
Process the HepMC::GenEvent through the I/O backend. | |
Protected Member Functions | |
| HepMcFloatWriterTool () | |
| Default constructor: | |
| void | setupBackend (Gaudi::Details::PropertyBase &ioBackendURL) |
Method to configure the back-end to write out the HepMC::GenEvent. | |
Protected Attributes | |
| StringProperty | m_ioBackendURL |
| URL of the I/O back-end (only "ASCII" for now...) glued with the name of the output file name. | |
| StringProperty | m_mcEventsName |
Location of the McEventCollection to be written out If there is more than 1 HepMC::GenEvent in the McEventCollection we will send warning messages, and just write the first one. | |
| std::ostream * | m_ioBackend |
| Abstract base class for the back-end. | |
Definition at line 26 of file HepMcFloatWriterTool.h.
| HepMcFloatWriterTool::HepMcFloatWriterTool | ( | const std::string & | type, |
| const std::string & | name, | ||
| const IInterface * | parent ) |
Constructor with parameters:
Constructors.
Definition at line 33 of file HepMcFloatWriterTool.cxx.
|
virtual |
|
protected |
Default constructor:
| StatusCode HepMcFloatWriterTool::execute | ( | ) |
Definition at line 96 of file HepMcFloatWriterTool.cxx.
| StatusCode HepMcFloatWriterTool::finalize | ( | ) |
Definition at line 90 of file HepMcFloatWriterTool.cxx.
| StatusCode HepMcFloatWriterTool::initialize | ( | ) |
Athena Algorithm's Hooks.
Definition at line 68 of file HepMcFloatWriterTool.cxx.
|
protected |
Method to configure the back-end to write out the HepMC::GenEvent.
Non-const methods:
Definition at line 257 of file HepMcFloatWriterTool.cxx.
| StatusCode HepMcFloatWriterTool::write | ( | const HepMC::GenEvent * | evt | ) |
Process the HepMC::GenEvent through the I/O backend.
Non-const methods:
Definition at line 123 of file HepMcFloatWriterTool.cxx.
|
protected |
Abstract base class for the back-end.
Definition at line 87 of file HepMcFloatWriterTool.h.
|
protected |
URL of the I/O back-end (only "ASCII" for now...) glued with the name of the output file name.
Ex: "ascii:/home/foo/hepmc.txt" If no protocol separator ':' is found, fallback is "ASCII"
Definition at line 77 of file HepMcFloatWriterTool.h.
|
protected |
Location of the McEventCollection to be written out If there is more than 1 HepMC::GenEvent in the McEventCollection we will send warning messages, and just write the first one.
Definition at line 83 of file HepMcFloatWriterTool.h.