6 #ifndef VALIDATION_TOOL_H
7 #define VALIDATION_TOOL_H
12 #define HEPMC2CODE( x ) x
13 #define HEPMC3CODE( x )
14 using namespace HepMC;
19 #define HEPMC2CODE( x )
20 #define HEPMC3CODE( x ) x
21 using namespace HepMC3;
23 #endif // ifdef HEPMC2
42 virtual bool tool_modifies_event() = 0;
45 virtual const std::string name() = 0;
47 virtual void initialize() = 0;
48 virtual int process(
GenEvent &hepmc) = 0;
49 virtual void finalize() = 0;
56 virtual const std::string
long_name() {
return name(); }
Stores event-related information.