HepMC3 event record library
McTesterValidationTool.h
1 // -*- C++ -*-
2 //
3 // This file is part of HepMC
4 // Copyright (C) 2014-2019 The HepMC collaboration (see AUTHORS for details)
5 //
6 #ifndef MCTESTER_TOOL_H
7 #define MCTESTER_TOOL_H
8 
9 #ifdef HEPMC2
10 #include "HepMC/GenEvent.h"
11 #include "HepMCEvent.H"
12 #else
13 #include "HepMC3/GenEvent.h"
14 #include "HepMC3Event.h"
15 #endif // ifdef HEPMC2
16 
17 #include "ValidationTool.h"
18 
19 #include "Setup.H"
20 #include "Generate.h"
21 /// @class McTesterValidationTool
22 /// @brief Interface to MCTester
24 public:
25  const std::string name() { return "MC-TESTER"; }
26  bool tool_modifies_event() { return false; }
27 
28  void initialize();
29  int process(GenEvent &hepmc);
30  void finalize();
31 };
32 
33 #endif
Interface to MCTester.
Stores event-related information.
Definition: GenEvent.h:41
bool tool_modifies_event()
Get information if this tool modifies the event.
const std::string name()
Get name of the tool.
Virtual Interface to validation tools.
int process(GenEvent &hepmc)
Process event.
Definition of class GenEvent.
void initialize()
Initialize.