![]() |
ATLAS Offline Software
|
#include <HepMcReaderTool.h>
Public Member Functions | |
HepMcReaderTool (const std::string &type, const std::string &name, const IInterface *parent) | |
Constructor with parameters: More... | |
virtual | ~HepMcReaderTool () |
Destructor: More... | |
StatusCode | initialize () |
Athena Algorithm's Hooks. More... | |
StatusCode | execute () |
StatusCode | finalize () |
StatusCode | read (HepMC::GenEvent *evt) |
Process the HepMC::GenEvent through the I/O frontend. More... | |
Protected Member Functions | |
HepMcReaderTool () | |
Default constructor: More... | |
void | setupFrontend (Gaudi::Details::PropertyBase &ioFrontendURL) |
Method to configure the front-end to read out the HepMC::GenEvent . More... | |
Protected Attributes | |
StringProperty | m_ioFrontendURL |
URL of the I/O front-end (only "ASCII" for now...) glued with the name of the input file name. More... | |
StringProperty | m_mcEventsOutputName |
Location of the McEventCollection to be read out. More... | |
HepMC::IO_BaseClass * | m_ioFrontend |
Abstract base class for the back-end. More... | |
Definition at line 30 of file HepMcReaderTool.h.
HepMcReaderTool::HepMcReaderTool | ( | const std::string & | type, |
const std::string & | name, | ||
const IInterface * | parent | ||
) |
Constructor with parameters:
Public methods:
Constructors
Definition at line 33 of file HepMcReaderTool.cxx.
|
virtual |
|
protected |
Default constructor:
StatusCode HepMcReaderTool::execute | ( | ) |
Definition at line 90 of file HepMcReaderTool.cxx.
StatusCode HepMcReaderTool::finalize | ( | ) |
Definition at line 84 of file HepMcReaderTool.cxx.
StatusCode HepMcReaderTool::initialize | ( | ) |
StatusCode HepMcReaderTool::read | ( | HepMC::GenEvent * | evt | ) |
Process the HepMC::GenEvent
through the I/O frontend.
Non-const methods:
Definition at line 113 of file HepMcReaderTool.cxx.
|
protected |
Method to configure the front-end to read out the HepMC::GenEvent
.
Definition at line 124 of file HepMcReaderTool.cxx.
|
protected |
Abstract base class for the back-end.
Definition at line 94 of file HepMcReaderTool.h.
|
protected |
URL of the I/O front-end (only "ASCII" for now...) glued with the name of the input file name.
Ex: "ascii:/home/foo/hepmc.txt" If no protocol separator ':' is found, fallback is "ASCII"
Definition at line 83 of file HepMcReaderTool.h.
|
protected |
Location of the McEventCollection
to be read out.
Definition at line 87 of file HepMcReaderTool.h.