HepMC3 event record library
|
Definition at line 28 of file PythiaValidationTool.h.
Public Member Functions | |
PythiaValidationTool (const std::string &filename) | |
const std::string | name () |
Get name of the tool. More... | |
const std::string | long_name () |
Get long name of the tool. More... | |
bool | tool_modifies_event () |
Get information if this tool modifies the event. More... | |
Timer * | timer () |
Get timer for this tool (if this tool is being timed) More... | |
void | initialize () |
Initialize. More... | |
int | process (GenEvent &hepmc) |
Process event. More... | |
void | finalize () |
Finalize. More... | |
Private Attributes | |
Pythia8::Pythia | m_pythia |
std::string | m_filename |
Timer | m_timer |
|
virtual |
|
virtual |
|
inlinevirtual |
Get long name of the tool.
Reimplemented from ValidationTool.
Definition at line 33 of file PythiaValidationTool.h.
References name().
|
inlinevirtual |
Get name of the tool.
Implements ValidationTool.
Definition at line 32 of file PythiaValidationTool.h.
|
virtual |
|
inlinevirtual |
Get timer for this tool (if this tool is being timed)
Note that normally the tool itself should not use the timer it provides However, if one want to exclude some part of initialization timer()->start() can be used to restart the timer per each event
Reimplemented from ValidationTool.
Definition at line 36 of file PythiaValidationTool.h.
|
inlinevirtual |
Get information if this tool modifies the event.
Tools that do not modify event will be ignored during event printing and momentum conservation checks
Implements ValidationTool.
Definition at line 35 of file PythiaValidationTool.h.