HepMC3 event record library
|
Definition at line 25 of file ValidationTool.h.
Public Member Functions | |
virtual | ~ValidationTool () |
virtual bool | tool_modifies_event ()=0 |
Get information if this tool modifies the event. More... | |
virtual const std::string | name ()=0 |
Get name of the tool. More... | |
virtual void | initialize ()=0 |
Initialize. More... | |
virtual int | process (GenEvent &hepmc)=0 |
Process event. More... | |
virtual void | finalize ()=0 |
Finalize. More... | |
virtual const std::string | long_name () |
Get long name of the tool. More... | |
virtual class Timer * | timer () |
Get timer for this tool (if this tool is being timed) More... | |
|
inlinevirtual |
Virtual destructor
Definition at line 31 of file ValidationTool.h.
|
pure virtual |
Finalize.
Implemented in PythiaValidationTool, PhotosValidationTool, TauolaValidationTool, McTesterValidationTool, and SimpleEventTool.
|
pure virtual |
Initialize.
Implemented in PythiaValidationTool, PhotosValidationTool, TauolaValidationTool, McTesterValidationTool, and SimpleEventTool.
|
inlinevirtual |
Get long name of the tool.
Reimplemented in PythiaValidationTool.
Definition at line 56 of file ValidationTool.h.
|
pure virtual |
Get name of the tool.
Implemented in PythiaValidationTool, PhotosValidationTool, TauolaValidationTool, McTesterValidationTool, and SimpleEventTool.
|
pure virtual |
Process event.
Implemented in PythiaValidationTool, PhotosValidationTool, TauolaValidationTool, McTesterValidationTool, and SimpleEventTool.
|
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 in PythiaValidationTool, PhotosValidationTool, and TauolaValidationTool.
Definition at line 64 of file ValidationTool.h.
|
pure virtual |
Get information if this tool modifies the event.
Tools that do not modify event will be ignored during event printing and momentum conservation checks
Implemented in PythiaValidationTool, PhotosValidationTool, TauolaValidationTool, McTesterValidationTool, and SimpleEventTool.